Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Help needed to understand code

sanjay_deshpande4
Participant
0 Likes
697

Hi ALl,

I have come across following code .

I am not seeing any field being modified after reading using 'SD_SALES_DOCUMENT_READ'.

Can anybody exaplain me what is the role of 'SD_SALES_DOCUMENT_SAVE' then?

No parameters being passed to this function module either.

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
592

You didn't explore the


PERFORM kundenpreis_freigeben(sapfv45p) USING t_vbap_aux-posnr.

(Enable custom price?)

Regards,

Raymond

Read only

pranay570708
Active Contributor
0 Likes
592

SD_SALES_DOCUMENT_SAVE - create Sales doc from the copied document. FM 'SD_SALES_DOCUMENT_READ' will provide the reference doc.