on 12-13-2009 3:23 AM
Hi,
Is there any BAPI/Function module in SRM 5.0 which can be used to de-activate a contract line? I am trying to create an ABAP program which de-activate a set of line items in a contract based on certain conditions. Please let me know your thoughts.
Thanks for your help,
Jaison
Weird business requirement. Any specific purpose?
Have you tried BBP_DOC_CHANGE_BADI
BR
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I understand your requirement correctly, you would like to run a program so that all of your contracts would be evaluated and some items would be "deactivated". When a user is browsing the contract in display mode, the items marked "deactivated" would be grayed out or not showing up. If this is the case, you can use FM BBP_PD_CTR_UPDATE in your program. If the de-activation is permenant, you could make use of the DEL_IND field to mark the item deleted under the desired conditions. If you don't want items to be deleted, you could create a custom field, ZDEACTIVE (or something like that) and mark this field in the program. Then however, you would have to modify the screen logic so that such items are recognizable on the UI for end users, e.g. read-only in edit mode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.