Dear Experts,
I am using BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create a new Sales Order. I can actually create the sales order with all other fields right except for the HOUSE NUMBER in the SHIP-TO PARTY.
For the BAPI_SALESORDER_CREATEFROMDAT2, I have include the table ORDER_PARTNERS with structure BAPIPARNR. But when I check in the structure BAPIPARNR, there is only the field STREET (char 35) but no individual field for HOUSE NUMBER. May I ask how can I insert the HOUSE NUMBER to the Sales Order?
Points will be rewarded for helpful answers.
Thanks in Advance.
Hi,
generally the ship-to-party and sold-to-party should be declared in kna1, and all the information regerding the ship-to-party will be available in that table , so i guess we need to give the number remaining everything it get it from the table.
plzz reward points if it helps.
Use the structure 'PARTNERADDRESSES'.
You can enter document addresses in this entry table.
If the table is used to enter document addresses for a sales and distribution document, the address data is then not necessary in the document partner table BAPIPARNR / BAPIPARTNR ).
Furthermore, a link must be defined between the document partner and the address, using an address link; the field ADDR_LINK is available for this in the partner table, and the field ADDR_NO in the address table.
See also OSS note 195768
Add a comment