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

Similar Messages

  • 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:
    Ramesh

    Hello 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

  • Unable to view Shipping addresses in Shopping Cart

    we are not able to see the Ship-to addresses in SRM. We can view them in the backend but not on the web.

    Hi
    <u>Which SRM version are you using ?</u>
    Add to Your user role SAP_BBP_STAL_ADMINISTRATOR and log in to EBP system via Web interface. In menu EBP Administrator\Administrator click on Edit Internal Addresses. Find Your Partner and click on Display List or Create button. When You add address, this value will be in search- help "Ship-To Address"
    <b>Related links -></b>
    http://help.sap.com/saphelp_srm50/helpdata/en/e4/47f839f42a7b2ee10000000a114084/frameset.htm
    Ship-to-address
    Mass Change of Ship-To Address/Performance Location
    SHIP-TO-ADDRESS
    Re: Shoping cart / Classic / Delivery address
    Re: Delivery address SRM
    Re: ship to address in SC
    Re: Last delivery option in SRM
    Re: Ordering Address
    Re: Delivery address SRM
    Re: ship-to clarification
    Mass creation of delivery address
    Do let me know.
    Regards
    - Atul

  • SRM - email address in Ship to address on Shopping Cart as Mandatory field

    Hi,
    Want to make email id  and telephone number in ship to address/performance Location on shopping cart as mandatory field.
    any one faced this issue, please let me know, how to do this,
    Thanks in advance

    eboothby,
    Have you tested syncing the iPhone in a new Windows user account, with just a test contact (replacing information on the iPhone)? More info on this step can be found in this article: http://support.apple.com/kb/HT1692
    If that new test contact appears on the iPhone as expected, then you probably first want to try exporting the Contacts to a csv file format, then reimport them into Outlook in your original user. If that doesn't do the trick, you can also create a new Outlook Profile and import your contacts to it.
    If the same issue exists in the new user, you should try restoring the iPhone. More info on this can be found here: http://support.apple.com/kb/HT1414
    Hope this helps,
    Raleigh

  • 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

  • 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

  • Adding field "name_3" to shipping address in shopping cart

    Hey community,
    we want to show some more shipping adress fields in the shopping cart (SRM 7.13).
    Quite simple, we thought... only the existent field "NAME_3" should be displayed. But we were not able to do that.
    Normally, we have to announce new fields and metadata in SPRO - SAP Supplier Relationship Management - SRM Server - Cross-Application Basic Settings - Extensions and Field Control (Personalization) - Configure Field Control - Configure Control for Fields of Substructures -  Metadata for Fields of Substructures and Table-Like Enhancements.
    But the two new fields are not displayed in the shopping cart.
    Any ideas?
    Thanks in advance,
    Werner

    Hello Werner,
    check in V_DODC_SHIPTO view from /SAPSRM/WDC_UI_DO_SHIPTO Web Dynpro Component if field exists in layout.
    In SRM 7.0, 'NAME_3' is not used. Maybe it is the reason of your problem...
    Regards.
    Laurent.

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

    Hi 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

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

  • New behaviour of delivery address in a shopping cart for SRM7.01

    Dear experts,
    I may have a wrong understanding in concept of delivery address in latest srm release SRM7.01 (SRM version7 enhancement package 1)?
    In previous versions, employees use to inherit the delivery addresses from the organization hierarchy.i.e. they use to inherit the delivery address from the company to which they are assigned.
    However, from SRM7.01 onwards, delivery address can be created at the business partner level i.e. individual employee level and one can assign these addresses as ship-to address for shopping cart.
    Am I correct in understanding the system behaviour here? Please, share your inputs.
    Thanks and regards,
    Ranjan

    Hi,
    So, if I understand correctly, an employee can select the ship-to or delivery addresses other than the one inherited from the company to which the employee was assigned.
    Secondly, the value help for delivery addresses shows delivery addressess assigned to other companies as well. In such cases, the shopping cart creator can pick up delivery address not assigned to his own company but other company. Will the system allow such behaviour. As SAP SRM supports cross company purchasing, can we take it as a part of cross company purchasing behaviour?
    Thanks and regards,
    Ranjan

  • Team shopping cart and Shopping on behalf

    Dear Experts,
    What is the difference you have observed between team shopping cart and Shopping on behalf?
    Do you observe differences other than the below ones:
    1. Team shopping cart can be taken over by any one in the team defined in the substitution of the creator in any stage (including even draft stage) so that the team members can enhance the shopping cart and take over it in the absence of the creator.
    However, 'Shopping on behalf' does not offer the same flexibility. In absence of the shopping cart creator, the original requestor (shop for) can just have receive or confirm the delivery in the shopping cart.
    Do you see any other differences other than the above ones?
    Regards,
    Ranjan

    Hello Ranjan
    Please find the answer below:
    In both team purchasing and shopping on behalf of other users, a person other than the requester is involved in processing the shopping cart. However, the two functions are used in different situations:
    If someone shops on behalf of another user, typically a single person works with the shopping cart from the start of the requisitioning process. For example, a purchasing assistant or secretary creates a shopping cart for a manager and follows the process through until the confirmation or invoice is created. Only the person on whose behalf the shopping cart is created can take over the shopping cart or the follow-on documents.
    In team purchasing, any user who is defined as a procurement substitute can take over the shopping cart. Within this process, several users can be involved and can take over the team shopping cart from each other. This can be useful, for example, in the following situations:
    An employee leaves the company, and the successor later takes over this person's responsibilities.
    An employee is sick, and a colleague takes over the shopping cart.
    A team of employees works in shifts, and a shopping cart that is time-critical must be processed by a colleague working in a different shift.
    Well, the reference to this answer is:
    [http://help.sap.com/saphelp_srm70/helpdata/EN/8e/1753cca4a6450784f3e2d1ecf6b09a/frameset.htm]
    Best Regards,
    Lakshmi

  • Completed shopping carts displayed in POWL as a Open cart

    Hi SAP Experts,
    Whenever create a confirmation of full quantity or value without last delivery indicator in SRM then this shopping cart still displayed in POWL as a open cart tab.
    Also we remove the include completed Shopping carts from the POWL query but still it is displayed in open carts.
    Please let me know how to remove this completed shopping cart from my POWL (Open cart Tab).
    Please let me know any standard setting or development for the same.
    Regards,
    Abhijit

    Hello,
    I have recreated this in my system, but I got a different result.
    I created a confirmation for full quantiy (without last delivery flag) and shopping cart is no longer displayed in POWL. It will be displayed only if I flag the "including completed shopping cart".
    At shopping cart item level, indicator FINAL_INV is updated with an "X".
    Check if this indicator has been updated in your cart.
    Run CLEAN_REQREQ_UP and see if something changed.
    Regards,
    Ricardo

  • Want to copy Delivery address of one line item in shopping cart to all item

    Hi Experts,
                    We are upgrading from SRM 5.0 to SRM 7.0,In SC Creation We want to copy Delivery address of one line item in shopping cart to all line items in Shopping cart by clicking Change All Items button.This is custom button we added this button and we had written code to achieve the functionality but it is not working.This is same like Change All Items button in Account Assigment for copy accont details of one line item to all other line items in SC.
    Web Dynpro Component:/SAPSRM/WDC_UI_DO_SHIPTO
    Web Dynpro View:V_DODC_SHIPTO
    Thanks,
    Aarthi.

    Hi Prasad,
                   Our customer needs that button,they want whenever they are clicking the button delivery address should copy to all line items.
    In my action ONCHANGE_ALL_ITEMS i called this method
    wd_this->mo_dodm_shipto->zchange_all_items( ).
    zchange_all_items( ) is  implemented in class /SAPSRM/CL_CH_WD_DODM_SHIPTO.
    the code i wrote inside zchange_all_items( )
    *Error
      DATA: LX_PDO_ABORT               TYPE REF TO /SAPSRM/CX_PDO_ABORT,  " Class for Fatal error caught by PDO Layer
            LX_PDO_ERROR               TYPE REF TO /SAPSRM/CX_PDO_ERROR.  " Class for PDO General Exception
    Object Instances
      DATA: LO_MSG_CONSUMER            TYPE REF TO /SAPSRM/IF_PDO_MSG_CONSUMER,
            LO_PDO_SHIPTO              TYPE REF TO /SAPSRM/IF_PDO_DO_PARTNER.
    Context-Data
      DATA: lte_cll_shipto              TYPE /sapsrm/if_ch_wd_set_facade=>gt_guid_element,
            loe_cll_shipto              TYPE REF TO /sapsrm/if_ch_wd_set_element.
    Field Symbols
      FIELD-SYMBOLS <lse_cll_shipto>    LIKE LINE OF lte_cll_shipto.
    DATA : lo_pdo_acc TYPE REF TO /sapsrm/if_pdo_do_acct_assgmnt.
      DATA : ls_shipto_cll type /SAPSRM/S_CLL_SHIPTO,
             lt_pdo_partnerdetails      TYPE bbp_pdt_partner,
             ls_pdo_partnerdetails      TYPE bbp_pds_partner,
              LV_GUID          TYPE BBP_GUID,
              lv_item_guid type bbp_guid,
             lv_filled TYPE wdy_boolean.
    *exceptions
      DATA : LX_ABORT                  TYPE REF TO /SAPSRM/CX_PDO_ABORT.
    *Constants
      CONSTANTS : LC_OBJECT_ID         TYPE CRMT_SUBOBJECT_CATEGORY_DB VALUE 'BUS2121001',
                  LC_ADDR_ORIGIN       TYPE /SAPSRM/S_CLL_SHIPTO-ADDR_ORIGIN VALUE 'B'.
      IF LV_FILLED = ABAP_TRUE.
    Downcasting to shipto
        LO_PDO_SHIPTO ?= MO_PDO.
    insert the clipboard into facade and update and submit update
        me->/sapsrm/if_cll_do_mapper~insert_from_clipboard( io_set_facade = mon_cll_set_facade ).
    Add new Accounting entries.
        lte_cll_shipto = mon_cll_set_facade->get_data_elements( ). "get all elements from the context
        LOOP AT  lte_cll_shipto ASSIGNING <lse_cll_shipto>.
          loe_cll_shipto = <lse_cll_shipto>-set_element.
          loe_cll_shipto->get_static_attributes( IMPORTING rv_attributes = ls_shipto_cll ).
    Map ui-structure to pdo-structure
          MOVE-CORRESPONDING ls_shipto_cll TO ls_pdo_partnerdetails.
          IF LS_SHIPTO_CLL-PARTNER_FCT =  mv_part_func.
            LS_PDO_PARTNERDETAILS-PARTNER_FCT = ''.
          ELSE.
            LS_PDO_PARTNERDETAILS-PARTNER_FCT = LS_SHIPTO_CLL-PARTNER_FCT.
          ENDIF.
          IF ls_pdo_partnerdetails-del_ind NE 'X'.
            CALL FUNCTION 'GUID_CREATE'
              IMPORTING
                ev_guid_16 = ls_pdo_partnerdetails-p_guid.
           mv_acc_guid_split = ls_pdo_shipto-guid .
            IF mo_scope = 1.
              ls_pdo_partnerdetails-p_guid = mon_cll_set_facade->get_bo_guid( ).
            ELSE.
              ls_pdo_partnerdetails-p_guid = mo_parent_bo_mapper->items_get_lead_selection( ).
            ENDIF.
            APPEND ls_pdo_partnerdetails TO lt_pdo_partnerdetails.
          ENDIF.
          CLEAR : ls_pdo_partnerdetails, ls_shipto_cll.
        ENDLOOP.
    Add New items to PDO
        IF NOT lt_pdo_partnerdetails[] IS INITIAL.
          TRY.
              LO_PDO_SHIPTO->update_item_partners( EXPORTING it_partner = lt_pdo_partnerdetails
                                                               iv_item_guid       = lv_item_guid
                                                   CHANGING co_message_handler = mo_pdo_message_consumer ).
            CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
              mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
            CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
              mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
          ENDTRY.
    Update PDO with the changed data.
          TRY.
              mo_pdo->submit_update( ).
            CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
              mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
            CATCH /sapsrm/cx_pdo_error INTO lx_pdo_error.
              mo_cll_message_handler->add_exception( io_pdo_error_exception = lx_pdo_error ).
          ENDTRY.
    Fire refresh of DO Mappers registered for refresh since the item table has acc related data.
          mo_parent_bo_mapper->fire_event_refresh( iv_perform_updates = abap_false ).
        ENDIF.
      ENDIF.
    Thanks,
    Aarthi.

  • How to change delivery address of limit order shopping carts?

    I created and hold a limit sc. Afterwards I wanted to change the delivery address of the position by starting 'status check' and update sc.
    I cannot find a tab with delivery address according to the screens of 'wizard'.
    I get only the display of preferences for new shoppinc cart lines.
    We have SRM 5.5 Server and ECS.
    Can anyone help me?
    Regards Joe
    Edited by: Joe on Oct 16, 2008 5:35 PM

    Hi Joe,
    Did you try to do via default ADDR_SHIPT address atribute? so this default values applicable to your limit sc also.I agree Joe. you are absolutely  correct . There is no ship to address / location folder  to change the delivery address in limit shopping card. We can not see ship to address folder in limit sc.
    DEFAULT SETTINGS FOR ITEMS HAS SHIPT TO ADDRESS so you could not see.
    regards
    Muthu

  • SRM 7.0 Shopping Cart Item - customizing Delivery Address Tab fields

    Hi experts,
    I have to make the fields of tab Delivery Address in the Shopping Cart (Item detail) only readable.
    In other threads I found similar questions: in SRM 7.0 I have to go in Customizing
    SAP Supplier Relationship Management -> SRM Server -> Cross Application Basic Settings -> Extensions and Field Control (Personalization) -> Configure field control
    and add fields for which I want properties to be changed.
    The problem is that at start of the SC creation the fields are blank again, they became gray only if, for example, I take an address with the match code on NAME field, that populate the other field of the tab. Or if I check the document after I've insert the address Name.
    Thank you in advance.
    Enrico Righetto

    Hello,
    Check here how the delivery address determination works:
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=230261594
    If field is made as read only when address is maintained, the best option would be to maintain a standard address number in ADDR_SHIPT attribute in PPOMA_BBP.
    Regards,
    Ricardo

Maybe you are looking for

  • RUN_REPORT_OBJECT returns server_name_0 (zero job id)

    When run_report_object is called, it returns the server name with an '_0' (underscore zero) appended to the end. Example: my_server_name_0 I presume that's where the job is is supposed to be, but what does 0 (zero) mean? Should it be returning the se

  • EXCEPTION : MySQLSourceModelMap.mapUserSystemPrivileges(): [POL-5228]

    Hi all, I just downloaded Oracle Workbench Migration specially for MySQL 5. omwb_mysql5_beta.zip I tried to Capture Source Database from my localhost mysql server. I created a dummy database with a single table and a column. However during capturing

  • Getting Started PERIOD....

    Not asking for tips (YET). I just want to know which programs I would need to create a 3d chatroom, with audio capabilities. Not live streaming audio but user uploaded audio. Any help would be greatly appreciated!!! Thanx - Buji

  • Printing error with Elements 10

    When I print a single 4x5 image on an 8.5 x 11 sheet of paper,  the entire sheet, less the eighth inch margins,  receives an almost invisible layer of color. Where is the dialog box generating the instruction to print this background and how do I dis

  • Safari 5.1.9 on OS 10.6.8 doesn't work anymore.

    Hi, Everytime I open Safari 5.1.9 on OS 10.6.8, it litterally freezes my iMac for at least 10 minutes (can't even do Force Quit!) and then shuts. I thought the Java for 10.6 update was going to solve the problem, but it didn't. Anybody else has that