cancel
Showing results for 
Search instead for 
Did you mean: 

Update of Unloading point in sale order Header level

former_member625937
Participant
0 Kudos

Hi Team,

I am trying to update the unload point on header level Sale order via bapi BAPI_SALESORDER_CHANGE , can i know how to achieve the same.

I have used the BAPI inside the custom program .

Can i know, is there explicit values i need to pass for unload point.

Regards,

KArthik S

FredericGirod
Active Contributor
0 Kudos

Did you find this field in VBAK table ?

former_member625937
Participant
0 Kudos

Thanks for the reply.

I have tried BAPI_SALEORDER_CHANGE with below parameters, Is there an alternate option available to achive in updating the header level unload point in sale order.

CALL FUNCTION 'BAPI_SALESORDER_CHANGE'

EXPORTING
salesdocument = l_vbeln
order_header_in = lwa_temp_header
order_header_inx = lwa_temp_headerx
TABLES
return = lt_return
partnerchanges = lt_itm_partner.

where lt_itm_partner holds the header level unload point , still it doesnot update in header level.

Regards,

Karthik S

former_member625937
Participant
0 Kudos

Hi frederic,

Its not there in the vbak structure.

I have seen this note as well...

587172 - BAPI: Change of the Unloading Pnt & the VAT Reg. nbr

this concept of adding an append structure is allready there in place.

But, in my scenario...need to update the header unload point from the custom program where allready bapi 'bapi_saleorder_change is used.

Can i know, how to achieve it.

Regards,

Karthik s

FredericGirod
Active Contributor
0 Kudos

So, if you have added an field at the header level, you will need to use the EXTENSIONIN EXTENSIONEX tables to populate this field

former_member625937
Participant
0 Kudos

Hi frederic,

Thanks for the suggestion.

I have an idoc scenario where sale order gets created...debugged it,,,as BDC involved there...it updates the header UP .

Can i know sample code to achive via EXTENSIONIN, hope i need to fill via BAPI_SALESORDER_CHANGE right ?

Regards,

Karthik S

Accepted Solutions (0)

Answers (0)