PO header and line item text in smartform

HI,
In my smartform I am fetching the 'PO header text', 'item text', and 'material text' for PO with "Include text"( by passing text name, object id etc..) with "no error if no text is maintained" checkbox checked
This is working fine In the development servers....
but when I moved these requests to quality servers...the above mentioned texts are not getting displayed in the smartform...while Texts are maintained in PO.
What can be the problem??

I guess there cant be any problem with the Include text . The problem can be either the text is not maintained or may be the include is not getting executed.
See if you have any conditions in the condition tab.
Check it in the debug mode and let me know if includ text is getting executed but value is not getting populated,
Better you can do one thing
Take the generated functional module name let us suppose your FM nae is /1BCDWB/SF00000100 then add SAPL   as below
/1BCDWB/SAPLSF00000100
Now go to SE38 and give this Program name and in the program find the code with the Text id .
Supose your Text id is 'ZTXT'.
find with this this ID and  find which function module is used to get your text.
Put break point on the FM and now execute the form.
Check whether values text is getting populated .
Thnanks,
Nageswar
Reward if problem solved

Similar Messages

  • To change the Purchase order header and line item text

    Hi everybody,
    I need to upload the PO Header and item text for the combinaion of PO and a material.
    Please help???

    Hi,
    Try this beloe code
          Length of the PO item text
          If the length > 132 Chars
      BAPI Function module for changing PO item Text
      commiting the bapi change
    SORT t_bapi BY ebeln ebelp.
      LOOP AT t_ebeln INTO wa_ebeln.
        LOOP AT t_bapi INTO wa_bapi WHERE ebeln = wa_ebeln-ebeln.
          REFRESH t_return.
          READ TABLE t_input INTO wa_input
            WITH KEY ref_num = wa_bapi-ref_num
                     item = wa_bapi-ebelp.
          IF sy-subrc EQ 0.
            APPEND wa_input TO t_output.
            w_len = STRLEN( wa_input-text ).
            wa_potextitem-po_number = wa_bapi-ebeln.
            wa_potextitem-po_item = wa_bapi-ebelp.
            wa_potextitem-text_id = 'F01'.
            wa_potextitem-text_form = '*'.
            wa_potextitem-text_line = wa_input-text+0(132).
            APPEND wa_potextitem TO t_potextitem.
            IF w_len > 132.
              wa_potextitem-po_number = wa_bapi-ebeln.
              wa_potextitem-po_item = wa_bapi-ebelp.
              wa_potextitem-text_id = 'F01'.
              wa_potextitem-text_form = '='.
              wa_potextitem-text_line = wa_input-text+132(123).
              APPEND wa_potextitem TO t_potextitem.
            ENDIF.
          ENDIF.
        ENDLOOP.
        CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            purchaseorder = wa_bapi-ebeln
          TABLES
            return        = t_return
            potextitem    = t_potextitem.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait   = ' '
          IMPORTING
            return = wa_bapiret2.
    Regards
    Krishna

  • Displaying header and line items

    Hi,
    i) i have a fieldname i.e text and its value to display in the bodypage  (body)..
    i want to display the text and its value only if the value is there.. otherwise it should not be displayed and a blank line also should not appear
    in smartforms we can handle that in conditions in the corresponding node, how we do the same in adobe forms?
    ii) suppose i have header and line items and for each header item i want to display the line items, both r in 2 tables how can we handle this
    Thanks

    Hi Shekar,
    The following solutions useful if you are using printbased forms.
    1. To display the field if the value is there.
    ->In the Context you can define the condtion on the filed.
    ->You can write a script on the subform superior to the field
    [code]      if ( $.field.rawValue == <value> ) then
                $.field.presence = “hidden”
          endif [/code]
    2. Header and item table
    In the SFP context drag the header table from interface.drag the item table from interface on the DATA in the header table. it will placed at the end of the header table. Now select the item table select where clause in the properties ( at the bottom of the screen ).there you create a line for condition using create button. drag the field from header table field ( say header-matnr ) on the right side and then drag the same field from the item table ( say item-matnr) in the left side.This will filter the item records relevent for header record.
    refer the message
    Re: Adobe IF Attachments

  • What's the difference of Item Class value:Header and Line Item in AME Rule

    Hi All,
    when creating a Rule or Attribute,there is a Item Class property,which contains Header and Line Item two values.
    Can anybody pls help me clarify the difference?
    thx,
    edmund.

    This information can be found in the Approvals Management implementation guide in metalink. The part number for this document is B31622-02
    Regards

  • Header and Line Item reporting (MultiProvider)

    Hello All,
    We have data coming in from a LO Extractor.  There are 2 extractors.  1 for line item the other for Header.  The line item extractor has all the fields for both so we decided to use this extractor (the line item).
    Question is, when extracting this data multiple records come over.  Let's say the order has 2 line items.  It brings over a header record and then 2 line item records.  We have it going to an ODS and then Cube.  The ODS key is order number and item.  Well the header record comes over with item number #, so 3 records hit the ODS.
    How do you handle this?  We saw something about denormalization and make this header record item number a 0.
    Can someone explain to us how to handle this?  We also read about a Constant selection and loading the header record and line item as we are to both the InfoCube, but we just don't understand this solution.
    Please help, Thank you

    Item level will have all fields those are in Header level.Header level data will be a subset of Item level data.Load only Item level and when you require header data remove Item number in that relevant DSO and you can see all the data summarized to header level in overwrite mode.
    This will not be good option if you require some fields that may have different records in the header and the item.
    One better option is create a secondary staging DSO that updated by header, item and schedule line level and you can choose your own data fields and key fields. You can update them in overwrite mode to have summarized records that avoids duplication of records from header and item for same document.
    Constant selection wil be helpful in the report level not during load process.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm
    This will ensure total displayed is constant even after navigation. So it hides repetitive records displaying after drilldown.

  • Header and line item headings in new page in Sapscipts

    HI,
    In Main window, I am displaying the header details.
    In a box below, I am displaying its item headings and item data details. Now when the no. of line items exceed the first page, they are displaying in the second page with other windows, but the header details, box and the line item headings are not getting displayed in the next page.
    Can anyone help me How to get the box, line item headings and header data also in the next page..
    thanks in advance........
    Rakesh

    Hi Rakesh,
    The header details, item headings and the box are also in the main window, thus, if the items exceeded and a next page is triggered, it will still continue to display the items until the loop ends.
    what you can do is that you can make a separate /E elements for header details, item headings, box and line items. so if a new page is triggered, you can call again the elements for header details, item headings, and box, then continue with the line items.
    Thanks,
    M

  • PO header text, line item text in smartform

    HI,
    In my smartform I am fetching the 'PO header text', 'item text', and 'material text' for PO with "Include text"( by passing text name, object id etc..) with "no error if no text is maintained" checkbox checked
    This is working fine In the development servers....
    but when I moved these requests to quality servers...the above mentioned texts are not getting displayed in the smartform...while Texts are maintained in PO.
    What can be the problem??

    Hi,
    Thanx for ur reply...
    But will you pls tell me how to achieve the same??
    Thanx.

  • How to add new fields for FB01 transaction both at Header and Line item

    Hi Guys,
    I would like to add the new fields at header and item level in FB01 transaction. Can I acheive this by using transaction EEWB....please help me on this.
    Thanking you

    Hi,
    We are trying to copy a work flow objects from ECC6.0 to 4.6C...where we found the following Select statement.
    *Determine Top WorkItem Instance
      if im_top_wi_id is initial.
       select wi_id top_wi_id wi_rh_task into lw_top_id from sww_wi2obj
         up to 1 rows
         where wi_rh_task = im_wftask and
               catid      = 'BO'      and
               instid     = l_instid  and
               typeid     = 'FIPP'.
       endselect.
       endif
    As table sww_wi2obj can't be found in 4.6C, can any one help how to replace or implement the same logic as above statements.
    Thank you....

  • How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery

    Hi SD Gurus,
    I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
    I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
    Is there any way to achieve the same? Can some expert show the way to achieve this.
    Thanks in advance.
    Warm regards,
    Rahul Mishra

    Hi Ravikumar thanks for u quick reply.
    This is wht is currently coded.
    concatenate values to get item text for read text function
       invar3+0(10) = invar1. "PO number
       invar3+10(5) = invar2. "PO line number
       SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
                                   AND tdname   = invar3
                                   AND tdid     = 'F01'
                                   AND tdspras  = sy-langu.
       IF sy-subrc = 0.
         invar4 = invar3.
    reading the text for the document items.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             id       = 'F01'
             language = sy-langu
             name     = invar4
             object   = 'EKPO'
           TABLES
             lines    = it_itab.
    I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
    but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
    As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
    anyhelp will be appreciated and rewarded.
    thanks

  • Line item text is automatically disappeared

    Hello Experts,
    I have weird situation when I enter FI document.
    In FB01 transaction, I am going to enter the first line item data after I put the document header data.
    After I enter a G/L account, some values and line item text, I need to some data at 'More data' tab so that I click 'More data' button.
    When I go back to the screen for the first line item data after putting some data at 'More data' tab, the line item text that I have already entered before is automatically disappeared.
    Is there anyone who know why this happen?
    Thanks.
    BR,
    Chris

    Hello Raman,
    This is so weird.
    When we enter the document under language option 'EN', there is no problem like above.
    But in case we logon with our language 'KO', that problem happens.
    I think this might have something to do with language issue.
    Thanks.
    BR,
    Chris

  • Line item text in BOM

    Hi ,
    I am trying to upload the BOM from the excel and also i am trying to change the BOM based on the data in the Excel.
    During this process , i have to check the line item text for each component of the BOM to see wheather there is any changes in the line item text is there or not.
    Is there any way to pull out the line item text for the BOM ..Not only the m Line item text 1 and Line item text 2 , but also the Long text...
    TCode for display of BOM : CS03.
    Thanks..

    We can use the function module READ_TEXT ,
    in the import parameters ,
    id : MPO
    object : BOM
    language : EN
    text name :  it is the concatenation of
                      sy-mandt
                      stpo-stlty   "bom type
                      stpo-stlnr   "Bom number
                      stpo-stlkn  "Item Node
                      stpo-stpoz  "Item Counter
    Text name should be in the same order like this.
    Now pass these values to the READ_TEXT Function module
    the output will be in the form of an internal table. the internal table line will have the long text for that particular line item...

  • Header and Footer Items in Adobe Muse? Also Menu text being cut off half way.

    How can I make the header and footer items load faster in Adobe Muse? I am hosting with Business Catalyst. Everything else loads almost immediatly on my web page, but my Header and Footer graphic- wood grain picture- take almost 10 seconds to load, and almost a minute to load on mobile devices.
    As well, my menu's are not loading correctly on other peoples devices. On my lap top everything looks fine, but on other peoples devices the text in my menus is only loading half way? -only shows half the text.
    Still working on my site, but to see what I am talking about you can visit the web page I am in the middle of building at www.bkskin.com
    Please give me some advice if any of you have some, thank you.
    Megan Burnett

    Hello,
    It seems to be an issue with the Font that you have used.
    You have used Bubble-one font and if you check this font in Google Chrome it is cut off and if you check in Firefox, it comes up fine.
    Please have a look at this link in Google Chrome and Firefox and you will see the difference : http://www.google.com/fonts/specimen/Bubbler+One
    I would suggest you to use some other font in order to fix it.
    Regards,
    Sachin

  • Fill BSEG-LIFNR and LFA1-NAME1 in line item text field of Bank GL line item

    Hi all,
    I need to develop a program to populate the Vendor Number (BSEG-LIFNR) and Vendor Name (LFA1-NAME1) in the line item text field of Bank GL line item.
    The UI design will have the input data as:
       - Company Code
       - Posting Dates (both from and to date)
       - Execute Icon
    Please let me know how to proceed on this.
    Thanks and regards,
    Anishur

    program a bdc to tcode fb09
    A.

  • Header data in xml tags and line items in fixed length but both in same fil

    Hi,
    In my scenario target side in header level i am passing all the values are fixed values and line item vaues are getting from the source data.how to write udf for this scenario.It should be graphical mapping.
    Please help to me
    please reply fast
    Thanks&Regards
    Swathi
    Edited by: SWATHIP on Feb 4, 2011 7:16 AM

    Hi,
    1) If your values are numerical you can use the "FormatNum" function under Arithmetic Functions.
    This will help you fix the length of the number and even the decimal part.
    2) If you want to fix the length of field which is of type string, you can try the following code:
    public String setLength(String var1, String var2,  Container container) throws StreamTransformationException
         /*   var1 will have the String Value, in var2 pass a constant integer of fixed length you want  */
         int len = Integer.parseInt(var2);
         String rslt = var1;
         if( var1.length() < len)
             for(int i = var1.length(); i < len; i++)
                 rslt = rslt + " "; // appending space
         else
               rslt = rslt.substring(0,var1.length - 1)l
         return rslt;
    regards,
    Aravind
    Edited by: ajnayak on Feb 7, 2011 7:25 AM

  • Line item text field from MIGO are not copied into FI line item text field

    Hi all on SCN, please, I need a help.
    It was created as required by the user a field status group with the text field required.
    This field status group was assigned to some accounts, in order to make my unit tests.
    u2003
    In development envirionment was made some tests directly in FI area, and it works properly.
    u2003
    But the user made a test using MIGO transaction, choosing in this transaction an account that he changed its field status variant to the one created in development environment, that make the text fiels required. So, to start, he donu2019t fill the text item of MIGO, and a message error appear stating that he needs to enter values in this field.
    After fill in the text fiels, he can save his work.
    u2003
    But the FI document generated donu2019t receive the line item text typed in MIGO, but receives the values on Reference document and Document Header text entered in the header of MIGO, what is missing, donu2019t is automatically copied MIGO text line items to FI documents line Items, does there is some additional configuration missing?
    Hope someone help me with this issues.
    Thanks in advanced!

    Hi,
    Material document will get updated in reference field in FI by default.  If for any reason, want to get this updated in text field, you need to define a subsititution in GGB1.
    Best Regards,
    Madhu

Maybe you are looking for

  • [req] how to check whether given oracle table exist or not + C#

    Hi, All. Actually i m creating a program using C# which connects to the database (oracle) and checks for the given table "OPC_GROUP". if the table doesnt exists then it creates the table else it updates all field with provided values code cmd.Command

  • Firewall tab greyed out in System Preferences - have I been hacked?

    Hi, I am running 10.4.11. In System Preferences, under Sharing, the Firewall tab is greyed out, suggesting my firewall is not running or has been tampered with. So I did some poking: brendan% sudo ipfw show 02000 844220 100107534 allow ip from any to

  • Using CS5 to change tilt of buildings

    I have been using elements (PSE8) and I was using a stand alone free program called shiftn to straighten the tilt of buildings and for corrections like that. The program shiftn is awesome, but now that I have CS5, I was wondering what other users are

  • How to insert multiple entries in table control

    Hi All, I want to insert multiple entries in table control in BDC program.Can any body help in this regard. Thanks, Satish.

  • Using Apps on App Store

    Hello applefans, I am using iPhone unlocked so it can be used in any country. I wanted to know whether the apps downloaded in a country can be used in other countries when I use another carrier.