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

How to change Service order quantity using BAPI/FM

Former Member
0 Likes
502

Hi All,

Can any body tell me how to change the Service Order quantity (in IW32) using a FM or a BAPI.

I tried using the BAPI: BAPI_ALM_ORDER_MAINTAIN but I am unable to change the quantity. May be I might be missing some parameter. If anybody has done this please let me know the parameters that needs to be passed or if there is any other way out.

Points will be rewarded to useful answers!!

Thanks,

Susanth.

Hi All,

Can any body tell me how to change the Service Order quantity (in IW32) using a FM or a BAPI.

I tried using the BAPI: BAPI_ALM_ORDER_MAINTAIN but I am unable to change the quantity. May be I might be missing some parameter. If anybody has done this please let me know the parameters that needs to be passed or if there is any other way out.

Points will be rewarded to useful answers!!

Thanks,

Susanth.

1 REPLY 1
Read only

Former Member
0 Likes
360

Hi!

I have used this BAPI.read the documentation properly and after calling this bapi call BAPI_TRANSACTION_COMMIT then only expected results com n get saved.

for ex:

call function 'BAPI_ALM_ORDER_MAINTAIN'

tables

it_methods = itab_methods

it_header = itab_header

  • IT_HEADER_UP =

it_header_srv = itab_header_srv

  • IT_HEADER_SRV_UP =

it_userstatus = itab_userstatus

it_partner = itab_partner

  • IT_PARTNER_UP =

it_operation = itab_operation

  • IT_OPERATION_UP =

it_relation = itab_relation

  • IT_RELATION_UP =

it_component = itab_component

  • IT_COMPONENT_UP =

it_objectlist = itab_objectlist

  • IT_OBJECTLIST_UP =

it_olist_relation = itab_olist_relation

it_text = itab_text

it_text_lines = it_text_lines

it_srule = itab_srule

  • IT_SRULE_UP =

it_tasklists = itab_tasklists

extension_in = itab_extension_in

return = itab_return

et_numbers = itab_et_numbers

.

call function 'BAPI_TRANSACTION_COMMIT'

exporting

wait = 'X'

  • IMPORTING

  • RETURN =

.

reward points if helpful.