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

Maintain technical objects in customer contract

Former Member
0 Likes
1,426

Hello experts,

I have to develop a program, for changing the relation of functional locations to a customer contract item in background. Requirement is, to remove functional location from one item within the customer contract and insert it into another item (Cut and Paste). I don't want to use Call Transaction/BDC, because espacially removing seems to be pretty tough (determine line number of desired record within the table control).

BAPI_CUSTOMERCONTRACT_CHANGE does not provide this functionality. Is there any other function module or method for this?

Thanks for any help in advance,

Peter

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,028

Hello Peter,

think there is no BAPI for that . There are only the function modules that are used in the dialog transactions - these are in the function group IWOL. E.G. the 'IWOL_WV_COPY_LIST_TO_WV' and so on.

Regards Wolfgang

5 REPLIES 5
Read only

Former Member
0 Likes
1,029

Hello Peter,

think there is no BAPI for that . There are only the function modules that are used in the dialog transactions - these are in the function group IWOL. E.G. the 'IWOL_WV_COPY_LIST_TO_WV' and so on.

Regards Wolfgang

Read only

0 Likes
1,028

Hello Wolfgang,

thanks! I've checked function group IWOL. Due to the fact, that I don't want to copy the whole object list, I've used IWOL_WV_ADD_OBJECTS. Adding a new entry works fine, but I'm unable to delete a specific record from an object list. I want to move a functional location from item to another within the customer contract. IWOL_WV_DELETE_OBJECT_LIST will delete all entries for one item... Do you have any ideas on this?

IWOL_WV_ADD_OBJECTS provides in TABLES parameter T_RIWOL1 a field NODELFLG, which description says, that this is for deleting, but this doesn't work. I allways get exception ENTRY_EXISTS.

Regards,

Peter

Read only

0 Likes
1,028

Hello Peter,

may be that the IWOL_WV_POST_OBJECT_LIST would do. In the I_SER02 ( structure RSERXX ) it would be field DBKNZ = 'D'.

Regards Wolfgang

Read only

0 Likes
1,028

Hello Wolfgang,

but I can't pass the functional location to this parameter. Field TPLNR is missing in s/n structure RSERXX.

Regards,

Peter

Read only

Former Member
0 Likes
1,028

Solved with BDC...