cancel
Showing results for 
Search instead for 
Did you mean: 

Exception while executing function module /SAPAPO/OM_ORDER_GET_DATA

Former Member
0 Kudos

Dear Expert

when i am using function module /SAPAPO/OM_ORDER_GET_DATA with inputs simulation version 000 and internal order number I am getting exception LC_COM_error   

Thanks & regards

Virender

Accepted Solutions (0)

Answers (4)

Answers (4)

AmolSrivastav
Discoverer
0 Kudos

Hi Virender,

What is the content of export parameter of et_rc[] of //OM_ORDER_GET_DATA?

You can delete iv_simsession while executing the FM //OM_ORDER_GET_DATA and have only sim version and orderguid filled.

Cheers,

Amol

Former Member
0 Kudos

Hi Amol

How to delete iv_simsession while executing the FM //OM_ORDER_GET_DATA and have only sim version and orderguid filled.

regards

Virender

AmolSrivastav
Discoverer
0 Kudos

Just don't mention it.

What is the content of ET_RC table?

Cheers,

Amol

Former Member
0 Kudos

Hi Virender,

Here you have a document (made by expert Tiago) to check http://scn.sap.com/docs/DOC-54254,

3) Execute in transaction SE37 the Function Module /SAPAPO/OM_ORDER_GET_DATA.

Thanks, Marius

Former Member
0 Kudos

Hi marius

I have followed same process as expert Tiago explained in is doc

Thanks & regrads

virender

thanga_prakash
Active Contributor
0 Kudos

Hello Virender,

Did you input all the mandatory fields ?

check it in import tab and check for mandatory fields, then pass all the mandatory fields.

Regards,

TP

Former Member
0 Kudos

Hi Thangaraj

All the mandatory fields are given as shown below

regards

virender

thanga_prakash
Active Contributor
0 Kudos

Hello Virender,

Have you given the leading zeros for the numeric fields, might be you are not giving leading zeros in order number and when the system tries to fetch the data of the particular order it couldn't find data in live cache and it throws an error.

Conversions won't happen when you execute a function module in SE37.

Regards,

TP

Former Member
0 Kudos

Hi Prakash

Are you saying that  while entering internal order guid number i need to enter leading zeros

I am giving only this inputs :

IS_GEN_PARAMS--000

IV_SIMSESSION

IT_ORDER--internal guid

Regards

Virender

thanga_prakash
Active Contributor
0 Kudos

Hello Virender,

Check the order GUID exists in table /SAPAPO/ORDMAP which has the information about orders.

It might be like the orderid is wrong and it doesn't even exists in the system.

So the system gives LC error when you give the wrong Orderid.

Regards,

TP

Former Member
0 Kudos

Hi prakash

I have given same id which is present in my rrp3

as per your suggestion My id is not present in Table /sapapo/ord/map

But i am not getting any ID in that table .

thanga_prakash
Active Contributor
0 Kudos

Hi Virender,

Check in table  /SAPAPO/ORDKEY

Regards,

TP

thanga_prakash
Active Contributor
0 Kudos

Hello Virender,

Write a simple Select query as mentioned in the below thread and check whether the data is ther in table /SAPAPO/ORDMAP.

Regards,

TP

former_member187488
Active Contributor
0 Kudos

Hi,

See if you can display the order in /sapapo/om16, [Orders] tab. OM16 itself calls the FM /SAPAPO/OM_ORDER_GET_DATA.
You can also debug into the FM, and see what is the return code in table ET_RC[] after liveCache routine is called.

BR, Ada