cancel
Showing results for 
Search instead for 
Did you mean: 

Modify address partner in sales order

snoozed20
Discoverer
0 Kudos
155

Good morning Experts I am trying to make a change for the partners at header level and for this I am trying to use the BAPI_SALESORDER_CHANGE and SD_SALESDOCUMENT_CHANGE but I can't make the change for the Transport Zone. I don't know what I am doing wrong. Here are some screenshots.

snoozed20_0-1723539864001.png

snoozed20_1-1723539982918.png

Thank you for your help

 

 

raymond_giuseppi
Active Contributor

How did you fill PARTNERS* (PARTNERS/PARTNERADDRESSES-TRANSPZONE) parameters

Accepted Solutions (0)

Answers (2)

Answers (2)

snoozed20
Discoverer
0 Kudos

Thank you very much for your answer Raymond_giuseppi

I think the problem comes from what you say in principle did not fill it because I did not see that there is also a field LZONE the case is that I have filled it and now if you try to update it and I see that it goes through SD_PARTNER_UPDATE, but it is doing it with UPDZ = I, I think there must be some flag to change it and put it to U instead of I.

snoozed20_0-1723543879943.png

SD_PARTNER_UPDATE

 

snoozed20_2-1723543955836.png

snoozed20_3-1723543997651.png

Because with I it is trying to insert and it gives DUMP and I want to update. I think there must be some flag to change it and put it to U instead of I.

Thank you very much

 

 

DominikTylczyn
Active Contributor
0 Kudos

Hello @snoozed20 

The notes:

provide hints on how to deal with addresses in SD BAPIs.

The main point is that BAPIPARNRC-ADDR_LINK needs to be provided and the address needs to be specified in full.

Best regards

Dominik Tylczynski