I have a requirement to send information about individual Purchase Order line items out of SAP. This is a sales interface that mixes Sales Orders and Purchase Orders, considering each line item (VBAP, EKPO) a unique order.
In Sales Orders, NAST bas...
I need help with a simple transformation from internal table data to XML. I can do it in two stages, as shown below. I do not know how to do this in the transformation in one step:
TYPES:
BEGIN OF zxml_lot_t,
tag TYPE c,
n TYPE c,
m...
In oss note 1969700 I see a reference to an "analysis command" named HANA_SQL_ExecutionWithHints_CommandGenerator that is supposed to run multiple SQL execution plans and give advice on any "@Consumption.dbHints:[]" tags that can be added to improve ...
I am trying to change the Customer Sales Block field (AUFSD) of an existing customer using the recommended function module CVI_EI_INBOUND_MAIN (See OSS note 2650140). My system is S/4 HANA 1909.
Running the code below, I get no validation nor proce...
I would like to reference the source Purchase Order in a new Purchase Order created by adoption.
Sequence of steps:
1) In ME21N, I activate [Document Overview On]
2) run the selection for Purchase Orders.
3) Select the line items I want in t...
The warning in note 1795864 is interesting. It might be safer to make a class implementing aCALL TRANSACTION 'VA02' USING lt_bdcdataapproach to attach the serial numbers. You would then expect the serial assignments to be reversed when the Sales Orde...
When calling function module VERKBELEG_WRITE_DOCUMENT, it is not enough to set update parameter upd_vbap. You must also supply the old and new values of the VBAP structure in table parameters yvbap and xvbap.
Very interesting. Thank you for sharing.
We enhanced our system to restore SAPscript printing after SAP removed this feature in HANA 1909. I will take a detailed look at your idea, it may be a better long term solution.
Our solution was to r...
Yes, EXPORT to MEMORY ID is one option. You may also use open sql command MODIFY after order creation for CI_AUFK fields. If you use change tracking for these custom fields, call Function Module ORDER_WRITE_DOCUMENT after your updates.
It looks like BAPI_ALM_ORDER_MAINTAIN can only be used with maintenance orders (autyp=30).Take a look at this question & answer:https://answers.sap.com/questions/12536601/update-custom-fields-in-aufk-at-the-time-of-releas.htmlUse this user exit to up...