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

Regarding Order status

Former Member
0 Likes
560

Hi All,

SAP would get a request for the selected ship to order number for which the order status needs to be fetched. The status of the order would have information related to general data, invoice data, shipment data, payment information etc.

Is there any straight-forward FM or BAPI that would prove to be useful in such scenarios or if not, what would the right way to achieve this requirement.

The status response would have the fields listed below.

Request

order_no 9715171

Response From SAP

order_no 9715171

status Complete

date 20060717

cusno 1642502

location 10

invoice_date 20060720

invoice_no 9626913

ship_method Warm Weather Ship

tracking_no 9725444444456358

payment_type CC

pay_method Credit Card

pay_date 20060719

status Deposited

pay_invoice 0

docno 343434343434343

doc_exp_mmyy 1109

auth_reason 100

auth_code tst%53

auth_date 20060719

dep_reason 100

deposit_date 20060719

amount 64.85

Thanks in advance.

Rajesh

Hi All,

SAP would get a request for the selected ship to order number for which the order status needs to be fetched. The status of the order would have information related to general data, invoice data, shipment data, payment information etc.

Is there any straight-forward FM or BAPI that would prove to be useful in such scenarios or if not, what would the right way to achieve this requirement.

The status response would have the fields listed below.

Request

order_no 9715171

Response From SAP

order_no 9715171

status Complete

date 20060717

cusno 1642502

location 10

invoice_date 20060720

invoice_no 9626913

ship_method Warm Weather Ship

tracking_no 9725444444456358

payment_type CC

pay_method Credit Card

pay_date 20060719

status Deposited

pay_invoice 0

docno 343434343434343

doc_exp_mmyy 1109

auth_reason 100

auth_code tst%53

auth_date 20060719

dep_reason 100

deposit_date 20060719

amount 64.85

Thanks in advance.

Rajesh

3 REPLIES 3
Read only

Former Member
0 Likes
527

try to make use of table VBUK/P.

or check

BAPI_SALESORDER_GETSTATUS

Regards

prabhu

Read only

0 Likes
527

The BAPI_SALESORDER_GETSTATUS gives general data whereas the list of fields required is different.

Read only

0 Likes
527

I dont think there is any standard function available which suits your requirement.

You will have to create a custom function.

-Kiran