SAP for Oil, Gas, and Energy Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and navigate the evolving energy landscape. Join the conversation today!
cancel
Showing results for 
Search instead for 
Did you mean: 

Additional Qty calculation during Ticket creation using function modules

0 Kudos

HI,

I am trying to create and actualize ticket using FMs in following seuence:

1) OIJB_TICKET_DEFAULTING

2) OIJ_EL_A_TICKETS_MAINTAIN_N

3) OIJB_GENERATE_DOCUMENTS_N

I am passing OIJ_EL_TKT_I_O1 details to FM OIJB_TICKET_DEFAULTING.

Requiement is based on OIJ_EL_TKT_I_O1, it should calculate additional quantities OIJ_EL_TKT_I_O2.

But it seems it is not populating OIJ_EL_TKT_I_O2.

Any Idea why FM does not calculate OIJ_EL_TKT_I_O2? Or do we need to calculate externally and then Pass it to FM? Which FM does this?

Thanks & Regards,

Umesh

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Umesh,

The function module OIJB_TICKET_DEFAULTING should do the conversion based on the parameters you pass via OIJ_EL_TKT_I_O1.

It will do this only if the parameter ET_TICKET_ITEM_O2 is requested.

Check if you are properly passing an internal table in this field.

Best Regards

Vishnu

View solution in original post

1 REPLY 1

Former Member
0 Kudos

Hi Umesh,

The function module OIJB_TICKET_DEFAULTING should do the conversion based on the parameters you pass via OIJ_EL_TKT_I_O1.

It will do this only if the parameter ET_TICKET_ITEM_O2 is requested.

Check if you are properly passing an internal table in this field.

Best Regards

Vishnu