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: 

Sales Order number

Former Member
0 Kudos

Hi ppl,

I have the production Order number.

I need to retrieve the Sales Order number pertaining to this.

How to get the Sales Doc number?

Please help.

Thanks.

7 REPLIES 7

former_member262988
Active Contributor
0 Kudos

hi,

use the goods movement for order table AUFM

you will find

Former Member
0 Kudos

Hi David,

Check the following tables,that will help you.

VBAK - Sales Document: Header Data

VBAP - Sales Document: Item Data

Hope it is helps.

Regards,

T.Durai murugan.

former_member188685
Active Contributor
0 Kudos

Go to Table CAUFV(it is View)

in this table you can KDAUF and KDPOS are the Two fields related to Sales order and Item.

Former Member
0 Kudos

hi

In the Table AFPO, the Field KDAUF contains the Sales Document Number and KDPOS the Line Item Number. If you are looking for a Transaction to Enter the Sales Document Number at, use TCode CO26.

Regards

Mohammed

former_member181995
Active Contributor
0 Kudos

david,

AFKO-RMANR either AFPO-KDAUF

Amit.

Former Member
0 Kudos

hi,

I am looking for the one maintained in tcode CO03.

Thanks.

0 Kudos

David,

try with AUFK-KDAUF also.

Amit.