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

IW81 - Create refurbishment order - BAPI/FM

Former Member
0 Likes
2,008

Hi all,

is there a BAPI or function module available where I can create refurbishment orders?

I have tried the FM BAPI_ALM_ORDER_MAINTAIN.

But there I get the return message: "Refurbishment orders cannot be processed using BAPIs"

Is there another FM where I can create these order types?

regards

1 ACCEPTED SOLUTION
Read only

manthanraja
Active Participant
0 Likes
1,455

you won't be bale to create a refurbishment order using bapi's you might have to use BDc's

also in support of my answer

you should check this link ...

and

http://www.sapfans.com/forums/viewtopic.php?t=264509

BR

Manthan

Hi all,

is there a BAPI or function module available where I can create refurbishment orders?

I have tried the FM BAPI_ALM_ORDER_MAINTAIN.

But there I get the return message: "Refurbishment orders cannot be processed using BAPIs"

Is there another FM where I can create these order types?

regards

3 REPLIES 3
Read only

manthanraja
Active Participant
0 Likes
1,456

you won't be bale to create a refurbishment order using bapi's you might have to use BDc's

also in support of my answer

you should check this link ...

and

http://www.sapfans.com/forums/viewtopic.php?t=264509

BR

Manthan

Read only

Former Member
0 Likes
1,455

Hello,

You can solve this problem by doing the following.

data: wa_reforder_item              type table of bapi_reforder_item_i with header line,

         wa_reforder_iteme             type bapi_reforder_item.

call function 'BAPI_ALM_ORDER_MAINTAIN'

     tables

       it_methods                  = lt_method

       it_header                   = lt_header

       it_header_up                = lt_header_x

       it_component                = lt_component

       it_component_up             = lt_component_change

       it_operation                = lt_bapi_operation

       it_objectlist               = lt_objectlist

       return                      = lt_return

       et_numbers                  = lt_ordemcriada

       it_reforder_item            = lt_reforder_item.

Here is an example of the data that you need to fill in.

For the table lt_reforder_item

For the table lt_bapi_operation:


If you need anymore help let me know.



Read only

0 Likes
1,455

I had the same problem and this solved it.

Thanks a lot Steven!