Functionality You can use this method to create customer inquiries. You have to enter at least the header data (using the ORDER_HEADER_INstructure) as well as partner data (using the ORDER_PARTNERS table) asthe input parameters. Enter the item data using table ORDER_ITEMS_IN. You can enter the itemnumber manually by filling in the relevant field or, if you leave thefield blank, it will be filled in automatically according to thesettings in Customizing. If the items are configurable, you have to enter the configuration datain the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF andORDER_CFGS_VALUE tables. Once you have successfully completed the customer inquiry, the systemissues you with the document number (SALESDOCUMENT field) and detaileddata about the participating partners (in the SOLD_TO_PARTY,SHIP_TO_PARTY and BILLING_PARTY fields). If there are any errors, thesystem displays them in the RETURN parameter. Description This parameter contains data about the payer. Description In this structure the return code for the function module is displayed. Structure> TYPE Message type: S Success, E Error, W Warning, I Information CODE Message code MESSAGE Message text LOG_NO Application log: Log number LOG_MSG_NO Application log: running message numberValue range If there are no errors, the return parameter is blank. Otherwise the appropriate error message appears with a short text. Description The parameter displays the inquiry number generated from the BAPI. Description This parameter contains data for the ship-to party. Description This parameter contains data for the sold-to party. INCLUDE SD_BAPI_CONVERT_PARVW_AUART OBJECT DOKU ID TX Description This parameter contains the header data for the inquiry. INCLUDE SD_BAPI_WITHOUT_COMMIT OBJECT DOKU ID TX Description Configuration: Instances Description Configuration: Reference data Description This parameter contains the item entry data for the inquiry. Description This parameter contains the item entry data for the inquiry. Description Partners, such as sold-to and ship-to parties are entered in thistable. |