on 02-02-2007 5:18 PM
Hi,
We are implementing SRM 5.0 with R/3 ECC 6.0 in the backend. I am brand new to this module and version.
When shopping and ordering, then running clean_reqreq_up to transfer to the backend, we notice a material number does not flow through to R/3. I have implemented the BADI BBP_CREATE_BE_RQ_NEW to try and force a material number into the parameter field CS_RQ_DOCUMENT-IT_REQUISITION_ITEMS-MATERIAL. When I activate the badi, and shop and order some product, then I check the status, it shows the following message in the follow on documents, which I can not figure out.
"Shopping cart 3nnnnnnnnn/1 Error in Process" but if I deactivate the badi and do the same thing, the shopping cart status is successful. I am having trouble debugging this badi and getting it to stop in the code to see what is happening.
I would like suggestions regarding if I am using the correct badi for what I need, and if so, how can I see more details regarding my error.
Thanks,
Marty
Thanks to everyone who responded to me regarding this question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Any updates.
Regards
-Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you please explain what is the exact requirement for which you are implementing this BADI?Unable to understand why you are changing the "material No" while transferring the SC from SRM to R/3.
If you are changing the Material,then you may need to change the other parameters also like the material group which corresponds to the new material.
HTH.
BR,
Disha.
Pls reward points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, the material number actually comes over to R/3 as a blank field if we don't do anything. When we look at the PReq it doesn't have a mat number in it. we would like to force in a special material number in to the PReq, and possibly a vendor number as well. My first goal is to get this to work for the material number and then go from there.
I will see if changing the material group helps in this case. Thx for the tip. I'll award points if it works.
Marty,
When you procure to external vendor's website. the product will come into SRM as a UNSPSC code. This UNSPSC code needs a mapping table to pick up the material number in SRM/ECC and would need to be populated in the SRM Shopping cart.
I think your design of forcing material number while creating a PR is a confusing design. I would think it would be a better idea to handle it by a Z-Mapping table and along with the Catalog Enrich BADI to fullfill your requirement.
Please assign points if answer is helpfull !!
Sundeep
Hi,
Please see this note
Note 906465 - Shopping cart transfer:Mapping BADI bbp_create_po_back/...rs
and please see all related notes also.
This note will be helpful.I feel this note will solve your issue as this is talking about same kind of issue related with transfer of fields.
regards,nishant
please reward points if it helps
Message was edited by:
Nishant Rajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Please read the BADI documenation provided by SAP, before making any coding.
<b>Here is the SAP Documenattion of the BADI Definition - BBP_CREATE_PO_BACK</b>
____________________________________________________
Short Text
Purchase Order in Backend System
You can use the Business Add-In BBP_CREATE_BE_PO_NEW to change all data transferred to the backend system to create a purchase order. This includes the item data, account assignment, and text.
Standard settings
The following changing parameters are available in the FILL_PO_INTERFACE method:
Parameter Transfer structure
PO_ITEMS Purchase order items
PO_ITEMS_ADD_DATA Additional purchase order item data
PO_ITEM_SCHEDULES Purchase order delivery schedule line
PO_ITEM_ACCOUNT Purchase order item account assignment
PO_ITEM_TEXT Purchase order item texts
PO_LIMITS Purchase order limits
PO_CONTRACT_LIMITS Purchase order limits - Contracts
PO_SERVICES Services for a purchase order item
PO_SRV_ACCOUNT Account assignment data for service
PO_SRV_TEXTS Texts for service line
PO_HEADER Purchase order header
PO_HEADER_ADD_DATA Purchase order header additional data
PO_ADDRESS Purchase order header address data
You can use the following parameters for transferring the attachements to the backend system:
CT_ATTACH_BE KW attachments including document
CV_ATTACH_BE_DOC_TYPE Document type (standard is SRM)
CV_ATTACH_BE_STORAGE_CAT Storage type (standard is DMS_C1_ST)
CV_ATTACH_TRANSFER_ACTIVE Activate transfer of attachments
CV_ATTACH_USE_URL Transfer URL only
Recommendation
If you edit the PO_HEADER_ADD_DATA structure, you should check the settings of parameter HEADER_ADD_DATA_RELEVANT.
Activities
You are able to use the parameter HEADER_ADD_DATA_RELEVANT in the BAdI implementation. Assigning this parameter the value:
'1'
Means that the system only transfers the data of structure PO_HEADER_ADD_DATA to the purchase order in the backend system that is not empty (initial).
'x'
Means that the system transfers all data of structure PO_HEADER_ADD_DATA to the purchase order in the backend system regardless of whether individual fields are filled.
____________________________________________________
Regards
- Atul
Hi ,
n the BADI , please check wr u are using correct method or interface .
Regards
Mani
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.