cancel
Showing results for 
Search instead for 
Did you mean: 

Error - Enter unit of operation, when service line added using BAPI_ALM_ORDER_MAINTAIN

0 Kudos
253

Hi Experts,

I tried adding new service line in existing PM03 operation, using BAPI_ALM_ORDER_MAINTAIN. BAPI throws error message - Enter unit of Measure. I have entered all the required data and still facing this issue. Sometimes, it creates new service line, but most of the time it fails.

Couldnt get the pattern for the failure.

Experts help please

MateuszAdamus
Active Contributor
0 Kudos

Hello pradeepan.m

Please post the part of your code that is responsible for filling BAPI data structures and calling the BAPI itself (use "Code" button to format the code, please).

Kind regards,
Mateusz

Accepted Solutions (0)

Answers (2)

Answers (2)

raymond_giuseppi
Active Contributor
0 Kudos
  • Despite your 'I have entered all the required data', did you actually provide something in IT_SERVICELINES[]-UOM, if not could you try?
  • Did you also analyze the RETURN table (Did you save the log in some applicative log for further SLG1 analysis?)
peter_atkin
Active Contributor
0 Kudos

Pradeepan M

Can you please post the full message text including message number from the RETURN table in the BAPI?

If you are using service materials, have you checked the UoM there?

PeteA