Problem in populating dynamic data in standard text

Hi Guru's,
I am finding difficulties in populating dynamic data of a standard text. I have created a standard text PM30_T010 (Type ST) as below.
Objects Used:
Equipment : &NOTIFICATION.EQUIPMENT&
Floc           : &NOTIFICATION.LOCATION&
I have added the container NOTIFICATION at the task level and call the standard text.
INCLUDE PM30_T010 OBJECT TEXT ID ST LANGUAGE EN
But the equipment number and location values are not getting populated. At the same time, if I place the same text (mentioned above) in the description section of Workflow task instead of calling the standard text, equipment number and location values gets populated as expected.
Please let me know how to achive the same through standard text.
Regards,
Parthiban

Hello !
     Check the binding and data types of the containers involved in binding.
    Also check in workflow log, whether the workflow containers are populated with required values.
Regards,
S.Suresh.

Similar Messages

  • How to pass dynamic values in standard text......

    Hello,
    I have no idea that how to create the standard text with transaction SO10,and how to pass the dynamic values to that standard text.Will you guide me with step-by-step procedure.
    Thanking you in advance,
    Regards,
    Asmitha.

    Hi,
        Goto SO10 Tcode
    Give :- Text Name:- any Name
               Text Id :- ST
                Language:- required language
    Now the Text which you want to print along with the Dynamic variable,
    Ex:-  Sales order number is &VBAK-VBELN&
    Save and Activate
    above is i have given it VBAK-VBELN, you can give field name which hold dynamic value.
    Now call the above created Standard text in your Form and check it.
    Regards
    Bala Krishna

  • Problem with populating dynamic drop down

    I am hoping someone can help.
    I have a process that is retrieving a series of codes from a table. It generates an XML which I have bound to a text field on the form. For testing, the field is visible and I can see the XML when I run it.
    However the code that I am using to populate the drop down is not working.
    I'm ot sure if I have done somethin wrong in the process or in the form.
    The XML in the field looks like:
    <?xml version="1.0"?>
    <xdp>
         <datasets>
              <data>
                   <form>
                        <Page1>
                             <type>
                                  <assignedOther>
                                       <code>
                                            <CD type="CHAR">ES</CD>
                                       </code>
                                       <code>
                                            <CD type="CHAR">EX</CD>
                                       </code>
                                       <code>
                                            <CD type="CHAR">NF</CD>
                                       </code>
                                  </assignedOther>
                             </type>
                        </Page1>
                   </form>
              </data>
         </datasets>
    </xdp>
    In the JavaScript of the form I have:
    var parsedOther = new Array();
    var taxtypeXML = XMLData.parse(form.Page1.type.assignedOther.rawValue, false);
    var otherList = XMLData.applyXPath(taxtypeXML, "//code[*]/CD");
    if (otherList.length){
         for (var i = 0; i < otherList.length; i++){
              parsedOther.push(otherList.item(i).value);
    }else{
         if (otherList.value){
              parsedOther.push(otherList.value);
    parsedOther.sort();
    otherExpl.setItems(parsedOther.toString());
    assignedOther if the text field that has the XML and otherExpl if the drop down fiend.

    Thanks.
    That worked beautifly.

  • Problem in populating jtable data from database

    hi,
    i am using JTable to retrieve data from database and show it in table. JTable
    is working fine with static data. but while retrieving from databse its giving a NullPointerException at getColumnClass() method. Below is complete source code. plzz help.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.sql.*;
    import javax.swing.table.*;
    /*jdbc connection class*/
    class connect
    Connection con;
    Statement stat;
    public connect()throws Exception
    Class.forName("org.postgresql.Driver");
    con=DriverManager.getConnection("jdbc:postgresql://localhost/dl","dl","dl");
    stat=con.createStatement();
    public ResultSet rsf(String rsstr)throws Exception
    ResultSet rs=stat.executeQuery(rsstr);
    return rs;
    public void upf(String upstr)throws Exception
    stat.executeUpdate(upstr);
    class MyTableModel extends AbstractTableModel
    private String[] columnNames = {"name","id","dep","cat","rem","chkout"};
    Object[][] data;
    public MyTableModel()
    try{
    connect conn=new connect();
    ResultSet rs3=conn.rsf("select * from usertab");
    ResultSetMetaData rsmd=rs3.getMetaData();
    int col=rsmd.getColumnCount();
    int cou=0;while(rs3.next()){cou++;}
    data=new Object[cou][col];
    System.out.println(cou+" "+col);
    ResultSet rs2=conn.rsf("select * from usertab");
    int i=0;int j=0;
    for(i=0;i<cou;i++)
    rs2.next();
    for(j=0;j<col;j++)
    data[i][j]=rs2.getString(getColumnName(j));
    System.out.println(data[0][2]);
    }catch(Exception e){System.out.println("DFD "+e);}
            public int getColumnCount() {
                return columnNames.length;
            public int getRowCount() {
                return data.length;
            public String getColumnName(int col) {
                return columnNames[col];
            public Object getValueAt(int row, int col) {
                return data[row][col];
           public Class getColumnClass(int c) {
              return getValueAt(0, c).getClass();
            public boolean isCellEditable(int row, int col) {
                if (col < 2) {
                    return false;
                } else {
                    return true;
            public void setValueAt(Object value, int row, int col) {
                data[row][col] = value;
                fireTableCellUpdated(row, col);
    class MyFrame extends JFrame
    public MyFrame()
         setSize(600,500);
         JPanel p1=new JPanel();
         p1.setBackground(new Color(198,232,189));
         JTable table = new JTable(new MyTableModel());
         table.setPreferredScrollableViewportSize(new Dimension(500,200));
         table.setBackground(new Color(198,232,189));
         JScrollPane scrollPane = new JScrollPane(table);
         scrollPane.setBackground(new Color(198,232,189));
         p1.add(scrollPane);
         getContentPane().add(p1);
    /*Main Class*/
    class test2
         public static void main(String args[])
         MyFrame fr =new MyFrame();
         fr.setVisible(true);
    }thanx

    hi nickelb,
    i had returned Object.class in the getColumnClass() method. But then i
    got NullPointerException at getRowCount() method. i could understand that the
    main problem is in data[][] object. In all the methods its returning null values as it is so declared outside the construtor. But if i declare the object inside the constructor, then the methods could not recognize the object. it seems i cant do the either ways. hope u understood the problem.
    thanx

  • Dynamic Standard text - Appending text with variable

    Dear All,
    We have a dynamic standard text. The text is being created based on sales order (I don't know how this has been created). Now I want to add text inside the standard text. That text will also contain variable.
    Example: "This is a valid sales order 100010000". This is a standard text where the sales order value is fed dynamically, I don't know how?
    Now the objective is to add another field "abcd" in the standard text with some other fixed texts. Eg. "I want to add my name sy-uname". So the entire text should be as:-
    "This is a valid sales order 100010000. I want to add my name sy-uname."
    1.  I am not sure how to identify the original standard text. I would like to add second line there.
    2.  I would like to pass variable value dynamically in the standard text.
    Please can you help me out in solving the issues.
    Best wishes,
    Atanu

    Hi
    Could you please be clear with your question so that some one can provide you with best solution quickly.
    I am assuming that when your sales order is being created at the same time ,your dynamic standard text is generated .So now you want to amend this standard text just after the sales order is saved.If so then
    Just go to the sales order text tab in change mode and click on the text eidtor window ,it will take to you sapscript editor ,Then from menu Goto-Header .From here you get the details of
    Text Name      
    Language       
    Text ID        
    Text Object  
    Now Find the userexit after save and their use a read_text function module and read the standard text which is alreday created and take down in it_lines table and modify the text by appending your sy-uname line as second line or you can concetante on the same line. Now then use the save_text function module and save the standard text.
    You can use the exit MV45AFZZ In that routine FORM userexit_save_document..
    Hope this help you to resolve the issue.
    Cheers
    Joginder

  • Standard text in Smart forms

    Hi ,
               Im using the standard text in smart forms, but Im getting the output displayed as hexadecimal numbers. These are the hexa characters stored in the "SO10" transaction for the standard text name.
    I try to display a signature stored in standard text.
    But when used in SAP scripts I get the content displayed correctly.
    Can someone help me to display the content in smart forms as such.
    I searched the forum for the solution I got some results for the search but I did not get the solution for it.
    Points will be rewarded for helpful answers...
    Rgds,
    Sarath.
    Message was edited by:
            Sarath kumar Chandrasekharan

    Rama,
    The problem is the signature is in standard text.
    Message was edited by:
            Sarath kumar Chandrasekharan

  • Standard Text printing in SAP Scripts

    Hi All,
    Iam printing data from Standard Text it is printing
    but i need like
                            Bank            ICICI
    but the below is giving
                           Bank
    ICICI
    AS    ,,,,,,,,,,,,,,Bank,,,,,,,,
    /:       INCLUDE &V_ACC& OBJECT TEXT ID ST LANGUAGE EN
    Can you please tel me how to do

    Hi,
        How your are creating the Standard text V_ACC in transaction SO10? create it with Contineous text, defailt will be as Command line(/:), thats why all the Standard texts will be printed on New line.
    Tcode : SO10
    Text Name :- V_ACC
    Text Id      :-  TEXT
    Language:-  EN
    The text should be
    ICICI                       "For Continues text paragraph format will be blank
    not as below
    /:  ICICI                       "For New line text paragraph format will be /:
    Now call the standard text in your Sapscript
    AS    ,,,,,,,,,,,,,,Bank,,,,,,,,
    /:       INCLUDE V_ACC OBJECT TEXT ID ST
    Just check the tab spaces after Bank statement, if it is more Included text will be in next line.
    Regards
    Bala Krishna

  • Displaying dynamic data on every page of standard text

    Hi All,
    I m using standard text (created in SO10) in smartform . I want to display dynamic data on the top of every page of standard text.
    Displaying the dynamic data is not the problem, but how would i know where is page finished(or started) as Preview in SO10 may not look the same as smartform output.
    I dont want to do this manually by adjusting the size of window. Is there any other way to do the same??
    Vanita.

    Try to create a text in your SF and write the dynamic data.
    To know in which page use &SFSY-PAGE&
    this system fields may also be helpful for dynamic text on each page
    &SFSY-COPYCOUNT0&   "COPY COUNTER( 0 = ORIGINAL, 1 = 1st COPY)
    &SFSY-COPYCOUNT&   "COPY COUNTER( 1 = ORIGINAL,  2 = 1st COPY)
    Still you can called DYNAMIC text through your standard text.. but place your conditions.
    Regards,
    SaiRam
    Message was edited by:
            Sai Ram Reddy Neelapu
    Message was edited by:
            Sai Ram Reddy Neelapu

  • Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).

    Hi,
    Our Environment is Essbase 11.1.2.2 and working on Essbase EAS and Shared Services components.One of our user tried to run the Cal Script of one Application and faced this error.
    Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
    I have done some Google and found that we need to add something in Essbase.cfg file like below.
    1012704 Dynamic Calc processor cannot lock more than number ESM blocks during the calculation, please increase CalcLockBlock setting and then retry (a small data cache setting could also cause this problem, please check the data cache size setting).
    Possible Problems
    Analytic Services could not lock enough blocks to perform the calculation.
    Possible Solutions
    Increase the number of blocks that Analytic Services can allocate for a calculation:
    Set the maximum number of blocks that Analytic Services can allocate to at least 500. 
    If you do not have an $ARBORPATH/bin/essbase.cfg file on the server computer, create one using a text editor.
    In the essbase.cfg file on the server computer, set CALCLOCKBLOCKHIGH to 500.
    Stop and restart Analytic Server.
    Add the SET LOCKBLOCK HIGH command to the beginning of the calculation script.
    Set the data cache large enough to hold all the blocks specified in the CALCLOCKBLOCKHIGH setting. 
    Determine the block size.
    Set the data catche size.
    Actually in our Server Config file(essbase.cfg) we dont have below data  added.
    CalcLockBlockHigh 2000
    CalcLockBlockDefault 200
    CalcLockBlocklow 50
    So my doubt is if we edit the Essbase.cfg file and add the above settings and restart the services will it work?  and if so why should we change the Server config file if the problem is with one application Cal Script. Please guide me how to proceed.
    Regards,
    Naveen

    Your calculation needs to hold more blocks in memory than your current set up allows.
    From the docs (quoting so I don't have to write it, not to be a smarta***:
    CALCLOCKBLOCK specifies the number of blocks that can be fixed at each level of the SET LOCKBLOCK HIGH | DEFAULT | LOW calculation script command.
    When a block is calculated, Essbase fixes (gets addressability to) the block along with the blocks containing its children. Essbase calculates the block and then releases it along with the blocks containing its children. By default, Essbase allows up to 100 blocks to be fixed concurrently when calculating a block. This is sufficient for most database calculations. However, you may want to set a number higher than 100 if you are consolidating very large numbers of children in a formula calculation. This ensures that Essbase can fix all the required blocks when calculating a data block and that performance will not be impaired.
    Example
    If the essbase.cfg file contains the following settings:
    CALCLOCKBLOCKHIGH 500  CALCLOCKBLOCKDEFAULT 200  CALCLOCKBLOCKLOW 50 
    then you can use the following SET LOCKBLOCK setting commands in a calculation script:
    SET LOCKBLOCK HIGH; 
    means that Essbase can fix up to 500 data blocks when calculating one block.
    Support doc is saying to change your config file so those settings can be made available for any calc script to use.
    On a side note, if this was working previously and now isn't then it is worth investigating if this is simply due to standard growth or a recent change that has made an unexpected significant impact.

  • Problem while populating table dynamically

    Hi,
    I am facing a strange problem when I execute a search component (custom developed component).
    <b>Problem summary:</b>
    I am getting first 5 empty rows (default visible row count, when I set the table's visible row count to "n" then the data in the first "n" rows are not visible) from the SAP R/3 when we fetch the data using this component. The data is available for the next consecutive rows starting 6th  {(n+1)th} row. Here I am facing another strange behavior, I moved the table row position using the table paginator and viewing the data in the next consecutive rows and reset the view (invalidating the context and setting the visibility of the table to NONE), when I invoke the search again the data is missing in the 6-10 rows(the table data is paginated to the 6-10 records automatically), now the data is visible in the first 5 rows.
    <b>The details of softwares:</b>
    SAP WebAS 6.40 SP9
    SAP NetWeaver Developer Studio Version: 2.0.9
    JDK version - j2sdk1.4.2_06
    <i>Note:</i>
    1. The table creation and data population are done dynamically.
    2. The same code works fine for SAP WebAS 6.40 SP8
    3. When I tried fetching some data from SAP R/3 and displaying it in a table (table is created during design time and data population is achieved through standard context binding), it works fine.
    If any of you get any clue in solving this issue, please do let me know.
    Thanks in advance.
    Thanks & Regards,
    Santhosh.C

    Hi Thomas,
    I am running the application from the NDS and the URL look like the below URL
    http://<<machine_name>>:50000/webdynpro/dispatcher/sap.com/parentgenericsearchhelpcomponent/PerentSearchDemo?SAPtestId=1
    I am using IE6.0 SP2
    Yes the application is working fine in SP8 and giving problem in SP9.
    I have a parent component which calls another component(childcomponent), which has this dynamically populated table. I am using window.open() to open the window in the child component.
    To answer your last question,
    I don't see full of empty rows, I see empty rows for the first visble row counts(5 or 10, if the total fetched row count might atleast 1 more than the visble row count). The data is available from the first visible row count+1. If I come back and see the first vible row count, still the rows are blank.
    Thanks & Regards,
    Santhosh.C

  • PR to PO ...Standard text problem

    Hi all,
    I am writing one report , which converts the purchasing requistion to purchase order. I am using the BAPI function module...BAPI_PO_CREATE1.
    In this i want to populate the purchase order header text. I am using the standard text for all po's whose are convertable.
    but the problem is , the header text table paramers(POTEXTHEADER) in BAPI FM will take 132 chars only. But my standard text is 6 paragraphs are there . how do i long text populate? Am i using the wrong parameters in the BAPI FM.
    please suggest me ...how to use this BAPI FM , to populate the lonf standard text.
    regards,
    Ajay Reddy
    Edited by: Ajay on May 27, 2008 9:08 AM

    hi
    use the function module create_text to upload long text. below is the
    sample program which uploads purchase order text more than 132 characters.
    TABLES : MARA, TLINE, THEAD.
    DATA: BEGIN OF ITAB OCCURS 0,
          MATNR LIKE MARA-MATNR, " MATERIAL  NUMBER
          TEXT(5000)  TYPE C, " Long Text
          END OF ITAB.
    DATA: BEGIN OF ITAB1 OCCURS 0,
          MATNR LIKE MARA-MATNR, " Material  No
          SEQU  TYPE I,          " Text Sequence
          TEXT(5000)  TYPE C, " Long Text
          END OF ITAB1.
    DATA:BEGIN OF DT_LINES OCCURS 0.
            INCLUDE STRUCTURE TLINE. " Long Text
    DATA:END OF DT_LINES.
    DATA : P_FILE1 TYPE STRING.
    DATA : DL_NAME TYPE THEAD-TDNAME, " Object Name(material no)
           DL_LAN TYPE THEAD-TDSPRAS. " Language
    CONSTANTS:C_BEST TYPE THEAD-TDID VALUE 'BEST',
              C_MATERIAL TYPE THEAD-TDOBJECT VALUE 'MATERIAL'. " OBJECT
    DATA: START TYPE I,
          LEN   TYPE I VALUE 92,
          TOTLEN TYPE I,
          N TYPE I.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-101.
    PARAMETERS P_FILE LIKE RLGRAP-FILENAME."input file
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      PERFORM FETCH_FILE USING P_FILE.
    *&      Form  fetch_file
          text
         -->P_FILE     text
    FORM FETCH_FILE USING P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
        IMPORTING
          FILE_NAME     = P_FILE.
    ENDFORM.                    "fetch_file
    START-OF-SELECTION.
      PERFORM UPLOAD USING P_FILE. " *To Upload Flat file
      PERFORM UPLOAD_TEXT.
    *&      Form  UPLOAD
          text
         -->P_FILE     text
    FORM UPLOAD USING P_FILE.
      P_FILE1 = P_FILE.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      = P_FILE1
         FILETYPE                      = 'DAT'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        TABLES
          DATA_TAB                      = ITAB
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
      IF SY-SUBRC EQ 0.
    *message i001 with p_file .
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "UPLOAD
    *&      Form  UPLOAD_TEXT
          text
    FORM UPLOAD_TEXT.
      LOOP AT ITAB.
        ITAB1-MATNR = ITAB-MATNR.
        CLEAR: TOTLEN,N, START.
        TOTLEN = STRLEN( ITAB-TEXT ).
        N = TOTLEN / LEN.
        N = N + 1.
        DO N TIMES.
          ITAB1-TEXT  = ITAB-TEXT+START(LEN).
          ITAB1-SEQU  = SY-INDEX.
          START = START + LEN.
          APPEND ITAB1.
        ENDDO.
      ENDLOOP.
      DELETE ITAB1 WHERE TEXT IS INITIAL.
      SORT ITAB1 BY MATNR SEQU.
      LOOP AT ITAB1.
        DT_LINES-TDFORMAT = '*'.
        DT_LINES-TDLINE = ITAB1-TEXT.
        APPEND DT_LINES.
        AT END OF MATNR.
          DL_LAN = SY-LANGU.
            WRITE : / itab-MATNR.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              INPUT  = ITAB1-MATNR
            IMPORTING
              OUTPUT = ITAB1-MATNR.
          MOVE ITAB1-MATNR TO DL_NAME.
          CALL FUNCTION 'CREATE_TEXT'
            EXPORTING
              FID         = C_BEST
              FLANGUAGE   = DL_LAN
              FNAME       = DL_NAME
              FOBJECT     = C_MATERIAL
              SAVE_DIRECT = 'X'
              FFORMAT     = '*'
            TABLES
              FLINES      = DT_LINES
            EXCEPTIONS
              NO_INIT     = 1
              NO_SAVE     = 2
              OTHERS      = 3.
          IF SY-SUBRC <> 0.
            WRITE:/10  'Long Text Creation failed for Material No',  ITAB1-MATNR.
          ELSE.
            WRITE:/10 'Long Text Created Successfully for Material No', ITAB1-MATNR.
          ENDIF.
          REFRESH DT_LINES.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    "UPLOAD_TEXT

  • Dynamic Standard text in SmartForms

    Hi,
    I have requirwemnt where I need to retrive the data from the Standard text to display.
    But it variews based on SalesOrge and Comany Code u2018Zxxxx_SALES_yyyyu2019 here XXXX is SalesOrge and YYYY Company code.
    How to call the standard text Dynamically in Samrtform?
    Regards
    Irfan

    Hi,
    For displaying standard text dynamically, just follow the following steps:
    1. Create a text element and in general attributes give type as Include Text.
    2. Instead of providing any static Standard text in Text Name field, you need to click on the arrow button pointing right, which is for Dynamic Field Value. There you can provide your variable as &VARIABLE&, which contains the standard text name based on the conditions.
    3. Pass value statically like Text Object-TEXT,  Text ID - ST , Language - EN or else you can passs them dynamically as per your requirement.
    As you will be passing variables in order to print dynamic standard texts, it is better to check the option "No error if no text exists".
    Karthik
    Edited by: Karthik S on Sep 2, 2010 2:40 PM

  • Problem uploading standard texts

    I am uploading standard texts from text file onto SAP.
    I recorded it properly with the data, but while uploading I face this problem. For example the foll text
    "Price will be NY's posted price at Slaugxxxx Bio Plant on the day of deliveries."
    It is uploading only till "del" of deliveies", i.e everything other than 'iveries." is getting uploaded into the first line of the transaction so10. The rest of the text is not going to the next line. How do I solve this problem. Can you help me out.

    Hey i figured out a different solution using some logic
    *This is the internal table having the list of
    *standard texts to be *uploaded from a *source file.
    LOOP AT tb_stdtext.
      DATA : lv_textline(40) TYPE c.
      DATA : lv_zero TYPE i VALUE 0,
             lv_seven2 TYPE i VALUE 72,
             lv_loopcount(2) TYPE n VALUE '02',
             lv_loopvalue TYPE i,
             lv_data(1000) TYPE c,
             lv_buff(72) TYPE c,
             lv_strlen TYPE i.
      lv_textline = 'RSTXT-TXLINE(  )'.
    MOVE lv_loopcount0(2) TO lv_textline13(2).
          PERFORM bdc_dynpro      USING 'SAPLSTXX' '1100'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        lv_textline.
          PERFORM bdc_field    USING 'BDC_OKCODE'
                                        '=EDNP'.
          lv_loopvalue = lv_strlen / 72 + 1.
          DO lv_loopvalue TIMES.
            MOVE lv_loopcount0(2) TO lv_textline13(2).
            MOVE lv_data+lv_zero(lv_seven2) TO lv_buff.
            PERFORM bdc_field    USING lv_textline lv_buff.
            lv_loopcount = lv_loopcount + 1.
            lv_zero = lv_seven2 .
            lv_seven2 = lv_seven2 + 72.
            IF lv_seven2 > lv_strlen.
              lv_seven2 = lv_strlen.
            ENDIF.
          ENDDO.
          lv_loopcount = lv_loopcount - 1.
          MOVE lv_loopcount0(2) TO lv_textline13(2).
          PERFORM bdc_dynpro      USING 'SAPLSTXX' '1100'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        lv_textline.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=TXBA'.
          PERFORM bdc_dynpro      USING 'SAPLSPO1' '0100'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=YES'.
          PERFORM bdc_dynpro      USING 'SAPMSSCE' '1100'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'RSSCE-TDNAME'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=TXBA'.
          PERFORM bdc_field       USING 'RSSCE-TDNAME'
                                        tb_stdtext-tdname.
          PERFORM bdc_field       USING 'RSSCE-TDID'
                                       tb_stdtext-tdid.
          PERFORM bdc_field       USING 'RSSCE-TDSPRAS'
                                        tb_stdtext-tdspras.
        ENDIF.
        lv_zero = 0.
        lv_seven2 = 72.
        lv_loopcount = '02'.
        lv_loopvalue = 0.
        PERFORM bdc_transaction USING 'SO10'.
      ENDLOOP.

  • Adding standard Text as long text in QC01 of General data Section

    Hi ,
    I want to Append standard text in Certificate Profile Creation(QC01)of General data section. Can you suggest any Exit.
    Standard Texts created by SO10 Transaction.
          Thanks in advance

    Dear Raynard,
    Raynard Coscolluela wrote:
    As far as I can remember the Travel Request was conceptualize to be a simple ESS Form that's why most of the labels here are hard coded and didn't use OTR.
    I have to disagree. None of the labels, except this one are hard-coded via Personalization-Means and most Texts come indeed from the OTR, the Label T_ACTYPE_LABEL also has an entry in OTR (see my posts above) but is only non-changable by enhancements because the component configuration was "abused" to overload the OTR and coding in runtime. I still can't really believe this one is intentional....
    Raynard Coscolluela wrote:
    We don't recommend changing the label text in Web Portal as it can lead into inconsistency incase a new update will be > deliver by SAP into this fields. So yes this is a consider a modification.
    This will be an issue since the word "Spesen" which is a specific German one for "Expenses" is juridically wrong if used within a specific MOREI of the Public Sector. But this is another issue and I don't want to elaborate on this one here.
    Raynard Coscolluela wrote:
    My colleague who participate in this thread is still on vacation and she ask me to assist here.
    I see, and I'm glad you did assist here. Give Sally my regards.
    This one is answered then, if not really "solved". I'll close the OSS message now.
    thanks a lot and best regards,
    Lukas

  • Dynamic STANDARD TEXT in scripts

    Hi friends,
             I have to include standard text in the script corresponding to the company code. For example if company code = 6100, I have to include standard text SD_6100, or else if 2000 I have to include SD_2000. Here I can use IF statement. But If company codes are 20 or 30 then it is difficult to write that many IF statements. And in future if they increased the company codes then we should write one more if statement.So is there any method to include the STANDARD TEXT dynamically.
    Sathish Reddy.

    Hi satish ,
    create the standard text in tcode SO10 .
    now u can create this with respect to company code
    /:  case & - bukrs&
    /:    when '20'
        text
    /:   when '30'
        text for 30
    /:   endcase.
    so by doing this u ll trigger the corresponding text for company code .
    now  to include the std text in your form
    just call the standard text IN THAT WINDOW AS ...
    /: INCLUDE Z_XXXXX OBJECT TEXT ID ST LANGUAGE EN
    remarks,
    Dynamically if u want to trigger the standard text u can go for IF end if logic as u stated or a case endcase..
    there is no alternate .
    regards,
    VIjay
    Message was edited by:
            Vijay k

Maybe you are looking for

  • Unable to Print - OS Problem?

    Epson CX4200, connected via USB, has all of a sudden simply refused to print. This occurred absent any other system mods or actions or indications at all. All jobs are stopped immediately and cannot be re-started. Jobs can be added to and deleted fro

  • How do I change my password on the outgoing mail server?

    Getting a "Cannot Send Mail.  The user name or password for "SMTP:[email protected]@smtp.aol.com" is incorrect" and I can not send any mail messages.  The Outgoing mail server data is greyed out so I can not make changes.  What do I do?

  • Convert spool in the text format and send mail

    Hi All Can anyone tell me how to convert the spool into the text format and send that in email as an attachment.. Points will be rewarded URGENT

  • Youtube issues via widget - iWeb 09

    Yesterday i updated my website and I wanted to add a few new videos to my page and was surprised that the URL I copied from youtube will not work in iWeb. It kept saying the URL was invalid. I noticed a few months ago youtube changed the URL's for al

  • Sharing Itunes library between windows desktop and macbook not working

    Hi, I just bought my laptop today. I've had it about 3 hours. I have 2147 songs on my windows itunes library, and i would love to be able to put them on the laptop too. Now, both of my computers are on the local area connection, but for some reason w