![]() ![]() TYPE STANDARD TABLE OF bapischdl WITH HEADER LINE.ĭATA: order_partners TYPE STANDARD TABLE OF bapiparnr WITH HEADER LINE.ĭATA: return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.ĭata: itemx like bapisditmx occurs 10 with header line. *&-*ĭATA: order_header_in LIKE standard table of bapisdhd1 with header line.ĭATA: order_items_in TYPE STANDARD TABLE OF bapisditm WITH HEADER LINE. ![]() On function module SE37, click menu Function Module > Test > Test sequence, input BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_TRANSACTION_COMMIT, then run.Įxample of abap program testing the function: Sequence test on creating sales order and commit transaction: To handle this, we need to commit the transaction by running BAPI_TRANSACTION_COMMIT. But when I try to display the SO via VA03, error ‘SD document xxx is not in the database or has been archived’ displayed.įunction test displaying sales order successfully created. Test using the function is ok (sales document number diplayed). Im using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order. User will input material that will be sold, do some level approval and create sales order in SAP. Im on the way creating waste selling on intranet.
0 Comments
Leave a Reply. |