on 03-27-2009 8:12 PM
My Scenario is Extended Classic scenario -for completed shopping carts it creates PO and for catalog item it creates PO. For incomplete carts it creates PR
But our requirement for a particular vendor from the catalog it should create a PR but not PO.
Please SRM guru's send me some sample code or approach to write it in the badi BBP_TARGET_OBJTYPE.
If I am not suppose to user the above badi please also send which badi to be used.
Thanks
NSSRM
Hi,
Following enhancements (BADIs) will have to be coded based on rules defined for PO / PRs. These rules can vary from organization and hence I am not providing any sample code for the same.
Badi BBP_TARGET_OBJTYPE : Use method DETERMINE_TARGET_OBJECT_TYPES to determine follow-on document type for PO. Here reservations object type is replaced by PO object type.
Badi BBP_BS_GROUP_BE : Use method GROUP_PO_BACKEND to split line items for PO . Method GET_NUMBER_OR_RANGE can be used to get a new PR/PO number as defined in configuration.
Badi BBP_CREATE_BE_PO_NEW : This Badi is called before PO/PR is created in the backend.
Hope this helps (*only for the approch and may differ from your requirement*).....
Best Regards,
NMK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.