How to add custom text on ISA B2B Order

Hi,
On Order page of ISA B2B I have created a custom text field  "Shipping Attention".When I try to add this text in the header like
header.addExtensionData("Z123","Value") in Z_BasketRefreshAction which extends MaintainBasketDispatcherAction, it is not reflecting in the "Shipping Attn"(created in the text tab in CRM)  field in CRM system.
The flow:
/b2b/maintainbasket --> Z_BasketRefreshAction --> /b2b/basketrefresh --> MaintainBasketRefreshAction --> b2b/updatedocumentview
Please let me know if I missing something...
Thanks in Advance.
Regards,
Muthu

Hello,
You have covered the first two layers of the request - response cycle cake - the View (JSP) and the Control (Java) layers. The icing is done in the backend BAdI and using the right function module. I am assuming the CRM backend.
A typical request-response in the application goes like this. I will give example for the header extensions.
Added the custom variable in the HTML layer (JSP page)
Traversed through the Dispatcher, Parser and get the input value from the JSP page variable and added it to the Business Object (Header) using addExtensionData.
The java application layer actually makes an "Update Header" call during the update cycle - like when you click that "Update" button.
In the SAP E-Commerce design, during this "update" cycles, the application flows through specific BAdI call sequence. It calls what I call the Header BAdI CRM_ISA_BASKET_HEAD when the header information is updated. You have to extend this BAdI and implement at least two methods.
It has two methods - which are called during this request - response cycle. First method CHANGEHEAD_SET_DATA is called during the request cycle - that is from ISA to CRM (when update is clicked). This is where your extension data has to be transferred from the Java layer to the backend layer (model). You will essentially read from the table IT_EXTENSION and call SAVE_TEXT function module. Since your requirement is to update text, this is the FM to be called. Many other cases use the FM mentioned by Mike. This is where the data from the web layer is persisted in the backend model.
And the other method GETHEAD_GET_DATA is called during the response cycle. In this method, you will essentially read from the model - in your case READ_TEXT and set it back in the extension layer CT_EXTENSION
The update header call from the Java layer will now receive the data back from the model and will automagically transfer the values from the backend (ABAP layer) back to the Java layer to be accessible by you in the JSP using getExtensionData call.
What you have to do are the steps .5 and 6 in order to complete the request-response cycle.
Easwar Ram
http://www.parxlns.com

Similar Messages

  • How to add custom text in template page - OIM 11g R1

    Does anyone let me know how add custom text in one of the 'Request Templates' page - OIM 11G R1.  My requirement is to add custom static text in 'Role' selection page.
    - Kalyan.

    Does anyone let me know how add custom text in one of the 'Request Templates' page - OIM 11G R1.  My requirement is to add custom static text in 'Role' selection page.
    - Kalyan.

  • How to add custom texts in Office Templates   for  the COBRA form set up

    Hi,
    How to insert custom texts in the copied BDS form from COBRA set up. I could not edit the text. I can edit the contact numbers in the standard text and displaying after saving the document.
    I do not know how to proceed for this.
    Please share your valuable experience in this regard.
    Thank you,
    Ravi.

    Structure Ptk03 ,Ptk33 needs to be enhanced

  • How to add standard text in PO and how it is maintained ?

    How to add standard text (paragraph) in PO and how it is maintained ?

    Hi
    Please go through this document.which has a step by step
    Working with Frequently Used Texts
    Use
    You can copy texts from various sources to create PO texts:
    Standard texts
    Certain standard texts are supplied with the system and can be assigned to a purchasing document in Customizing.
    The content of some standard texts is predefined by your system administrator.
    You can also create standard texts yourself and copy them into purchasing documents.
    Master records
    Database fields
    Activities
    Creating Standard Texts
    You can create your own standard texts via Tools ® SAPscript ® Standard text.
    Inserting Standard Texts
    You can insert your standard text on the long text screen via Insert ® Text ® Standard.
    For more information, refer to the Basis documentation under BC Word Processing with the SAPscript Editor:  Including Texts.
    You can display the print preview via Text ® Print ® Print preview.
    Inserting Texts from the Master Record
    There are three ways of linking texts from a master record with a purchasing document. The relevant settings are made for each text type in Customizing for Purchasing. The indicator in the status column shows the nature of the linkage.
    Option                                              Indicator in status column
    The text is copied:               
    It is then independent of the text                 None
    in the master record. Changes to
    the text in the material master record
    have no influence on the text in the document.
    The text is displayed only:
    It cannot be adopted.                                          N
    The text is offered for copying:
    It can be copied via Header or Item ® Texts ® Adopt text. (In requisitions: Goto ® Texts ® Adopt text.) Changes made in the master record will also be adopted in the document until such time as you copy the text.
    Inserting Texts from Database Fields
    You can include the content of a database field at any point in the text on the long text screen. A value specific to the relevant document is displayed in the printed document.
    Choose Insert ® Symbols ® Program symbols.
    Choose DDIC fields.
    Search for the relevant table/structure (in the case of PO items, this is EKPO) and then choose ENTER .
    Choose the relevant table field.
    Choose Text ® Print preview to see the print preview.
    Reward if useful
    Aasif

  • JS scripted needed to add custom text plus filename to file info in document title

    Would greatly appreciate any help with this one...
    JS script to add custom text plus filename to file info in document title
    many thanks

    Super :O)
    I have a folder of say 50 images and I want to run a JS script batch
    example in the document title :  image Nr 81205
    custom text is "image Nr" +  file name "81205"
    activeDocument.info.title =" image Nr" + decodeURI(activeDocument.name);
    would this be correct without seening the file ext
    many thanks

  • How to add standard text in smartforms?

    Hi friends,
    How to add standard text in smartforms ?
    points rewarded soon
    Regards
    RH

    Creating the Standard Text:
    Go to SO10
    1. Enter Text Name.  For example, ZABC
    2. Text ID ST
    3. Language EN
    Click on Create.
    And enter the Required Information and save.
    To include a Standard text in SmartForm.
    Follow the steps below:
    1. Create a text node in the window.
    2. Under general attributes select "Include text" as Type.
    3. Specify the fields under Text.
    Text Name ZABC
    Text Object TEXT
    Text ID ST
    Language EN.
    Hope it helps.
    Regards.

  • How to Add custom Attribute in XML

    How to add Custom attribute recusrivly. With sequence order.
    //Before xml:-
    var myxml:XML=
    <root>
    <leval0 >
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    </leval0>
    </root>
    ////After xml:
    var myxml:XML=
    <root>
    <leval0 levalid="0" >
    <leval1 levalid="0_0" >
    <leval2 levalid="0_0_0"></leval2>
    <leval2 levalid="0_0_1"></leval2>
    </leval1>
    <leval1 levalid="0_1" >
    <leval2 levalid="0_1_0"></leval2>
    <leval2 levalid="0_1_1"></leval2>
    </leval1>
    </leval0>
    </root>

    //call this method
                trace(addAttribute(myxml));
    //method
                private function addAttribute(node:XML, depth:String = ""):XML
                    if (node.hasComplexContent())
                        var count:int = 0;
                        var prefix:String = 0 < depth.length ? depth + "_" : "";
                        var currentAtt:String;
                        for each (var nodeItem:XML in node.children())
                            currentAtt = prefix + count;
                            nodeItem.@levalid = currentAtt;
                            addAttribute(nodeItem,currentAtt);
                            count++;
                    return node;

  • How to add a text box in the layout (View)

    How to add a text box in the layout (View)

    Hi.
    Right Click in the RootUIElement container.
    Click Insert Element.
    Give Name: Input
    Type : Input Field.
    Press Enter.
    Regards
    Bala.

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

  • Office 365 - sharepoint: In Advanced search Page, How to add custom column under property restrictions

     In Advanced search Page, How to add custom column under property restrictions?

    Hi,
    The Navigation control can be added into your HTML page in the Snippet Gallery:
    The two links below about how to create HTML master page and adding snippets needed into it for your reference:
    http://borderingdotnet.blogspot.jp/2012/12/how-to-create-html-masterpage-for.html
    http://msdn.microsoft.com/en-us/library/office/jj822370(v=office.15).aspx
    Feel free to reply if there still any question.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How to  add Custom Relationship in MSS Employee Search Drop down

    Dear Sap Fans,
    I would like to link Custom Drop down link at following path.
    Manager Self-Service->Team->Employee Information->General Information->Employee Selection
    Drop Down 1. Direct Reports
              2. Employee from Organization Structure
              3. Employee from Organization Units
              4. Who's Who
    We would like to add one more custom drop down. Can any one suggest how to add custom drop down in this list ? We have created custom relationship in R/3 but it is not showing in Portal.
    Your prompt reply highly appreciated and points will be rewarded.
    Regards,
    Ashish Brahmbhatt

    Barin,
    I have done settings in back end. I have created new realtionship for evaluation path. I am not able to see that link on portal. How/From Where I can use object and data provider tool and eventing for config ?
    rds,
    Aashish

  • How to add  customer group(KNVV-KDGRP)in the  standard report?

    Dear  All,
    My customer requirment is that  Customer group (KNVV-KDGRP)wise  should be run  in  FBL5N report AND   Customer group should be shown in  FBL3N report.
    how to add  customer group in the  standard report?
    thanking you,
    regards,
    Rupang shah

    Hi,
    This is what I did for FBL5N with a developer because additional fields configuration does include certain tables.
    BTE1650  available for FBL5N and add a new field into one of those tables as an append structure and then use a BTE to populate the field for FBL5N.
    Hope that this helps
    Kind regards

  • How to add custom Template transaction types ( for Quote ) ?

    How to add custom template in transaction types?
    Note : I have gone through below note. But not getting appropriate solution for this.
    982142.1 (OM Sales Order Template Not Available In Layout Template LOV For Print&Preview)
    444687.1 (OM Quote Template Not Available In Layout Template LOV for Print And Preview)
    Thanks in advance..
    Sameer

    Hi
    Thanks for your support,
    Pls let me know which steps i should go ?  my secanrio is  inbound side only,
    step 1 )   Define idoc extension for HRMD_A01 using WE30 transaction and define it in partner profiles
    step 2) do i need to write some code in BADI also to update information for my custom infotype also  if yes then where and which BADI pls let me know  ? because already am working on one badi HRALE00INBOUND_IDOC for  few validation for incoming data.
    step 3 )  add  this new custom infotype in my standard ALE  filters.
    Pls let me know if am mistaking some where or if  i have to do some thing else ?
    Regards
    Meeta & Glory

  • How to add customized payslip in the place of standered payslip.

    Dear Experts,
    We have implementing ESS/MSS, how to add customized payslip( Zprograme) in the place of standered payslip and how do we can get pay slip under ESS from portal.
    Thanks in advance.
    Regards,
    Mahee.

    If you have developed your own SMARTFORM Payslip and a custom program to display it, then there is not much you can do with standard configuration.
    Steps provided by Siddhart will call a custom HRFORMS payslip in a standardv way, or convert a PE51 payslip to SMARTFORMS pdf and display in a standard way.
    You have to work with your Portal Consultant and/or ESS/MSS consultant and ABAP/Webdynpro Programmer for this one.
    One suggested appraoch is
    1) Create A Webdynpro programme which launches when Employee clicks on Payslip link
    2) This program passes the employee user id to an ABAP program in ECC
    3) ABAP Program calls the custom payslip program already developed and generates the payslip and passes it to the webdynpro program as a binary file.
    4) Webdynpro program displays payslip as pdf file.
    this Webdynpro program has a PCD URL. A resource is created and assigned this PCD URL.. Homepage customizing is done - this resource is assigned to the Payslip service which is assigned to the Payslip Subarea.
    Hope this helps. We actually used this approach briefly long back before switching to HRFORMS, so I know it will work, but I have obviously provided very high level here. Hope you can do something with this.
    Edited by: Harish T K on Feb 2, 2011 4:23 PM

  • How to Including custom text in the step "User Decision"

    Hi All
    Please help me in this regards I got problem
    How to Including custom text in the step "User Decision"
    Regards
    Poonam
    Edited by: Julius Bussche on Feb 2, 2009 1:59 PM
    Please use the corect forum, meaningfull subject titles and use the search before asking questions

    Hi Poonam,
    If I understood your problem correctly...
    When you create a user decision a screen will appear.
    In the decision tab under Title you can give your custom text.
    Even if you want to give some variable (value of which will be determined at runtime) you can give that as well.
    Like you have created a container for BOR objects MAT_DETAIL, in that object there is a field MATERIAL.
    You can define your custom text as below:
    Title: Would you like to create new material or display material &
    Parameter 1:  &MAT_DETAIL.MATERIAL&;
    In Title you can give as max. as 4 &(ampersand). And each & will be replaced by each Parameter at runtime in same sequence.
    In parameters you use to select the container defined by you earlier.
    Hope this will help.

Maybe you are looking for

  • ITunes doesnt recognise any iphone since upgrade to 10.5

    I am on windows 7 using Toshiba Satelitte L770 I have an iPhone 3GS, my wife has an iPhone 4 and we have an iPad. All 3 worked fine with the Toshiba on itunes 10.4 I then wanted to upgrade the devices to iOS 5.0.1 (from 4.3) - so iTunes 10.5.2 had to

  • PAR file import problem in NWDS

    Hello All, Some time back we had developed a custome masthead component for our portal (EP 6, SP 21). It has been deployed into the portal and its running fine. now, we need to change some thing in that and so we have downloaded the par file and impo

  • How to create Labview User Interface with buttons?

    Hello, I try to create a user interface, where the TestStand sequencies can be selected one by one not only Test UUT, Single run and run Mainsequence (about 20 buttons needed). I'm playing with the simple UI shipped with TS and can load the sequence

  • Missing image on submitted form

    Hi All, I am goining to use pdf form for my own topic survey, I had distributed a pdf survey form for test , it contained  a button field for user to attach his own image. I had tried to fill it on acrobat pro 9, and it was success to submit(includin

  • 1 Mac, 2 sites

    My son and I each have a web site we just created with iWeb on my new MacBook and published to .Mac. But the URL is ONLY for his site. Can't find mine. How can I create a URL for just my site?