Delivery date in shopping cart
While creating a shopping cart, delivery date displayed is the current
date.It is not taking into consideration the planned delivery time
maintained in the material master in backend R/3
Hi
Which SRM version are you using ?
<u>Yes it is default standard SRM behaviour.. It is correct..</u>
<b>Incase you want to make changes to the delivery date, then using BBP_DOC_CHANGE_BADI, this can be easily done.</b>
P.S.: Please read the standard SAP documentation of this BADI using SE18 Transaction.
Hope this will help.
Do let em know.
Regards
- Atul
Similar Messages
-
Default Delivery Date on Shopping Cart
Hi
We have a requirement to have delivery date in future (current date + n days) on the shopping cart line items. I have searched and found a BADI BBP_CHANGE_DEFAULT to handle this requirement. I have implemented the method CHANGE_DEFAULT_DELIV_DATE to make the delviery date in future. Now this works fine when we create SC with "Describe Requirement" or "Create from old SC/template".
However when we try to create SC from the catalog the default date remains as current date? I have debugged the code but it seems to be ignoring the date calculated from BADI. Is there any other BADI or different logic for SC created from service catalogs?
Regards
Manish.Hi,
Use BADI BBP_DOC_CHANGE_BADI.
and this sample code:
LOOP AT it_item ASSIGNING <sc_item>.
lv_delivery_date = sy-datum.
lv_delivery_date = lv_delivery_date + ls_sc_item-leadtime.
WHILE lv_working_day_flag IS NOT INITIAL.
CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
EXPORTING
date = lv_delivery_date
factory_calendar_id = 'AA'
IMPORTING
workingday_indicator = lv_working_day_ind.
IF sy-subrc EQ 0.
IF lv_working_day_ind NE space.
lv_delivery_date = lv_delivery_date + 1.
ELSE.
CLEAR lv_working_day_flag.
ENDIF.
ENDIF.
ENDWHILE.
<sc_item>-deliv_date = lv_delivery_date.
APPEND <sc_item> TO et_item.
ENDLOOP.
In this code I add lead time to delivery date and check if this date is a working day (factory calendar eq AA).
If yes - it is my delivery date, if not - I add to date one day and recheck.
Regards,
Marcin -
Need information regarding Approver and approved date of Shopping Carts
Dear All,
We have got a requiremrnt to extract a list approvers and approved dates of shopping carts created for a given department and date range.
Is there any standard way to find that?
If we need to create a Z report please let us know the tables invovled.
Thank you.
Regards
ArindamHi
Each approval step in SRM has got a work item guid and its relevant data stored in few Data tables. You may build a custom report to meet your requirements.
Refer to this post for more details:
Re: SRM table which stored shopping cart approval start and end time
Regards
Virender Singh -
System is not checking Account assignment data in shopping cart
Dear Experts,
We are implementing SRM7 with SP06. We are using extened classic scenario. Recently we have noticed that system is not validating account assignment data at shopping cart level and creating purchase order in SRM, however at the time of PO transmission to backend system it is failing.
Does any one has faced this issue?If yes help me how to resolve this issue.
Thanks in advance.
UmakanthHello Umakanth,
Could you check if in your settings for Define backend system customizing ( BBP_BACKEND_DEST table), option "realtime backend validation of FI data" is set or not ?
Regards.
Laurent. -
Moving data from shopping cart to Purchase Req in backend
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,
MartyHi
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 -
Changing line item delivery address in shopping cart need to reflect same in all line items
Hi All,
Need help on below,
I have a requirement that when we change the shopping cart line item delivery address same needs to reflect all line items.
Suppose a shopping cart having 3 line items 1, 2 and 3. if i change the delivery address of line item 1, the same needs to reflect the line item 2 and 3 as well.
In my case if we change the 1's delivery address, after processing its genrating the IDOC on line item wise not in the header wise. And same having the different delivery address.
Thanks in advance.
regards:
RameshHello Ramesh,
we can do this changes in BBP_DOC_CHANGE_BADI . Create a Implementation for the above BADI and Inside that Implementation BADI method just call the function module BBP_PD_SC_GETDETAIL for SC item details by passing the Header GUID.
Once you get the Partner table(E_PARTNER) details.. Keeping a loop on SC item(E_ITEM) and change address number(ADDR_NO) in Partner table when Partner function eq X( X is an partner function values which you define in SPRO.).
pseudo logic:
CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
EXPORTING
i_guid = l_guid
TABLES
e_item = lt_item
e_partner = lt_partner.
* Check for all the line items if vendor is assigned
LOOP AT lt_item INTO lwa_item.
READ TABLE lt_partner INTO lwa_partner
WITH KEY partner_fct = '00000019'
del_ind = space
p_guid = lwa_item-guid.
IF sy-subrc eq 0 .
* modification of address number logic here in partner table
ENDIF.
ENDLOOP.
All the best.
Regards,
Sankarbabu -
Delivery address - in shopping cart
Hello ,
Is it possible to populate the shopping cart delivery address on real time basis by picking the storage location address from SAP R/3 backend?
If yes, which function modules / BADI can be used to achieve the same?
Thanks ,
Rama krishnaHello Rama krishna,
You can create a FM in R/3 with logic of picking up the storge loaction address.
Call the same FM with RFC destination in BBP_DOC_CHANGE_BADI .
And Modify et_partner of partner_fct = '00000027' with storge location address .
Hope it helps.
Regards,
Neelima -
How to update partner data in shopping cart ?
Hi expert,
My requirement is to update the requester field in the Shopping Cart with another requester as well as some other CUF field. Through BBP_PD_SC_UPDATE i am able to update the CUF item fields but i am unable to update the business partner.
please help, its urgently...
regards,
Rahuluse the BAPI
'BAPI_BUPA_ADDRESS_CHANGE'.
it works
regards
Giridhar -
Account Assignment data in Shopping Cart not visible after upgrade of R/3
Hello,
We are currently working with SRM 5.0 and R/3 4.6 Backend system.
We are now upgrading our R/3 system from version 4.6C to ECC 6.0.
When we try to create a shopping cart, the account assignment Tab is not visible.
We checked the RFC (SRM-R/3 and R/3-SRM) and they our working fine.
Now we think the problem is caused by a configuration setting in which one defines the Backend System. In this configuration, the system category is still set to 4.6C (for the logical System of the Backend System)
We want to change this but in our list of system categories, the ECC 6.0 option is not present!
Questions:
1. Is this configuration setting the cause for our account assignment tab problem?
2. How can one add the System Category ECC 6.0 so it will appear in the configuration setting "Specify Backend System" ?
Anyone had experience with this? Please give us a clue.
Thanks in advance.
AartHello Aart,
You can choose the ERP_2.0 option. It contains the correct structures for the new ECC 6.0 system.
You can change it and retest.
Kind regards,
Ricardo -
Shopping Cart created with delivery date outside factory calendar
The user specified 13.08.2207 as the delivery date. The Cart was approved and converted to a Purchase Requisition. Status is now 'error in process' and of course no Requisition exists in table EBAN. We cannot change the Cart because it is approved. What other options do we have?
Hi,
Please check OSS note 814100.
Also you can maintain calendar in SPRO or transation SCAL
And you can also use BBP_DOC_CHECK badi to implement your own logic.
Kind regards,
Yann -
Shopping cart delivery address not transferred to ECC PR
Hi Forum,
We recently upgraded from SRM 701 to 713 and to ECC EHP6. After upgrade the SC Delivery address is not getting transferred to back end PR instead the PR shows Plant address as delivery address. As per this wiki article
Shopping Cart Delivery Address transfer from SRM to ECC - Supplier Relationship Management - SCN Wiki
the standard behavior is that SRM Delivery address should be transferred to PR but to our OSS SAP replied that standard behavior is opposite i.e.
PR Takes Plant address as delivery address as default.
Response from SAP:
Please see that the standard fields of EMLIF and LBLKZ are not
available in BAPI structures. This is the standard functionality of
BAPI_REQUISITION_CREATE.
If you are using a release newer than Release 4.7 , which I believe
you are , you can use BAPI_PR_CREATE instead. However , this is not
possible using BAPI_REQUISITION_CREATE.
I am sorry that I do not have a better answer for you at this time but
the behavior that you are experiencing is standard SAP system design.
Q1. What is the standard behavior - SC Delivery address is transferred to PR or Plant address is used in PR?
Q2. What are the changes required to transfer SC Delivery address to back end PR?
Thanks,
AnubhavHello Anubhav,
Its unfortunate that SAP has not tested the transfer of Delivery Address from Shopping cart to ECC Requisition.
SRM uses BAPI_REQUISITION_CREATE which is deprecated in the newer releases of ECC. This is why the Delivery address is no longer transferred to ECC.
Check this note:2132886 - BAPI_REQUISITION_CREATE - Delivery address is not updated
Interestingly I found another note in SRM area which asks customers to themselves implement a call to BAPI_PR_CREATE to fix such issues.
Check note:2108097 - Shopping cart transfer to ECC fails when using BAPI_REQUISITION_CREATE
We have an upcoming Go Live with SRM 7.13/ECC 6.17 and I just noticed that Delivery address from Cart is not transferred to ECC Requisition.
I have to rush an urgent change due to this.
I dont know what else data is not being transferred without detailed testing.
Thanks,
Sushil. -
Shopping cart default delivery address based on company code
Hi All,
As a standard behaviour of SRM, currently delivery address in shopping cart is defaulted from attribute (ADDR_SHIPT). But in our case we use cross company purchasing where requisitioners buy for different company codes.
Some times, they forgot to change the default dlivery address and shopping carts are getting created with wrong delivery address.
Is there any way, the we can default the delivery address based on company code selected by the user instead of defaulting from user attribute?
Suggestions would be greatly appreciated.
Regards,
KrishHi Krish,
Am looking for a same solution but instead of delivery address, we are looking for change in invoice recipient address
ADDR_BILLT. For this i have identifed a FM: BBP_GET_BILL_TO_PARTY from which system pulls the defaulted attribute of user profile. Now we are in a change of pulling the attribute defaulted to the company code entered in SC rather than the user's defaulted ADDR_BILLT.
Similarly i guess for your issue you can use the FM: BBP_GET_ORG_SHIPTO_ADDR implementing a enhancement in DOC CHANGE BADI
Regards,
Nihar -
Badi for passing shopping cart data to Bid at Create Rfx Button
Hi experts,
I have custom fields in shooping cart and Bid. I need to pass data from shopping Cart to Bid at the time of Bid creation using Create Rfx Button in Portal. Please let me know how to achieve it.
Thanks & Regards,
Sushant SinghIf it is required to push data from Item to Header then it is required to write explicit code for it.
If you have specific mapping requirements, one potential approach is to implement the BBP_DOC_CHANGE_BADI for the follow-on document (RFx in your case) and update it with the source document information (SC in your case). -
Generate warning on Delivery date
Hello Everybody,
We are on SRM 550 R3 ECC 6.0 classic scenario. As our requisitioners often forget to enter a correct delivery date we want to implement a warning when they are creating the shopping cart. plan is to delete the default of today date so they are forced to enter a date. Can you let me know how we can configure that ? Is is in a badi ? Or maybe any other ideas ?
Thanks as ever
A.SNote 976533 - Changing the "Required on"/"Start Date" in shopping cart
look at this note for more clarification .you can write your own logic instead of current date.BBP_CHANGE_DEFAULT BAdI.
but however the delivery date will be copied from fixed source of supply like from contract data when PO is created if you refered in the shopping cart
Muthu -
Hard Error 'Preferred Delivery date can't be kept"
Managers are having to change the required on date, because the leadtime coming from a catalog, is being added to the date the shopping cart is created. If the manager does not approve the car the same day. The system forces a change to the required on date before allowing manager approval. Managers don't like it. Any solutions?
Hi Michael,
You can change the error message to warning and then system will allow the manager to approve the cart even if the preferred delivery date is in past.
change the message from E to W through the path.
srm server -> cross application setting -> message control -> influence message control.
Cheers
Iftekhar Alam
PS : Please reward point for useful answer.
Maybe you are looking for
-
How to configure and tweak Safari settings on iPad Mini?
Using my wife's iPad mini, it seems there are no setttings or ability to tweak or change the look and feel and especially the font size for the browser. I am not talking about the website text that shows up on any site visited but the text at the top
-
Calculate function in a PDF form
I created a form from an existing PDF file, and got all the fields with no problem. When I try to designate a field as a calculated field, however, it won't let me select individual fields. It only lets me select all or none. Anyone else have this
-
Can InDesign tell me if I have hidden elements in a document?
Can InDesign tell me if I have hidden elements in a document? As in the following examples • I import a picture file and some, or all of the file is not viewable in the picture frame, can InDesign alert me of it? • I accidentally place a picture so t
-
Upgraded to CS6....finally!! I load an EDL and I need to relink to DPX seq. When I go to link media and navigate to the DPX seq, I see no way to relink to an image sequence, it just relinks to the first frame and holds that frame for the duration of
-
Question for Moderator - Delete post
I'm trying to contact a moderator to delete a post I made to this forum. It contains two photos that I needed to post in order to have my question answered... but I'd rather not have them public forever. Since a delete option was available before I g