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 COSB-OBJNR

Former Member
0 Likes
1,114

hi,

in cosb table iam giving objnr as order number but some times it does not take the order number directly there is some predefined format for this objnr how can we find the format ie for some the objnr

is OR000001000782 but for some orders it is OP0000010007830001.how can we trace how this objnr is manipulated???????

1 ACCEPTED SOLUTION
Read only

mvoros
Active Contributor
0 Likes
913

Hi,

there are couple of FMs which are responsible for generating obj. number for various objects in SAP such as various orders. The name is always like OBJECT_NUMBER_GET_. For number like OR it is FM OBJECT_NUMBER_GET_OR and for number like OP* it is FM OBJECT_NUMBER_GET_OP. You can try to find where these FMs are used and try to derive logic from it. The records like OR* corresponds to orders and the records like OP* corresponds to order items. You can see in your example that it has extra digits for item number. There is also include RBONRART which contains all prefixes for objects with German description. Hopefully this will help you.

Cheers

2 REPLIES 2
Read only

mvoros
Active Contributor
0 Likes
914

Hi,

there are couple of FMs which are responsible for generating obj. number for various objects in SAP such as various orders. The name is always like OBJECT_NUMBER_GET_. For number like OR it is FM OBJECT_NUMBER_GET_OR and for number like OP* it is FM OBJECT_NUMBER_GET_OP. You can try to find where these FMs are used and try to derive logic from it. The records like OR* corresponds to orders and the records like OP* corresponds to order items. You can see in your example that it has extra digits for item number. There is also include RBONRART which contains all prefixes for objects with German description. Hopefully this will help you.

Cheers

Read only

Former Member
0 Likes
913

Thanka lot my friend