cancel
Showing results for 
Search instead for 
Did you mean: 

Read the Internal Order GUID of the Batch

Former Member
0 Kudos

Hi,

In Product view, Reciept/Req element is showing one element 0000653225/0001/CC/(01.01.1970). If we go to context option, It is showing the Pegging structure.

I am working on one report in which User enter the number 0000653225 and Output comes in the form of the Pegging structure.

I am not getting the Internal Order number of 0000653225 usinf the function module '/SAPAPO/DM_ORDKEY_SELECT_ORDNO'. While this Function module returns the Internal Order GUID of all other Reciept/Req elements.

Appreciate If anyone help me on getting the above.

Thanks in Advance

Pradeep

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

can you try looking at table /SAPAPO/ORDMAP

and /SAPAPO/ORDKEY please

Former Member
0 Kudos

These tables don't have any data

Former Member
0 Kudos

I thought you should be able to see the order you have mentioned in your first post

can you try to create another order in rrp3 and see if that comes up?

cc is stock btw... that should turn up too...

Former Member
0 Kudos

Hi,

I can see the Order in the Product view...it meant it exist in the system. But in the tables /sapapo/ordkey & /sapapo/ordmap, No order is pouplated wiith the Order type '00'.

I guess we have to read this order in another way. But I don't know.

Thanks

Pradeep

Former Member
0 Kudos

oops forgot ... you need to look at database tables

can you try the same tables from /SAPAPO/OM19

thanks

Former Member
0 Kudos

the following thread might have some more clues for you

check the answes from siva

Former Member
0 Kudos

Hi,

I tried the same table /SAPAPO/OM19. But It is getting the short dump during run time.

Thanks

Pradeep

Former Member
0 Kudos

Hi,

Thanks for sending the link. But It is looking for creating the Planned Order(AI).

But I am looking for the Order type 00(unrestricted-use stock).

Regards

Pradeep

Former Member
0 Kudos

it was more of a hint and not the exact requirement (and i bdont understand the codes anyhow

I think, Order type for unrestricted use stock will be CC not 00.

Former Member
0 Kudos

your short dump might need basis help or some exploring some OSS notes. Better sort that out first