Handle custom field from URL

Hi Gurus,
I am implementing one enhancement for SRM shopping chart, according the requirement the value of the new customizing field should be populated from one new parameter of the URL as follow:
'http://<domain>/sap/bc/gui/sap/its/bbpstart?CUSTOM_FIELD=XYZ&sap-client=100&sap-language=EN'.
I have implemented the following code in the request handler class to get the whole URL, but I got back only the standard part of the URL not the custom part.
url = server->request->get_header_field( if_http_header_fields_sap=>request_uri ).
I have also tried the following code, but it dos not returned the value.
url = server->request->get_uri_parameter( 'CUSTOM_FIELD' ).
I would appreciate any help if you had experience with any similar requirement.
Thanks and Regards,
Peter

Hi Ralph,
Thanks for your reply, but it is did not work for me. And even if I used the code;
  CALL METHOD server->request->get_form_fields
    CHANGING
      fields = li_fields.
to get all form fields I got only the following standard field values in the output table
     ~client
     ~language
     ~logingroup
     sap-client
     sap-language
     addsession
     parentbbpsession
     sap-client
     sap-language
I just manually added the CUSTOM_FIELD to the URL. May I have to configure this parameter somewhere else too? (The ITS service is BBPSC01 in SRM.)
Thanks for your help.
Regards,
Peter
Edited by: K. F. Kubus on May 7, 2009 2:46 PM

Similar Messages

  • Steps for extraction of Custom Fields from the SRM 5.0 to the SAP BI system

    Hi Experts,
    I am new to the SAP BI. I was asked to publish all the custom fields from table (BBP_PDISC) of the SRM system to the BI System.
    Please provide some guidiance (or) provide me with step-by-step procedure for doing the same.
    There are around 14 fields in this table and i need to move them to the BI system and later inlcude them in reports.
    Let me know if this information is sufficient.
    Thanks in advance.
    SAPBWI

    We are working on the Shopping cart DSO

  • Need to copy a custom field from sales order to billing document

    Hi All,
    I have a requirement, I need to add a new field in the sales order header part and even a field in the billing document, once i add this field up in both the documents in the header part i need to create a copy routine using the VOFM tran, can any body help me on what's the procedure to add a field in billing document and does the copy routine transfer the data ( Custom Field ) from Sales Order to the Billing Document, if yes can somebody help me with the procedure on how to and code of it.
    solved it myself ....
    Regards.
    Message was edited by: seshi
            seshi

    Hello,
    Regarding item 1, is it in the region of the global links (ie logout, home, preferences, etc.)? If not, have you tried creating a link via personalizations to the region you wish to have the link displayed (item type = link, destination = fully qualified name of your .xml page/region?
    Regarding item 2, you may have to create the custom subtab programatically using the controller for the region of the current subtab layout.
    Regarding item 3, you can also add a submit button to the page button bar region via personalizations. You can then add any logic you want to the button in the controller for the page.
    Hope this helps.

  • Deleting AET custom field from the SAP tableu2019s level.

    Hi experts,
    I am deleting few un-used custom fields in AET. I am able to see delete symbol as status in AET. Although deleted custom fields are present in lot of structure and tables (eg: CRMD_ORDERADM_H) in SAP GUI tables. I want to delete the custom field from SAP GUI tables and structures.
    I tried to delete custom field from the SAP GUI tableu2019s level. But it is not allowing.
    Please get me some clue on deleting custom field from the SAP GUI tableu2019s level.
    Thanks in advance
    Chand

    Hi,
    The deletion of custom field in AET happens in two steps:
    1. You select a custom field that you want to delete, than you press on the delete icon in the Custom Field Assignment Block.
        Doing this, you mark the selected custom field to be deleted.
    2. You press on "Save and Generate" button. The "Save" will persist the deletion mark of the custom field. It means the custom field is marked to be deleted in the database. The "Generate" will process all the deletion of objects which are needed to delete the custom field, for example: Domain, Data Element, Append, etc.
    If the "Generate" does not happen due any reason, the deletion mark is already persisted in DB. It means, later on if you go back to AET, you will see that the custom field is marked to be deleted, but it is not yet deleted.
    If you do not press "Save and Generate" button at all, it means, you do not persist the deletion mark in DB. Later on if you go back to AET, you won't see that the custom field marked to be deleted.
    Note: Please make sure, "Generation" is only applied for field that is flagged to be generated. The "Generate" flag column is by default hidden. You can use personlization to show the column.
    Regards,
    Steve

  • How to pass PO customer fields from ECC to SUS ?

    Hi Gurus,
    We defined a customer PO field at ECC side and want to pass it to SUS and diaplay it in SUS PO, my question is, how to pass PO customer fields from ECC to SUS?
    Please advise.
    Thanks and best regards
    jack

    Hi jackytam  ,
    /people/yeusheng.teo/blog/2008/01/05/ordering-unit-vs-order-pricing-unit-in-srm-sus
    you make get some pointers
    regards,
    Neelima

  • CNMASS - Ability to apply custom fields from structure CI_PROJ

    Hi,
    Is there a way to add fields from the Customer Enhancment tab in structures CI_PROJ, CI_PRPS to CNAMSS transaction?
    thanks,
    Cathy

    Hi,
    I have the same problem. I want to change a customer field (from structure CI_PROJ) via trx CNMASS. But the fields of structure CI_PROJ are not provided.
    Is there a standard possibility to extend the table CNMASS_PROJECT_DEFINITION with the structure CI_PROJ? I donu2019t want to modify the SAP table CNMASS_PROJECT_DEFINITION.
    Of course I know that I can write a program ore use trx LSMW but I'm looking for a more suitable and comfortable solution.
    @Cathy: did you find a solution in standard?
    Thanks in advance for any hint!

  • Inserting Image into BLOB field from URL

    Is it possible to insert an image into a BLOB field from a URL? I don't have access to the filesystem on the server and I have a page that uses PL/PDF to generate dynamic PDF files from data I pull from the database. I would like to include my companies official header with logo on the top of the PDFs I generate and need to somehow get the image which I currently have uploaded to the images section in Application Express and can access from the "Shared Components => Images" section of the Application Builder. I just want to be able to either query whatever table holds those images or copy the image I need to a blob field in one of my tables so I can use it in my PDF document.
    The other alternative (which is what I first mentioned above) would be to try and perform an insert into the BLOB field in my table but the location of the image file would be like "http://www.myportal.com:7777/pls/htmldb/wwv_flow_file_mgr.get_file?p_security_group_id=1234567&p_flow_id=111&p_fname=myimage.jpg".
    Is this possible? If not, what can I do?
    Thanks in advance.

    The reason why I am asking this question in this forum is two-fold:
    1. I am using Application Express (AE).
    2. Since I am using AE all images that I upload to my workspace are stored in a table in a database and not as an actual file in a directory structure like in Windows etc. This being the case, I can't ever reference any of the files that I upload to my workspace in order to insert them into my BLOB field unless I know their physical location on disk (which of course does not exist b/c they are stored in the AE database somewhere). If I knew AE's database and table structure I could do a "select into ..." from whatever table stores my uploaded images and save those images to my own custom table in my BLOB field.

  • Importing into Address Book with Custom Fields from a Text File.

    Hello
    I'm a teacher and like to create contacts for my students. The information that I want in each contact besides their name, email address and phone number are their
    student id's, semester enrolled, class number and class title. For these four fields I create a "Custom" field with the appropriate names: "ID", "Term", "Course" and "Class" respectively.
    All this information I can download from the school's server in a CSV file.
    To import the information into Address Book, I choose "File -> Import -> Text File" and then select the CSV file that I downloaded. The import utility opens up correctly showing all the fields I would like to import, however, many of the fields are marked as "Do not import." When I click on that term to select my Custom fields, they do not show up. Is this a bug or "feature" of the Address Book? It seems to me that if you are allowed to create useful custom fields, you should be able to import data into them as well.
    If I'm just ignorant of how to do this, I would appreciate some help. If there is no way to currently do this efficiently, it would be nice to have this feature added to the Address book in the near future.
    Thanks for your consideration,
    Gary

    Thanks for posting your question and the reply from rojok...
    I'm a teacher as well - in Entourage I was able to just copy a column of email addresses (say from an Excel spreadsheet, downloaded from the school's server here at U MD) and then create a group and simply paste that list into the group. Address Book makes you do the extra step of importing all the addresses first. (Note: Your last imported list of contacts in this manner shows up as "Last Import" in the groups lists column to the left in Address Book - so to add contacts to a Group there, you select that Last Import group, click once in that list column one contact, say, then select all of the list - then Command + A, for select all - then drag them all to your group you've made - i.e. "MySpringClassList"). This is NOT very intuitive I might add and incredibly cumbersome of a process.
    To get around the customizable info I needed to import... I just chose options that I don't regularly use for those things I needed to import - i.e. student I.D., these I placed under "ICQ Other" - that way they're imported at least.
    Good luck,
    Andrew

  • Custom Fields from SRM 7.0 to R/3 4.7

    Hi,
    I have some custom field which need to be passed from the SRM confimation to R/3 - GR, I learnt that Idoc MBGMCR01 is triggered to create the GR in R/3.
    1. Wether I have to create a new IDOC type and assign in the message type? Please let me know in which BADI i can populate the value for the custom Fields
    Edited by: prabhu jayaraman on Oct 5, 2009 3:38 AM

    Hello Prabhu,
    You need not create a new idoc. You can extend the existing Idoc using extensions.
    However in the related FM BBP_ALE_GOODSMVT_CREATE which triggers the Idoc , i do not see any BADI being called.
    Best Regards,
    Pavan
    Edited by: pavancv on Nov 18, 2009 4:13 PM

  • Replication of Custom Fields from CRM to ISU and Vice versa

    Hi Experts,
    We are working on adding Z fields on BP level. For this how does the replication of the values takes place from CRM to ISU or vice versa. What are the middleware enhancement we need to do in CRM side or in the ISU side. We would add the fields on web UI crm side by AET but at ISU side how we need to do that and how would the field values replicate in both the system.
    A approach for adding BP custom fields in CRM and its interaction with ISU and vice versa would be appriciated.
    Thanks,
    Mayur

    Excuse, you may enter more in detail?
    I have created a custom field on BP using the AET would now like to replicate this custom field in BP also in ISU.
    I can do all this using the EEWB, but I would avoid it, since, in ISU we already have custom fields on BP, I just can not link them with CRM.

  • How to handle Custom field added in BP : Role Bill Account

    Hi Friends,
    I am working on an interface which creates Bill Account role for a BP but the problem is there are about 15 Custom fields added to standard BP transaction in BA role.
    As I am using BAPI_BUPA_FS_CREATE_FROM_DATA2 for creating the BP and
    BAPI_BUPA_CENTRAL_CHANGE for changing the BP role Bill Account?
    Can anyone tell me how to handle those custom fields in the existing BAPIs or there is some other way of doing it?
    Thanks in advance,
    Pradeep
    Note : Helpful answers will be rewarded.

    Hi,
    I have seen these BAPIs but are they used with normal BAPIs for BP creation and change.
    For example : I create the BP using BAPI_BUPA_FS_CREATE_FROM_DATA2 and for the Custom fields I should use these BAPIs as suggested by you alongwith the create BAPI.
    And will it work for Changing the BP also.
    Kindly clarify.
    Regards,
    Pradeep

  • What are the steps to send sales order custom field from CRM to ECC

    Hi Xperts,
      We have created a custom field in sales order [ VBAK] and successfully replicate its value from ECC to CRM. But while doing the enhancement to replicate the field value from CRM to ECC [ When the SO is created in CRM ] we are not able to do so.
    We used a FM in CRM0_300, but while replicating the SO from CRM to R/3 it is not getting called.
    Please help us by providing the steps to do the full enhancement to replicate the custom field of SO from CRM to ECC.
    Thanks in Advance.

    Hi Anjaneyulu,
    We are faced with a similar situation as you.
    Here is our scenario with the steps that we performed so far:
    1.  We have added a few custom fields in CRM 7.0 (Ehp1) using AET.
         The BDoc BUS_TRANS_MSG has been automatically extended with these custom fields.
    2.  On ECC side also, same custom fields have been added to VBAK and VBAP, using APPEND STRUCTURE. Fields were added to ADDITIONAL DATA TAB B in VA01 / VA02 transactions.
    3. Extended BAPI structures BAPISDITM and BAPISDITMX in both CRM and R/3 Side.
    4. As mentioned in the note 1053817, we have implemented BADI CRM_DATAEXCHG_BADI -> Method CRM_DATAEXCH_AFTER_BAPI_FILL in CRM (mapped fields from BDOC to BAPI structures)
    5. In the above note, for R/3 BAPI to R/3 API they have given to implement user exit USEREXIT_MOVE_FIELD_TO_VBAP which we found in MV45AFZZ. But in this we are unable to find BAPI Structure to map.
    Our issue is, when a sales order is created in CRM, it is getting replicated on ECC. But, only standard fields are getting replicated. The custom fields that we have added are remaining empty on ECC side.
    In CRM --> txn SMW01, we can see that the BDOC is populated with custom fields also.
    Could you let us know if your issue is solved completely. Are you able to see the value of custom field, in ECC? Did you use AET to add fields in CRM.
    Could you please give us the steps that you have done.

  • How to get only custom fields from a SharePoint 2010 list?

    I am working with the Client Side Object Model. In a console application I am retrieving all fields from a custom list. The problem is the Clientcontext fetches me a bunch of internal fields I do not want to be included. Also this causes some of the fields
    to appear more than once.
    string siteURL = "http:XYZ";
    ClientContext context = new ClientContext(siteURL);
    Web oWebSite = context.Web;
    context.Load(oWebSite);
    context.ExecuteQuery();
    //Get the list by title
    List produktKatalogListe = spLists.GetByTitle("Produktkatalog");
    CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml = "<View/>";
    ListItemCollection listItems = produktKatalogListe.GetItems(camlQuery);
    context.Load(produktKatalogListe);
    context.Load(listItems);
    context.Load(produktKatalogListe.Fields);
    context.ExecuteQuery();
    foreach(Field field in produktKatalogListe.Fields)
    Console.WriteLine("{0} - {1} - {2} - {3} - {4}",field.Title,field.InternalName,field.Hidden,field.CanBeDeleted,field.FieldTypeKind);
    Is there a way to print only custom fields? This would mean omitting fields like
    internalID, GUID...
    I tried the following:
    if(!field.Hidden)
    Console.WriteLine("{0} - {1} - {2} - {3} - {4}",field.Title,field.InternalName,field.Hidden,field.CanBeDeleted,field.FieldTypeKind);
    Unfortunately this not only does not solve the issue but is also not a very good solution for the case I do want to display custom but hidden fields.
    Algorithmen und Datenstrukturen in C#:
    TechNet Wiki

    The following approach seems to solve the issue. Instead for checking if the field is not
    Hidden I checked whether it is not FromBaseType.
    if(!field.FromBaseType)
    Console.WriteLine("{0} - {1} - {2} - {3} - {4}",field.Title,field.InternalName,field.Hidden,field.CanBeDeleted,field.FieldTypeKind);
    Algorithmen und Datenstrukturen in C#:
    TechNet Wiki

  • Replicating GR custom fields from EBP to SAP R/3

    Dear SRM Gurus,
    We are using SRM 5.0, extended classic scenario..
    We have created 3 custom fields for GR in SRM and we want to pass these custom field values to SAP R/3(4.6C). Is there any BAdI or function module to replicate these custom field values from SRM 5.0 to SAP R/3.
    Please do the needful..
    Thanks in Advance,
    Chandra Sekhar.

    Hi
    <b>Please go through the following links -></b>
    Re: Confirmation screen field to be mapped to backend field
    Re: Creating Confirmations in SRM - What is the preferred method
    Re: GRN IDOC Transfer to ERP  - MBGMCR01 ( 2 IDOCS created)
    Re: Problem to send idoc for a Good Receipt created
    GR IDOC Number
    Re: Idoc error in Goods confirmation - urgent
    Re: Delete goods confirmation in SRM3.0
    Re: SRM / MM integratuion: goods receipt
    IDOC MBGMCR01: CO Ctd-pedido exceeded by 1 UN:
    <b>Some useful SAP OSS Notes to refer -></b>
    Note 521488 - FAQ: MB_CREATE_GOODS_MOVEMENT
    Note 521427 - FAQ: IDocs for goods movements
    Note 521488 - FAQ: MB_CREATE_GOODS_MOVEMENT
    Hope this will definitely help.
    Regards
    - Atul

  • Transfer customer fields from EBP to R/3

    Hey,
    we have a SRM-system with a R/3 backend and added some customer fields to the accounting or purchase orders. The question now is how to transfer the cuf-data from SRM to R/3.
    There are the function-modules like B470_PO_CREATE of package BBP_BD which are dealing with the data and include the cuf-data. For my understanding i should write my own driver by copying such a function-module and call the remote BAPI (also a copy of the SAP-functionmodule BAPI_PO_CREATE) that has the cuf-data as import (original SAP doesnt have that) and save them according to that.
    The question now is how can i make SRM using the new functionmodule and what is the best practice for that problem.
    thanks for your help.
    best regards,
    oliver

    Hi,
    In classic scenario, use BADI BBP_CREATE_PO_BACK.
    In extended classic scenario or direct procurement, use BADI BBP_ECS_PO_OUT_BADI.
    Depending on your SRM version, Use either of the BADIs in SRM
    BBP_CREATE_BE_PO_NEW
    BBP_CREATE_PO_BACK
    BBP_ECS_PO_OUT_BADI
    Related links ->
    Update Custom Fields in PO - BBP_ECS_PO_OUT_BADI
    Re: How to replicate SRM PO customer fields to ERP PO in ECS
    Sample code for BADI implementation
    Re: Backend PO creation - What is the fist BADI
    BBP_ECS_PO_OUT_BADI
    Update Custom Fields on PO Header - BBP_ECS_PO_OUT_BADI
    See these related links for sample code/hints:
    Re: How to replicate SRM PO customer fields to ERP PO in ECS
    Update Custom Fields in PO - BBP_ECS_PO_OUT_BADI
    BBP_ECS_PO_OUT_BADI
    implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
    Update Header Text in R/3 using BBP_ECS_PO_OUT_BADI
    BR,
    Disha.
    Pls reward points for useful answers.

Maybe you are looking for

  • Anyway to install Suretype on a Curve?

    Would be nice technology to have... Thanks, Rob 

  • Invalid precision/scale on combo box

    I am dragging a field over to a table view on a panel as a combo box. I go to the list binding editor to setup the data to choose from in the combo box. I am using the LOV mode to get the data from another table. Everything looks good when I test the

  • How can i print from adobe digital editions?

    How can i print from adobe digital editions?

  • Laggy Menus in Premiere Elements 10?

    I've been using Premiere Elements 10 for a while now, and the menus and response times are very, very slow. Maybe this is a graphics card issue? I run AMD A8 with an Nvidia GeForce GTX 560 Ti graphics card. Help is very, very appreciated!

  • Configtool.bat and go.bat error

    Hi, I am trying to start configtool.bat, and i get the following message on command: The system can not find the path specified. Program terminated abnormally... Press any key to continue Can some one help me with this? My Environment Variable is set