‎2009 Aug 10 1:36 PM
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
‎2009 Aug 10 2:15 PM
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
‎2009 Aug 10 2:15 PM
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
‎2009 Aug 10 5:48 PM
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
‎2009 Aug 11 12:37 PM
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
‎2009 Aug 11 1:06 PM
Hello Wolfgang,
but I can't pass the functional location to this parameter. Field TPLNR is missing in s/n structure RSERXX.
Regards,
Peter
‎2009 Sep 02 1:56 PM