Application Development 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: 

BAPI_SALESORDER_SIMULATE

Former Member
0 Kudos

Hello Colleques !

I develope in moment a function module for Web-Service, which get a table of catalog numbers and has to simulate an SD Offer.

I get the item netvalue and the item conditions, but i also need the document netvalue or the header conditions.

Can somebody help me ?

Regards

S0008354896

3 REPLIES 3

former_member212713
Contributor
0 Kudos

Hi Lutz;

Did you examine BAPI_SALESORDER_GETLIST FM?

Best regards.

paul_quinn
Participant
0 Kudos

Hi Dittmer,

Are you filling in your qty in ORDER_SCHEDULE_IN-REQ_QTY,

if you aren't, please test this

kind regards

Paul Quinn

Former Member
0 Kudos

Dear Coleques

I founjd a solutione !

At "Userexit_check_vbak" i save the header netvalue and Currency in VBFS which will be automatic sent to the BAPIRET2 table at the BAPI.


If not vbak-netwr eq 0.
   perform message_vbfs_aufbauen(SAPFV45L) using space
                                                                                space
                                                                                space
                                                                                'NETWR'
                                                                                vbak-netwr
                                                                                vbak-.waerk
                                                                                space.
endif,

Please also dont forget:


 Include VBFSDATA. 

in your program.

Regards

Lutz Dittmer

Edited by: Lutz Dittmer on Aug 5, 2011 9:34 AM