Re-calculation of Shopping cart delivery date.

Hi,
I have a requirement wherein , i have to do some calcutaions on the delivery date of the shoppinng Cart based on the approvals.
we are currently on SRM 5.0.
The scenario is ,When a shopping cart is created a Delivery date is determined for the same. If an approval takes 2 days later, 2 more days should be added to the delivery date.
Please let me know whether there is a BADI through which this can be implemented.
Thanks & Regards
Thamilselvan

Hello,
DOC_CHANGE_BADI will be triggered while creating the shopping cart.
During its approval, you cannot change the delivery date according the date that approver is approving the cart.
You could implement something like this in your CHANGE_BADI to change the delivery date while creating the cart:
*item data
loop at it_item into ls_item_import.
ls_item_import-deliv_date = sy-datum + 2.
move-corresponding ls_item_import to ls_item.
append ls_item to lt_item.
endloop.
Then, you can change message BBP_PD 584 to warning via message control.
Kind regards,
Ricardo

Similar Messages

  • Whether Shopping cart delivery date can be in past date!!

    Hello SRM Gurus,
    There is a requirement from my customer, it may be strange.
    The requirement is : Shopping cart (requestor) should be abe to save having delivery date as a past date  and  PO in SRM with same past date.
    Is there any BADI available or programming is required?
    Pls post your sugesstions.
    Regards
    Madhan

    i think you can do this config . 584 message ready made available for you as E . now you can turn to W
    and do lot of testing for entire procurement cycle.
    .. it may give some trouble approval time too. check it up
    IMG activity 'Influence Message Control' (Enterprise Buyer -> Cross-Application Basic Settings -> Message Control):
    Select the line with business object BUS2121 and double-clicking on 'Message Control'.
                        Message cl:   BBP_PD
                        No. :          584
                        Text:         W
    Save the new entry.

  • Shopping Cart Delivery Date (Required on) calender is blank

    Hi Guru,
    I have a problem when creating shopping cart by describing requirement.
    Txn.BBPSC02
    Shop >Describe requirement >
    Fill the description,Quantity,UoM,Price,Currency,Product Category.
    Now I need to select the date (system date is default) so I am clicking on the calendar to choose the date.
    But the pop up window (calendar) is showing blank and I couldn't select any date.
    Can any one help me how to fix the calendar . Any input appreciated.
    Thanks in Advance.
    Pradeep

    Does this only happen for one specific user or one specific transaction ?
    You could  set a BP at FM: DD_SHLP_GET_HELPMETHOD to check.
    PG:LSDSDU04
    perform get_interface_syst_values changing shlp.
    CALL FUNCTION 'DD_SHLP_GET_DIALOG_INFO'
          CHANGING
             shlp    = shlp.
    In our system shlp has value:
    SHLPNAME     C     30      CALENDAR
    SHLPTYPE     C     2      CA
    shlp-INTERFACE
    SHLPFIELD     C     30      _DATE
    VALTABNAME     C     30      BBPS_SC_APP_ITEM
    VALFIELD     C     132      DELIV_DATE
    VALUE     C     132                                                                               
    INTERNAL     C     1                                                                               
    DISPFIELD     C     1                                                                               
    F4FIELD     C     1      X
    shlp-FIELDPROP[1]
    FIELDNAME     C     30      _DATE
    SHLPINPUT     C     1      X
    SHLPOUTPUT     C     1      X
    SHLPSELPOS     N     2      00
    SHLPLISPOS     N     2      00
    SHLPSELDIS     C     1                                                                               
    DEFAULTVAL     C     21                                                                               
    Regards
    Lauren

  • 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,
    Anubhav

    Hello 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 - runtime data

    Hi All,
    We are using ISA on ECC.
    How to obtain shopping cart runtime data?
    Like how many items are present in the cart, total value, ...
    Suppose we are in product catalog page and add an item to the cart, can we get the current shopping cart data?
    Thanks and regards
    Aarthi

    Hello Aarthi,
    It is technically possible to always access almost any business object and the related information in any JSP. The UsersessionData object (which is a session context object) is available in all the JSPs. You can get the metaBOM and get any BO from the BOM. See order.jsp for some sample code to get SalesDocumentHeader from usersession --> BOM --> Order BO (Sales document) --> to header.
    You must include appropriate import statements in your JSP. The list below is just an example. Figure out what else you may need.
    <%@ page import="com.sapmarkets.isa.businessobject.*" %>
    <%@ page import="com.sapmarkets.isa.businessobject.item.*" %>
    <%@ page import="com.sapmarkets.isa.businessobject.order.*" %>
    <%@ page import="com.sapmarkets.isa.businessobject.header.*" %>
    The scriptlet below will give you an idea what needs to be done.
    <%
    BusinessObjectManager bom =
      (BusinessObjectManager) userSessionData.getBOM
      (BusinessObjectManager.ISACORE_BOM);
    salesDoc = bom.getBasket();
    HeaderSalesDocument  header = salesDoc.getHeader();
    ItemList items = salesDoc.getItems();
    %>
    From the size of the items you can determine the actual number of items in the cart.
    If you want to know about the Minibasket and how it gets displayed and gets the values (in B2B), see my replies in this
    Re: item number display in header.jsp
    Easwar Ram
    http://www.parxlns.com

  • Tax is not getting calculated in shopping cart

    Hi,
    I have problem in shopping, whenever I am creating a shopping cart it has to add tax amount of 17.5, which is not adding the tax amount, instead it is taking tax amount as 0.00.
    Tax code is V1(domestic).
    Could you please guide what exactly need to be changed?
    Point will be rewarded.
    Cheersu2026

    Hello Viv
    Did you resolve this issue?
    I have the same problem !
    Using EEC 6 and SRM V6 (SRM 2007)  (same client setup)local config is on in ECC for Brasil and tax is being calculated ok here. However although all tax codes are visible in SRM no tax is being calculated????
    Any advice would be much appreciated
    Rachael

  • Why shopping cart created date is save with difference in hours?

    I created a shopping cart at 04.09.2008 12:14.
    But when I execute the FM BBP_PD_SC_GETDETAIL to obtain the detail data, I see in E_HEADER-CREATED_AT field the datetime 04.09.2008 17:14:36 and E_HEADER-TZONE field = "CST".
    The time zone is correct (CST is the system's time zone), but the datetime should be saved with 04.09.2008 12:14:36
    Can somebody tell me how to synchronize this datetime? Or why the system is saving the datetime with 5 hours of difference?
    Edited by: Juan Alonso Valenzuela Rodríguez on Sep 4, 2008 7:46 PM
    Edited by: Juan Alonso Valenzuela Rodríguez on Sep 4, 2008 8:53 PM

    Hi
    Hope that you would have checked this settings.becareful here if you made any changes it may reflect all the clients too.
    General Settings>Time zones>Maintain System Settingscheck with Basis consultants and cross check for your country in SC. There could be impact depends upon the country settings in spro done by fico people.
    regards
    Muthu

  • Can I sort my Shopping Cart by Date Added?

    I have quite a few songs in my shopping cart and I want to sort them all by the Date I added them to the shopping cart. Currently I can sort by name, price, album, artist, etc... all standard... but I can't see how to add a Date Added sort to the Shopping Cart itself.

    Sorry, but you can't.
    Note that it's not a good idea to use your Shopping Cart for long-term "wish list" storage. There is to strong a possibility that a change to or removal of an item will corrupt your Cart. If you want a "wish list", create a normal playlist and drag the tracks you want to remember into it from the iTunes Store. That will save them for future purchase. Don't leave anything in your Shopping Cart unpurchased for more than a day or two at most.

  • Shopping cart delivery address

    Hello
    We are experiencing following problem with shopping cart:
    We want delivery address to be taken from backend as default (storage location) –(this part is working fine) BUT if we manually overwrite the delivery address at item-level in the ShoppingCart, this manually created address must be taken into account (this scenario is not working, the manually created address is always overwritten by default).
    Have any one faced this problem before, please advise.

    hi,
      Pls see the foll notes fro transferring the SRM new deliver addr to R/3.
    -->767461 Transfer of ship-to address to back-end system
    -->576665 EBP R/3 - no generation of delivery address for each item
    The note 576665 is for your R/3 backend system.
    BR,
    Disha.
    Pls reward points for useful answers.

  • SHOPPING CART-DELIVERY ADDRESS(NAME- DISABLE)

    Hi,
    Iam using SRM7.0.During Creation of SC,Delivery Address -NAME Field is disabled.Before it used to Work perfectly.All other fields in Delivery Address are in Enable mode.
    Please can you say your suggestions regarding the issue.
    Thanks,
    Anitha Averneni

    Hello Anitha,
    Could you please check following way
    SPRO --> SRM Server --> Cross- Application basic settings --> Extension and Field Control --> Configure Field Control --> Configure Control for Fields of Substructure --> Metadata for Fields of Substructures and Table-Like Enhancements.
    In this If you see Set Type (07 - Partner) - Structure Field Name as (Name) and Object Type as BUS2121. If in there check box "Field Editable" not checked then your field will be greyed out.
    Please check the same.
    Thank you
    Ritesh

  • 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

  • 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 krishna

    Hello 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

  • Adding new field in Monitor Shopping Cart

    Helll All,
    I have a requirement where I need to add a new field in the Search Criteria screen for Monitor Shopping Cart (item data).
    The new field needs to have a property so as to be able to add more than 1 value for it. It is just like Purchasing Group criteria present in the standard Shopping Cart Monitor screen.
    I have the structure BBPS_MON_SC_ITEM where there is a field PURCHASE_GROUP, which is like a range. I need to add one more field here with the same range structure so as to get values of my new screen field into it.
    Coming to my question........In which structure should I append this new field so as to get it in BBPS_MON_SC_ITEM? I have read the note 672960 and tried appending for Table Type fields but no success.
    I am working in SRM Version 5.
    Kindly help.
    Thank you.
    Johnson
    Message was edited by:
            Johnson Ittyerah

    Hi
    <u>See related links -></u>
    Re: Adding CUF fields in Monitor Shopping Cart Selection Screen
    Re: Error while viewing the SC via BBP_MON_SC
    Adding fields in shopping cart
    Do let me know.
    Regards
    - Atul

  • Vendor part number for non catalog item in shopping cart?

    I have a requirement to get the vendor part number field in shopping cart basic data for non catalog item. This field is available for catalog items, would it be possible to make the same field available for non catalog items as well?

    Hi Gummadi,
    You can create custom fields in Shopping cart uisng a BADI and can populate the information.
    BBP_CUF_BADI can be used to create customer fields.
    Please get discuss with your ABAP fellow for the creation of customer field.
    Award points for helpful answers.
    Rgds,
    Teja

  • Default frame in shopping cart

    Hi All,
    i am working an issue which is in shopping cart screen default frame.
    after logon into shopping cart screen, you can see 'EXTENDED DETAILS' button. once you click 'EXTENDED DETAILS' button that will change as 'Simplify button' along with some more fields add into shopping cart screen( say for example custom fields).
    my requirement is when ever user log on and clicked shopping cart create button. the shopping cart screen should display 'EXTENDED DETAILS' view which contains the custom fields instead of 'Simplify details' view.
    Is there any way to do that,plz help me out.
    regards,
    sobhan

    Hi
    Which SRM Version are you using ?
    <u>As soon as you add customer fields (Refer SAP OSS Notes 672960 and 485891) to the Shopping cart (say at Item Level ) these fields are displayed in the the Basic data section (Item level) as well as the Search Criteria (in Extended search) functionality automatically.</u>
    As per your business requirement, when ever user log on and clicked shopping cart create button, then the shopping cart screen should display 'EXTENDED DETAILS' view which contains the custom fields instead of 'Simplify details' view.
    <b>This is Standard SAP functionality. These changes are not possible until we do modification to the HTML Templates in the Internet Service (BBPSC01) using SE80 Transaction.</b>  
    I have not tried the same, but i don't think it possible (or might be - not sure), as there is a maximum limit of displaying fields in the Shopping cart Basic Data / Search functionality section.
    You must have noticed as soon as the number of fields displayed on the Shopping cart exceeds (say more than 10 fields - including Standard and custom fields), there is automatically a  button feature ">>" / "<<" gets enabled to either go forward to the next page or come back from to the previous page for display of fields. <u>Therefore, as per my view, you can change the text lable of the 'EXTENDED DETAILS'  button / 'Simplify details'  button, but this might not help. Moreover, this might cause side-affects to the existing Shopping cart functionality. So be very sure, before making changes to the respective HTML Templates involved in this case.</u>
    Incase this does not help / need more details, please raise a Customer OSS message with SAP to get precise details before making Template changes.
    Do let me know. Hope this will help.
    Regards
    - Atul

Maybe you are looking for