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

Payment Terms in Simulate BAPI

Former Member
835

Hello Experts

I'm new to SDN and I don't know if this is the correct place for my question. But please try to help me out.

We have a .Net application where we call BAPI_SALESORDER_SIMULATE and it does work great. It default the payment terms to configured values in case user does not send in payment term code which is great too. My only problem that the bapi does not return the payment term code used. I need to display the payment term code/description used, how could I acheive it? Your help will be very much appreciated!

3 REPLIES 3
Read only

former_member182371
Active Contributor
0 Likes
642

Hi,

as a suggestion, once the sales order is created (and thus knowing the sales order number) why don´t you try to read it with another bapi like BAPI_SALESORDER_GET.

in this way you could retrieve the payment term.

Best regards.

Read only

0 Likes
642

thank you for the suggestion Pablo, but my sales order is still not created it is only simulated at the time I need the Payment term code and description. Any other ideas please?

thanks!

Read only

0 Likes
642

when i type BAPI_SALESORDER_GET i get a message that it doesn't exist. Could you plz tell why?