Adding Extension field in B2B Application - From Catalog to Basket

Hi,
I am working on B2B application CRM 7.0.
My Client requirement is as follows:
User can add only one item from the catalog to the basket at a time.
Multiple products can be added to the catalog (one after the another).
While adding the product from catalog, user needs to enter some text corresponding to a line item.
This text needs to appear in the line item basket and same needs to be saved in the item order level.
As per the Dev Extension guide, extra fields can be saved using the "item.addExtensiondata(obj,obj)" method at the object level. I am adding this in customerExitCreateBasketTransferItem() method corresponds to "com.sap.isa.catalog.actions.AddToBasketAction" .
But, when i go to basket(order.jsp) "item.getExtensionData(obj)" returning the null value.
Please let me know where i need to add this extension.
-Chandra.

There are two possibilities:
After adding extension data to any standard ISA object, if there is a backend roundtrip - that is, if that happens to be used in the ISA BAdI (the header and item) BadIs, you have to watch for your extensions carefully. They have to be read in the backend set method in the BAdI, persist them and send them back in the get methods to the Java layer.
Another reason could be, the you are adding the extension to one object and trying to read it in another.

Similar Messages

  • Adding extension fields on standard Sales Lead screen on cloud for customer

    Hello Experts.
    I have a requirement to include custom fields drop downs on Sales Lead layout. Also, apart from first drop down the values of others are driven dynamically by the runtime input values. I assume there are two ways to include the custom fields.
    1. Using cloud studio, by creating a custom BO & then using extensibility explorer to enhance the standard screens.
    2. By using the ADAPT funcitonality at the UI level.
    While performing the method (1), I am not finding any option on existing standard lead screens as add extension field to section group. So I am not able to include my custom created field on UI.
    While performing method (2), I have included the field in UI & have created a reference of extension field in studio as well but my query is how to use that field in other actions or events as rest of the drop down values are driven by this drop down.
    Is there any other method to perform this task. Any sort of information is welcome.
    Thanks & Regards,
    Ravi Katyal

    Hello Alessandro,
    Thanks a lot for your suggestion, I have performed the Method (2) and was able to add the fields on the standard UI. The issue was that the sales lead screen in standard repository was termed as 'COD_MarketingLead'. So, I was not looking in that with more insight. Now, my requirement is to perform a dynamic dropdown dependent on a previsouly selected value in a drop down. Do you have any insights in that, I am planning to use this approach which I just realized is penned by you only. Thanks for that as well.
    Create a dependent dropdown without context mapping

  • Limitation on Adding custom fields into VBAP (Updating from BAPI )

    I have added some custom fields into BAPI structure BAPE_VBAP and corresponding structure to update the custom fields added into VBAP.
    in my code i am passing the value bapiparex-valuepart1 = bape_vbap0(240). bapiparex-valuepart1 = bape_vbap240(240),
    bapiparex-valuepart1 = bape_vbap480(240) and bapiparex-valuepart1 = bape_vbap720(240)
    But, while activation its informing me that more than 441 character length not allowed for the structure. Where the total length should be allowed upto 960.
    is there any OSS notes which i can apply to extend the limit for adding more custom fields into VBAP .
    Please help

    Dear All,
    Good Morining.
    The User creation and Assigining roles is done by the same preson and As i have mentioned above i am disabling the Manage_User action,And if i give the responsiblity of assigining  roles to an other person then he can also create user (standard functionality) where i cannot add my required features.Thereby leading for inconsistency.Therefore we thought that we will also add this funtionality in Webdynpro application and for the same, we have to provide the search criteria where currently we are able to search the role based on data entry(eg:t* or Ume etc) .But we need to search also based on the DataSource(ie Portal Role ,All DataSource and UME).Please Can you guide me in this.
    Also please let me know if we are going in a right approach and also suggest any better approach to achieve the same.
    Thanks and Regards,
    Nishita Salver

  • Extension fields

    Hi experts,
    If i want to add some extension fields in Personal profile of employees, i add extension fields and now if i will download data migration template of employee,will i be able to get those extension fields in that data migration template?
    Edited by: Pooja kewalramani on Jan 30, 2012 6:47 AM

    Thank you Christian Happel
    I tried adding extension field and then downloaded the data templates
    I am able to get those extension fields as a part of data migration template

  • Adding Custom fields to standard  SAP-EBP application

    Hi,
    A functionality requires some custom fields to be added to the standard SAP-SRM EBP ( Manage business partners) application.
    If I copy the whole BBP_VENDOR_CREATE program into a Z-program, and the BBPMAININT internet service to a Z-application, then would it be feasible??
    Which is the best way to add custom fields in a SAP standard EBP application--in the 'Manage business partners' section.
    Regards,
    Goutam

    Hi
    I don't think it's easily possible to add custom fields to the existing transaction - BBPMAININT.
    For adding customer fields you can refer the SAP OSS not - 672960, but I don't think it will be of much help here.
    <b>Since SAP has not upgraded this transaction - BBPMAININT for a quite long time, you need to do all the logic and validation from your end.</b>
    <u>Better to go for you own Z (custom program) and make your logic accordingly.</u>
    Regards
    - Atul

  • Adding a field from a catalogue in 'create shopping cart' display screen

    Hi all,
    I am new to SRM and i am faced with the following situation:
    I need to add a field called 'supplier part number' to the 'create shopping cart' screen from the MDM catalogue. Once the entries for the field 'supplier part number' are fetched from MDM catalog, they must be displayed corresponding to every line line item displayed under 'item overview'. Currently the entry for 'supplier part number' for a given item is displayed in the 'detailed display' tab observed after clicking on the line item under consideration. But, I need to add this field to the items list under 'item overview' rather than restricting it to detailed display tab alone.
    in my case the webdynpro component associated with adding item details from MDM catalogue is  '/SAPSRM/WDC_UI_SC_DOTC_BD' and the view is  'v_sc_dotc_basic'. I am not able to locate the method/section of code that is responsible for fetching the entries in the field 'supplier part number' from MDM CATALOG to the item overview screen.
    can you please give me any leads like - where i could possibly do the changes in the webdynpro component and any other details that can help me add the  'supplier part number' field to details under items overview tab.
    Regards,
    Abhinay.

    Hello,
    Have you tried to add this field using the Catalog UI configuration tool?
    The URL for the tool should be something like
    http://adress:port/webdynpro/dispatcher/sap.com/tcmdmsrmcat~uisearch/MDM_SRM_UI_App?x

  • Extension fields in forms using Adobe LiveCycle Designer and SAP Cloud Application Studio.

    Hello everyone,
    I am new to using SAP Cloud Application Studio and am currently working on forms.
    I have created some extension fields in the dunning letter form message type : FormDunning Notification.
    Upon activating, the extension fields do show up in backend form data type structure.
    However i am unable to find the fields in the front end form under Form Template Maintenance.
    I have tried opening form with open editor as well as downloading template and opening in Adobe LiveCycle Designer .
    After creating the data connection in adobe ,the first field (ProjNumDun ) do appear in correct place in data view.But i cant find the rest of the fields.
    Any help,guidance and suggestion will be really appriciated.
    Thanking in advance,
    Kamakshi

    Kamakshi,
    First, any extension fields added must be explicitly assigned to appear on the forms. Through Front-end Adaptation, this would be via the "Further Usage" link. Within the SDK, you'd right-click the XBO and select "Enhance Forms" (which would take you to the same screen as you'd end up at in through front-end").
    You must select "Add Field and Edit..." to actually assign it to the Form Template schema.
    Once this step is done, re-download the Form Template, and make sure to reload the Data Connection within LiveCycle. Through there, you should see your fields. You'll likely have to dig for them - they appear at the very end of the child elements.
    Note that, while fields added through the front-end have a long string appended to the end (for example, it would appear as "ExtensionField_1234AISU897234HJA" if added via front-end adaptation), the fields added via the SDK do NOT have the suffix (you'll be looking for an element with JUST the field name, i.e. "ExtensionField")

  • How to find particular CRM BAPIs from Java code of ISA B2B application?

    Hi Guys,
    I am newbie in CRM ISA field. I am supporting CRM ISA 5.0 B2B application.
    Basically I had a question about how to go about finding the BAPIs which are getting called from the Java side of ISA.
    I know that the framework uses JCO connection in order to execute BAPIs in the back-end and usually these BAPIs are standard.
    So I can put a break-point on the CRM bapis and see which is called when.
    But if I want to track BAPIs from Java code, what should be my approach?
    Please help.
    Thanks!

    Hi,
    To setup the trace logs you need to use the following URL.
    https://<system domain name>:port/<application_name>/admin
    typically it should look like as below:
    https://abc.com:50001/b2b/admin
    Here there is an option to start and stop the logs and after stopping it will generate a Zip file which you need to download and from there you can easily find out the BAPI's or teh RFC calls.
    Also when you search you should alwways keep one thing mind that these FM's normally start with CRM_ISA*
    Hope it helps.
    Regards
    Sidd

  • Added new field to cube but data not passed from DSO

    Hope someone can help.
    (BI 7.0) We added new fields into a cube. The fields already existed in the DSO. When we ran the process chain in development for the first time after making this change, we notice that the 'historical' data for these fields is populated in the cube. When we do this in our quality system only new data passed to the cube is updated. In development in the sub-chain DTP request we see all previous requests listed under selections. In quality it is only the latest request. The only difference is that the DeltaInit flag in the DTP request in development is ticked (extraction mode) - but not in quality. Does anyone know whyb this is?

    hi peter,
    Adding fields to cube doesn't affect delta status...The delta DTP should be able to handle delta requests automatically.
    I guess in you quality system, the cube already got all requests updated from ODS before you importing the change request. And in develop system none of the requests in ODS were updated before the change.
    Regards,
    Frank

  • B2b application upgrading from crm 5.0 to  7.0

    hi,
    I am a java developer.I am very new to sap and nwds and nwdi. I am having a custom crm B2B application built on java and struts, and a standard application.My sap BASIS team upgraded backend components from crm 5.0 to 7.0.Now they asked me to change the ear file. I don't know what to change and just asked them to deploy the old ear file using SDM.They deployed it using SDM.Though standard application is working proper,custom application is not working.So,what changes should I do now to make custom application work.And I don't have NWDI,what ever I want to do I have to do with NWDS.

    hi Jun Wu,
    First of all thanks for your reply..What basics sholud I need have, to get help from some body ??...Does SAP shouldn't be learned by people who doesn't know sap??

  • Adding AP Line extension fields to GL postings

    I am trying to get an extension field that I have added to an AP Invoice Line to show on the resultant line in the GL. As a standard extension field there is no option to do this but I have seen on an earlier version that someone had added a script to a field that allowed it to be reflected on the resultant GL line (in the Self-Enablement system, 319968, when it was version 1411).
    Please could someone share how this can be achieved.
    Many thanks
    Alastair

    HI,
    You do not need any enhancement for it.
    If you have the access key then just add the additon line-size 255 to the repport statement.
    Regards,
    Ankur Parab

  • Adding Form fields from Custom backend service in SAP_PA

    Hi All,
    I have defined a rule in the form scenario using a form field in my custom backend service. I want this rule to be used in the operation of the SAP_PA backend service.
    In order to use the rule in SAP_PA, the field from the custom backend service(used in the rule definition) has to be assigned to SAP_PA as well. Unfortunately I am not able to assign it.
    I have seen SAP delivered from scenarios (S_HR_PA_US_CHG_PERM_ADDR) where they have assigned fields from custom backend service to SAP_PA, Can you please guide me how to acheive this ??
    Thanks,
    Bharath

    Try directly adding the field in the form scenario in the SAP_PA service.
    Thanks,
    Aravind

  • How to send information/warning message from CRM to B2B application

    Hi,
    I need to send information/warning mesage from CRM to B2B application.
    I am using FM CRM_MESSAGE_COLLECT to send the required message to application log first and then implemented a BADI called CRM_ISA_BASKET_MSGS for reading that message to dispay it in Internet Sales.
    When I am passing message type as E in FM CRM_MESSAGE_COLLECT ,it is correctly showing it in B2B internet sales application as an error message but when I tried to pass message type as I/W it is not dispaying the message in B2B internet sales application although that information/warning message is being displayed in application log in CRM
    Can anyone pls provide some useful inputs for passing information or warning message type from CRM to Internet Sales allpication??
    BR,
    Bykam

    You need to fire the action from B2B, maybe when the b2b is all loaded you can call a FM in CRM that will handle some validations, this FM will return a result, store it in a session attribute, and put a condition in the JSP that will handle the response, inside this condition (if the attribute session is not empty) print a block, a label or something in html, css class will help to put some colors and maybe make a custom alert block.

  • Added new field from RSA6

    I added a field to the datasource structure from RSA5 and RSA6.
    I replicated the source system.
    Would I have to delete the InfoSources and reassign the datasource to see the new field appear in the transfer rules?
    Is there a way to see the new field to show automatically after the replication in the transfer rules?

    Hi Yosemite,
        If you can't you find your new field in the extractor from RSA6 and 'Change DataSource', then check the following:
        1. Goto SE16 and enter 'ROOSFIELD' in the table name
        2. Enter your DataSource name in the 'OLTPSOURCE' and 'A' for the OBJVERS.
        3. Check the 'Selection' field value. If it is 'A' (Hidden by SAP) then Change it to 'P'. Then you should be able to see the new field in the Extractor.
    Thanks,
    Venkat.

  • Updating contract document extension fields from workflow

    I have a multi-step contract document workflow which routes first to an attorney and then through a series of business approvers.  The business approvers might reject the workflow for a number of non-legal related reasons which would not required the legal document to be changed.  I want to flag the document when the attorney approves in case the workflow is ultimately rejected and later restarted, the legal approval step can be skipped if the attorney previously approved and the legal agreement file has not been changed.  I have been unable to update a contract document extension field from within the middle of a workflow.  The system has the contract document locked but I'm not sure if that's what's blocking me and if so, can I unlock the document, make the change, and relock the document from the post-script?

    Jeff,
    Unlocking/Relocking might be the right approach. You also may be experiencing a privilege issue based on the user running the script (but I doubt it if you are able to update other fields based on approvals). Let us know what you find out!
    -Howie Wexler, Crafty Systems Inc
    978 273 3600

Maybe you are looking for