Blanking out default shopping cart name

Hi,
I wish to blank out the default shopping cart name when creating a new shopping cart.
I know I can use BBP_DOC_CHANGE_BADI-BBP_SC_CHANGE to change the field, but since this BADI is called multiple times, is there a way I can determine if it is the first call in create mode? Or is there another way on blanking out the field?
We are looking at SRM 5

Hi Jon,
SC name is defaulted when creating the SC, in FM BBP_SC_APP_EVENT_DISPATCHER --> FORM sc_init --> FORM sc_create, just before calling BBP_PD_SC_CREATE and its BADI BBP_SC_CHANGE.
So:
- either you change this std ABAP code
- either you have enough data in the BADI to determine that you are in create mode, and not in update mode (no item data, minimum header data)
Rgds
Christophe

Similar Messages

  • How to get Shopping Cart Name from PO number in EBP ?

    Hi,
    If I have the PO number how I can get the shopping cart name related to this PO? I need technical fields and table relations.
    Regards,
    Achirangshu

    I'm not sure if this will work. I posted an answer to a similar question a while ago, but it didn't work well in the posters system. So maybe we can try this in steps. See if you get results from this:
    REPORT ztest   MESSAGE-ID 00 LINE-SIZE 80.
    TABLES srrelroles.
    PARAMETERS: po_no(10) DEFAULT '3000001977'.
    DATA: xobjkey  LIKE srrelroles-objkey,
          roleid(22).
    CONCATENATE po_no 'X' INTO xobjkey.
    * use PO to obtain the role id
    SELECT * FROM srrelroles
      UP TO 1 ROWS
      WHERE objtype EQ 'BUS2012'
        AND roletype EQ 'BBP_TARGET'
        AND ( objkey >= po_no
        AND   objkey <= xobjkey ).
      roleid = srrelroles-roleid.
      EXIT.
    ENDSELECT.
    You'll have to use a PO that you know exist in your system.
    If you get no results, try removing the WHERE on objtype and/or roletype and see what values are returned for these fields.
    Rob

  • Product Category mapping from Punch-out to Shopping Carts

    Hi,
    We are implementing Punch-Out catalogs. We are on SRM_SERVER 550 and SP 11.
    Product Category brought from field 'MATGROUP' field of structure 'CATALOG_CONTENT' in BADI BBP_CATALOG_TRANSFER is picked up and wrote our own logic for mapping it with the available UNSPSC codes either at Family level or Segment level. The nearest available UNSPSC code is picked up and passed to output structures ENRICHED_ITEM_DATA and ET_SC_ITEM_DATA in the field 'CATEGORY_ID'.
    This is tested by putting external debugging points and found to be working fine.
    However when transferring data to Shopping carts, the default Product Category for User ID is shown up instead of the one from output of BADI BBP_CATALOG_TRANSFER.
    Please let me know if i am doing correct or any suggestions are appreciated.
    Thanks
    Venkat

    even we had the same issue -->
    please note that category in SRM system has both category id and also category guid
    so , you need to retrieve --> the guid of the category using the FM
    CALL FUNCTION 'BBP_CATEGORY_GET_GUID'
            EXPORTING
              category_id   = category_id
            IMPORTING
              category_guid = iv_comm_cat
            EXCEPTIONS
              NOTHING_FOUND = 1
              OTHERS        = 2.
    and then assign as shown below
    wa_bbp_oci_enritem-category = iv_comm_cat.
    and then modify ENRICHED_ITEM_DATA

  • I lose JQuery functionality after checking out from shopping cart...

    Hi Folks,
    I have set up a slideshow using JQuery.  I have started a one month eCommerce subscription but have not yet added the clients domain name to BC (therefore still using the http://clientsite.businesscatalyst.com domanin).
    After checking out from the shopping cart I am redirected to http://clientsite.worldsecuresystems.com/...
    When this happens I seem to lose functionality of my javascript plugins such as slideshow and 'prettyphoto' plugin.
    Any thoughts would be much appreciated.
    Thanks and regards
    Brendon

    Hi Brendon, if you search the forums there is a lot on this. "Dom Killing" , "Add to cart jquery" etc.
    You should see all the discussions as it is quite intensive because of the way the BC scripting works and varius sollutions depending on your coding and BC knowledge.

  • Is there anyone who can help me out in shopping cart creation by FM?????

    Hi Guys,
    I am trying to create a Shopping cart in SRM system executing the RFC from External system.I am trying hard to solve this issue since last 1 months and still i am not able to do that.plz help me out its very urgent now.
    I am trying to use BBP_PD_SC_CREATE in combination with BBP_PD_SC_SAVE and Commit.
    Here Below i am mentioning what all fields i using to pass the data, and what all errors i am getting after executing the function Module.
    Please check it and tell me where exactly i am doing mistake.
    FM ---> BBP_PD_SC_CREATE
    I_REF_GUID 00000000000000000000000000000000
    I_PARK X
    I_SAVE X
    I_HEADER
    GUID 00000000000000
    DESCRIPTION TEST
    CURRENCY USD
    PROCESS_TYPE SHC
    I_ITEM
    GUID 00000000000000000000000000000000
    PARENT 00000000000000000000000000000000
    NUMBER_INT 0000000001
    NUMBER_EXT 0000000000
    PRODUCT 00000000000000000000000000000000
    DESCRIPTION MONITOR
    CATEGORY 00000000000000000000000000000000
    CATEGORY_ID 65.10
    QUANTITY 1.000
    UNIT EA
    PRICE 1.00
    PRICE_UNIT 1
    GROSS_PRICE 1.00
    CATALOG_PRICE 0.00
    CURRENCY USD
    PRODUCT_TYPE 01
    LOGSYS_FI CFG300
    BE_LOG_SYSTEM CFG300
    BE_PLANT BUS1
    BE_MOVE_REAS 0000
    BE_PUR_GROUP W01
    BE_PUR_ORG IBRD
    BE_CO_CODE IBRD
    BE_DOC_TYPE ECPO
    BE_PACKNO 00000000
    BE_INTROW 00000000
    BE_PO_PRICE 1
    I_ACCOUNT
    GUID 00000000000000000000000000000000
    P_GUID 00000000000000000000000000000000
    DISTR_PERC 100.00
    ACC_NO 0001
    ACC_CAT CC
    SRC_GUID 00000000000000000000000000000000
    G_L_ACCT 500411060
    BUS_AREA VTRS
    COST_CTR 6589
    SDOC_ITEM 000000
    SCHED_LINE 0000
    CO_AREA WBG1
    PROF_SEGM 0000000000
    CMMT_ITEM 500411060
    FUNDS_CTR 6589
    FUND BB
    I_PARTNER
    PARTNER_GUID 000000000000000000000000
    P_GUID 000000000000000000000000
    PARTNER_FCT 00000039
    PARTNER_NO
    ADDR_TYPE 1
    ADDR_ORIGIN A
    ADDR_NO 10735
    PARTNER_ID 1058
    same like i have passed 3 more partner details.
    I_ORGDATA
    GUID 0000000000000000000000000
    P_GUID 0000000000000000000000000
    PROC_ORG_RESP_ID 50000641
    PROC_ORG_ID 50000640
    PROC_GROUP_ID 50000641
    When i execute it, i am getting error like
    "Interface Data Contains error"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDDYN"
    "Incorrect Interface Data for set PDFRT"
    "Incorrect Interface Data for set PDHCF"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDORG"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDTAX"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDTOL"
    "Incorrect Interface Data for set PDWGT"
    "Enter Atleast one item for one limit"
    Thanks alot.
    GRTZ.
    Regards,
    Manoj Tiwari

    Hi,
    before I would try to save a SC to the database, I would check how I have to fill the interface. Therefore I would suggest to read at first a SC from the database with FM BBP_PD_SC_getdetail. With this example of an existing SC you should be able to will the interface correctly.
    E.g. when you check an existing SC with FM BBP_PD_SC_getdetail you see that some parameters are missing in your I_ORGDATA part. The I_ORGDATA part of my SC example looks like the following:
    PROC_ORG_RESP_OT               O       
    PROC_ORG_RESP_ID               92001699
    PROC_ORG_OT                    O       
    PROC_ORG_ID                    92000053
    PROC_GROUP_OT                  O       
    PROC_GROUP_ID                  92001699
    Here you can see that you forgot the whole *OT parts! In your case the system doesn't know that you mean an orgunit.
    As I mentioned above, when you know how a SC looks like on the database, it should be easy to fill the FM interface.
    Best regards
    Dennis

  • Print-out of shopping carts - add additional informations

    Hi SRM-experts,
    one simple question. Is it possible without modification to add in the print-out of the shopping cart additional informations such as the purchase order number. Is there a possibility to customize that function ? Thanks for yours replies.
    AW

    Hello,
    This will need small enhancement in the smatform. You will find it easy.
    Use T-Code SMARTFORMS and copy the standard smartform for SC layout "BBP_SC"  and create a Z-one and use that by implementing the BADI BBP_CHANGE_SF_SC.
    You can get the PO value from the table BBP_PDBEI.
    Hope this solves the issue.
    Thanks
    Ashu

  • How to find out default screen variant name

    Hi All,
    For particular sales order creation I want to find out which screen variant has been used.
    I have tried using SHD0, with entering Transaction code as VA01 but in that for Transaction variant field there are 5 different transaction variant names are mentioned.
    Please guide me how to find out the transaction variant name used in va01 for particular sales order.
    Thanks and regards,

    Hi,
    Goto VOV8 T.Code.
    Select your order type.Details.
    Check what is the transaction variant assigned to your order type.
    It is used while creating the order.
    This field is present in transaction flow tab.
    Regards,
    Krishna.

  • Fatal Error encountered while creating a Shopping Cart.

    Hello people,
    Im an amateur ABAP/WDJ Developer, and i am facing a serious issue,i would be so glad if anyone can help me out with this.
    When i create a shopping cart on the portal, it goes all smooth until the checkout, when i click on checkout, it flashes an error...
    "Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Incorrect encoded sequence detected at character (hex) 0xa0, (bin) 10100000. Check whether the input parsed contains correctly encoded characters. Encoding used is: 'utf-8'(:main:, row:2, col:59)Exception"
    I have tried taking traces and have have gone through the FMs that are called from the SRM, but with no luck.
    Can anyone please help me out with this?
    -Regards

    Raghav
    Did you get this issue resolved.  We're having a similar problem.  When the data is entered into the Shopping Cart Name field, it sometime has Hex "C2A0" which looks like the Unicode representation of the UTF-8 Non-Repeating Space character.   This is user entered data and my initial thought was that they were copying and pasting from a web site, but the user claims not.

  • Shopping cart Print Form

    Hi Gurus,
    We just recently implemented SRM 7.0 classic scenario and no changes were made on shopping cart print form provided by SAP.
    We are exploring on the possibility of inputting additional details to be displayed during print out of shopping cart.
    Is there any BADI we can use and smartforms for the changes. Please advice.
    Thanks.

    Hi Gurus,
    I have analyzed the reported issue. Could you please implement the
    BADI BBP_CHANGE_SF_SC and set the custom smartform you require to use
    in the BADI. Once you set the Z smartform name in the BADI the same will
    be used by the system for output.
    I hope this helps you.
    Kind Regards,
    Edel.

  • Creation of Shopping Cart Infocube on the top of DSO(0BBP_SC)

    Hi Experts,
    I am new to SAP BW/BI. So please help me in solving this issue. I am planning to create an Infocube on top of Standard Shopping Cart DSO (0BBP_SC - Shopping Cart - Individual Documents). There is no standard Infocube for shopping Cart so i have to create a new one.I am doing this to improve performance (So that i can built aggregates, rollups, compression on Cube).
    We are using SRM 5.0, SAP BI 7.0
    Does this make sense, let me know if i need to post any further information.
    Thanks,
    SAPBWI

    Hi Dennis,
    I really appreciate for quick response. Please input your feedback on the below situation:
    We are currently using the shopping Cart DSO along with PO Account Assignment DSO for reporting (on Multiprovider). Due to heavy load and constant change in user requirements there have been performance issues in the past. Now the end users want separate reports on Shopping Cart and PO Account Assignment. So I came with up the idea of building the Cube on top of Shopping Cart DSO and then built separate Report.
    Present situation of the report:
    Variable Entry:
    Created on Date, Cost Centers, Internal Orders, Purchase Group, SC Created By, Goods Recipient, Requestor, Vendor
    Some of the Characteristics we are using in report:
    Shopping Cart Date, Shopping Cart Number, Purchase Order Number, SC Created By, SC Requestor, Goods Recipient, Purchasing Group, Controlling Area, Cost Center, Chart of Accounts, G/L Accounts, Order, Vendor, PO Line item Number, SC Item Number, SC Status, Shopping Cart Name & many custom fields pulled from the SRM system.
    Please let me know for this scenario the good practice (Reporting on DSO or CUBE)
    Thanks,
    SAPBWI

  • Creation of Shopping cart from CPPR

    Hi,
      While creating shopping cart from Collective processing, we have implemented BBP_DOC_CHECK_BADI for validations. Now, after this BADI, in the standard process the messages are being appended in the /SAPSRM/IF_SOA_MSG_HNDL~GET_ERROR_CODE. The creation is failing in Quality system but it is successful in Development system. Can you please tell me reason for difference in Error Handling process in both the systems.
    The messages are getting cleared in Development system in BBP_PDH_MSG_INTERNAL_SAVE while in Quality system, it is not getting cleared. I found a parameter IV_METHOD in this FM and the sequence of calling this FM with IV_METHOD is differing for both.  Are there any SAP notes?
    In Brief,the error message from the BBP_DOC_CHECK_BADI Implemention are being cleared in Development system and not getting cleared in the Quality system.
    Please provide me some points to resolve this.
    Thanks inadvance,
    Deepthi
    Edited by: Deepthi B on Sep 29, 2010 1:02 PM

    Hi Dennis,
    I really appreciate for quick response. Please input your feedback on the below situation:
    We are currently using the shopping Cart DSO along with PO Account Assignment DSO for reporting (on Multiprovider). Due to heavy load and constant change in user requirements there have been performance issues in the past. Now the end users want separate reports on Shopping Cart and PO Account Assignment. So I came with up the idea of building the Cube on top of Shopping Cart DSO and then built separate Report.
    Present situation of the report:
    Variable Entry:
    Created on Date, Cost Centers, Internal Orders, Purchase Group, SC Created By, Goods Recipient, Requestor, Vendor
    Some of the Characteristics we are using in report:
    Shopping Cart Date, Shopping Cart Number, Purchase Order Number, SC Created By, SC Requestor, Goods Recipient, Purchasing Group, Controlling Area, Cost Center, Chart of Accounts, G/L Accounts, Order, Vendor, PO Line item Number, SC Item Number, SC Status, Shopping Cart Name & many custom fields pulled from the SRM system.
    Please let me know for this scenario the good practice (Reporting on DSO or CUBE)
    Thanks,
    SAPBWI

  • Shopping Cart Line Item Interval

    Hi Experts,
    We are on SRM 7.0 SP05, By default shopping cart line item interval is 1,2,3,4.....etc,. My requirement is to have it as 10,20,30,40.....etc,
    Is it possible to achieve this ?. If yes, please let me know how to do that.
    Appreciate your help
    BR,
    Siva

    number range not advisable stick with SAP rules.
    even we are i classic po /pr LINE ITEM 10 ,20 SC W.R.T 1,2 ...ITEM.
    concentrate some other customer developments and convince customers regarding this.
    Muthu

  • Table for PO and Shopping cart  combination in SRM

    Hi Guys,
    Can any one help me out with a table which gets updated with PO and Shopping numbers in SRM.?
    Regards
    Srujank

    Hi Srujan.
    The table CRMD_ORDERADM_H will store the document numbers. But it wont be storing both the shopping cart as well as PO number for a record.
    To find out the SC number from PO or vice versa use the following method:
    You can use pass the PO number in function module BBP_PD_PO_GETDETAIL.
    From here you will get the Shopping cart Item Guid in E_ITEM-SRC_GUID. You can again pass this guid in the table CRMD_ORDERADM_I and get the parent guid.
    Pass this parent guid in table CRMD_ORDERADM_H to get the shopping cart number. Its stored in the OBJECT_ID field.
    There is another way to find out the shopping cart number:
    Pass the PO number in FM BBP_PD_PO_GETDETAIL
    Check the E_HEADER_REL, when the value of the field OBJTYPE_A = BUS2121 then the field GUID_A will contain the header guid of the shopping cart.
    Use this guid to get the SC number from table CRMD_ORDERADM_H.
    Hope this helps.
    Thanks,
    Pradeep

  • Shopping Cart approval process in SRM using Black Berry

    Hi,
    I am very new to SRM. Here the user wants the whole approval/rejection process of shopping cart should be done via the Black Berry.
    When a shopping cart is created in SRM then automatically a mail should appear in this mail box(outlook or lotus) as well as in the black berry mail box, so from black berry the user will accept/reject the shopping cart.
    What workflow should be used? for mailing to outlook as well as in the blackberry whether we should implement any BAdI and also for integrating SRM & black berry whether we require any plug-in or configuration to be done..
    Please do the needful..
    Thanks and Regards,
    Chandra Sekhar

    Hi,
    pl. read this:
    Mobile Enterprise Buyer
    Use
    Users can log on to the Enterprise Buyer system using a WAP-enabled cellular phone or any other WAP-enabled front end. This allows them to perform many procurement tasks completely independently of any docking station. These mobile applications are part of the standard system setup for Enterprise Buyer.
    Managers can approve shopping carts while on business trips far away from the office.
    The start URL for the mobile scenarios is:
    http://.:/scripts/wgate/wapbbpstart/!?~language=
    where <language> = de or <language> = en, for example.
    The initial screen is displayed in the relevant language.
    Integration
    You can either use your own WAP gateway or you can use a WAP gateway service from a telecommunications provider. If you have your own gateway, you can position it behind your firewall. This means that communication is via a dialup line as far as the WAP gateway, that is, a secure connection going behind the firewall. Beyond this point, communication is via HTTP. If you are using a WAP gateway service, the dialup line stops outside your firewall with the less secure HTTP communication starting outside the firewall.
    The graphic shows a standard configuration with a WAP gateway located behind the firewall.
    Prerequisites
    You require the following:
    WAP-enabled mobile device
    WAP gateway
    WML-enabled catalog that supports OCI
    You have configured your Web server to handle the MIME (Multipurpose Internet Mail Extensions) types required for WAP. These are as follows:
    File extension
    MIME type
    Wml
    text/vnd.wap.wml
    Wmlc
    Application/vnd.wap.wmlc
    Wmls
    text/vnd.wap.wmlscript
    Wmlsc
    Application/vnd.wap.wmlscriptc
    Wbmp
    image/vnd.wap.wbmp
    If you have your own Web server, you define the MIME types using the Web server's administration tools. In Microsoft IIS, you have to enter the types on the Properties page of your site on the tab card HTTP Headers. If you are not using your own Web server, inform the administrator or provider running the Web server.
    Features
    The following functions are available:
    Create new shopping cart
    Users can:
    Select catalogs using input help
    View catalogs (by product group)
    Search for products in catalogs (full text)
    Display item details
    Add items to shopping carts
    Delete items from shopping carts
    Change item quantities
    Delete shopping carts
    Order shopping carts
    When a shopping cart is ordered, an order confirmation is displayed giving the shopping cart name and the total value of the shopping cart.
    Status check
    Users can:
    Display overview of shopping carts (shopping cart name and status)
    Display header data for shopping carts (for example, shopping cart name and date of last change)
    Inbox
    Users can:
    Display overview of work items (only shopping cart approval) and messages
    Display detail view of messages (sender and full short text)
    Display detail view of work items (full short text only)
    Managers can approve or reject shopping carts
    Managers can only approve or reject complete shopping carts. Approval and rejection at item level is not possible.
    Reporting
    Managers can display the most recent purchase orders created for their cost center(s).
    to get presentable doc mail me on
    [email protected]
    BR
    Dinesh
    <b>Reward if helps</b>

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

    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

Maybe you are looking for

  • Sales order wise report

    HI friends I am generating a report according to sales order wise stock . I need a help in these kdauf             kdpos      shkzg        menge           0000001663     000010     S           10 0000001663     000010     S           20 0000001663  0

  • Employees are not listed in PPOME or HIS ?

    Hi, I used BDC to migrate personnal data with PA40 . ( Hire person where I fill the position ) , But then I can not see that person in PPOME or reporting tool HIS , Although these persons are assigned well with approriate position & Org unit . Even I

  • Customer/Supplier Statements problem

    Hi Experts On my master system my supplier/customer statements have stopped showing the BP details such as address and cardcode.  Nothing has been changed in the PLD over the last few days and my test system is working perfectly with the same informa

  • Need a comment for my program & questions.

    Dear all, I have just finished my simple project with LabView. Actually, I have no much experience with LabView language. Therefore I would like to hear your invaluable comments about using structure, variable, and some habits to write the program. P

  • Sreensaver starts even though it is set to "never" in preferences

    Also hot corners are inactive so there's no chance to activate screensaver accidentaly. Any ideas, please?