Including delivery text item (object VBBP) in a Smartform

Hi,
I want to include 'Delivery Text' ( Object VBBP, Text ID 0004) into my Delivery smartform.
I have created a Include Text Text field but what is the Text Name of this delivery text item.
tnks for any help

it is delivery number + item number
delivery number should be 10 digits ,0000045677000010

Similar Messages

  • How to call another form ,if option is entered in a text item object ???

    hi ,
    I am created an application ,where in i press a button which call another form having a menu .
    I select any one of the option from the menu ....i enter a number in the text item object of this form ....depending upon what option i have typed .....i would like to call another form ...
    My questions are
    1) Which trigger of this text item should be enabled,and what code to i write in this trigger ?
    2) Since this form is not having any database insert,delete ,update or query (select)
    it should directly go to the new form,whose option i provide in the text item .
    Sunny

    hey bro, i am assuming that ur text item contains the form name, any relevant trigger can be used for user action, like key-enter, post-change or key-next-item.
    to run a form u can use functions call_form or open_form with proper paramters.
    if u want to forward the entered text in the item, use global variable for the session.
    it doesnt matter if the form contains database items or blocks, all u have to do is run the form.
    e.g,
    declare
    VAR VARCHAR2-------;
    begin
    /* u can use the variable to concatinate or modify too, also can use global variable
    var:=:urblock.uritem;
    /* use ur own relevant parameters */
    open_form(VAR,ACTIVATE,NO_SESSION);
    exception
    when---------
    end;

  • How to properly change the content of text item object

    Working in CS3 here.
    I have a collection of text item objects from a grep search.
    I want to iterate through the items and possibly change the values depending on a conditional statement.
    So say I have a collection myTextObject that contains text item objects from a GREP search
    <code>
    for (var i = 0; i<myTextObject.length; i++) {
         if (myTextObject[i].content == "myCondition") {
              myTextObject[i].content = "My New Value";
    </code>
    Once I do that, all the other content values in my collection are one byte off. So I am guessing that when the collection is created, Indesign sets a byte limit on the collection and when content is replaced, it sets everything off.
    I understand that the collection is built from the beginning of the document so possibly iterating backward would solve the problem?
    Any other suggestions here?

    yep. iterating backwards shoud help.

  • Text Determination at sales order item level (VBBP)

    We use a Z text ID (Z005) at our sales order item text determination procedure, which refers to text object VBBP.
    Access sequence carries only this line.
    Ideally, if the text object is VBBP, the source of the text is from sales doc (like Quote to Order). Correct me if I'm wrong.
    Issue:
    When creating quote/sales order for configuration (variant) items, texts get automatically filled in this text id.
    We verified material master, BOM master to validate the text source. however, no texts are maintained on those.
    We would like to know how these are filled in automatically.
    However these phantom texts are same and does not change for items.

    Hi Nigesh,
    Look at the text id in some other procedure like for KNVV, KNVP, KNA1 etc for customer. May be the text is flowing from customer or even material to the sales order automatically.
    In this case, teh text ID and access sequence will be same in that level namelyKNVV, KNVP, KNA* etc. So you better check there and your problem will be solved.
    If that is not the case, pls lemme know.

  • Partial Delivery on Text Item (TATX)

    Guru's, I have an order with both standard items and text items.  I shipped half of the standard items and technically half of the text items.  When I went back to create another delivery against the remaining items on the order, the text item did not show up even though it was originally short-shipped.  How can I fix this?  I need to be able to do this so we can remember to ship the remaining text items with the 2nd delivery
    Thanks.

    Hi All,
    Need one clarification, Please go to your previously created delivery --> double click at item --> go to "Processing" tab page and check the Good issue status of your Text item
    Regards,
    MT

  • Find text name of item text of object eban

    How to find the text name of item text of object eban.
    Thanks,
    Sai.

    Hi
    If you want to maintain any text in Purchasing first maintain the texts in Material Master - Purchase Order Text - Click Create / Change the Text in the Space given then
    GOTO - HEADER -  >              
                            TEXT NAME
                            TEXT ID : BEST
                            TEXT OBJECT :MATERIAL
                            LANGUAGE : EN
    Regards,
    senthil.

  • How to delete text item in delivery

    SAP Expert,
    I am facing one problem in deleting text item from the delivery. In one case our store person have inserted taxt item by mistake in delivery. In the delivery there are two schedule lines one is of Tan and another is of tatx (which is by mistake inserted by him) he prepaired bill for the delivery and System split the delivery in two invoices, later on he cancelled the invoice of Text item Which value is 0. But now the delivery is showing pending in VF04 though we have invoice the 1st schedile line. After this I tried to delete the text itm by going to vl02n but system is not alowing me to delete the schedule line. error is document can not deleted. where as system is also not allowing thtough t-code vl09n after cancelling the invoice.
    I need experts help to solve this problem. I wan to cleare the delivery from t-code VF04.
    nikhil

    Dear Thanks doe the prompt reply.
    here the delivery is only one and system have created two invoices. I have cancell the invoice of 0 value by using t-code VF11, after this I tried for vl09 to reverse the goods movement but system is not allowing me becouse for the same delivery we have created two invoices and one is cancell.
    so dear friend tell me is it possible for me to reverse the one schedule line from the delivery by using vl09n.
    nikhil

  • How to include text items in a block...urgent please.

    I have one form, basically at the first level, it in turns calls other forms too. However, I have add two columns i.e. sales_no, and date_closed at job level. The form is at project level. When the user apply ENTER_QUERY mode on project, then all the projects already closed should display sales_no and date_closed otherwise leave them bank. Project comes from project_master and sales_no, date_closed comes from job and both are linked via project_no, and entity. Could anyone help please?

    Hi Jhon,
    You have my thanks for your reply and then let me explain the stuff I am doing. The method you have suggested, I am already applying the same techniques. The items are there in the block along with other items. However, when I add my two text items which comes from another table which has relationship with the table being used by the block, though the block is couple of other inter-related tables too. Now when I add my text items I dont apply any triggers, but when I run the form it gives me error, invalid field item. My question is where I can add the triggers for the two items, and how can it be successfully embedded inside the block. I dont know if that makes sense. I'll appreciate your help in this matter. Thanks
    Zahir

  • Read a barcode(including line feeds) into text item

    When I scan a bar code from a text item, I am unable to retrieve line feeds that are in a barcode. I need line feeds to retrieve various values encoded in the barcode. When I scan the same code on a notepad, I get output in multi-lines. But, oracle forms is removing the line feeds when I scan barcode in a text item. Please advice. Forms Version is 10g

    It gave me output of 10.
    Original string looks like this with control charactes <LF> and <CR>.
    @<LF><CR>ansi 636049030002dl00410466zn05070057dldcabcde<LF>dcbbcdefjklmw
    I have to get hold of <LF> character because it is used as delimiter for data values in barcode. But, when I scan it in oracle forms item, it is not reading <LF> character. Based on what you suggested, using dump and ascii, it ilooks like it is reading carriage return <CR> as CHR(10) and not <LF>. There is one more <LF> in the string and forms text item is not recognizing it. Dump output is shown below:
    @,^J,A,N,S,I, ,6,3,6,0,4,9,0,3,0,0,0,2,D,L,0,0,4,1,0,4,6,6,Z,N,0,5,0,7,0,0,5,7,D,L,D,C,A,B,C,D,E,D,C,B,B,C,D,E,F,J,K,L,M,W,
    Thanks

  • How can Irezise objects(text item or tree, etc)?

    dear friens
    I have Oracle form (10g) and I'd like make a table of text items like excel gride, because I'd like resize the width of columns and move columns. Please tell me how can I do that.
    thanks

    Hi,
    you can't move and resize them with drag and drop, but you can do this programmatically using the next and previos navigation item property, as well as the positional and size properties of the items. Its a bit like shuffling cards, but it works great.
    Frank

  • Delivery Text  reading , help plz

    Dear all
      i  am supposed to read the Material text from delivery doc so i m using the following code but not piccking the same at all .
      Data: DESC3(1320).
         TIDNO = '0001'.
        CONCATENATE DELNO
                    T_LITEM-POSNR
        INTO        TNAME.
        TOBJT = 'VBBP'.
        PERFORM FINDTEXT.
          LOOP AT MSLINES.
            DESC1 = mslines-tdline(132).
            CONCATENATE  DESC3 DESC1
                  INTO DESC3  SEPARATED BY SPACE.
            IF SY-TABIX GE 10.
              EXIT.
            ENDIF.
          ENDLOOP.
    *&      Form  FINDTEXT
          text
    FORM FINDTEXT.
      REFRESH mslines.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                      = tidno
          language                = sy-langu
          name                    = tname
          object                  = tobjt
        TABLES
          lines                   = mslines
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      DELETE mslines WHERE tdline IS INITIAL.
    ENDFORM.                    "FINDTEXT
    Helllllllppppppp plz.
    Thnx
    Moni
    Message was edited by: md monirujjaman

    Hi Moni,
    First thing to do is to check the key you are using to try and access the text.  Look up the header of the text you are after using SE16 on table STXH.  If you have some trouble finding it you can make a change to the delivery text (using the standard delivery change transaction) and select all records where TDLUSER = [Your SAP logon].
    This should help you locate the exact key you are looking for.  Remember also that leading zeros should be included in the key where appropriate (check in debug that the key is built correctly).
    If the key is correct (including the language!!!) then the READ_TEXT function will for sure retrieve the lines you are looking for.  Remember also that if you are peforming this code within a delivery userexit the possibility exists that the text has not even been saved yet (still running in update task).  In this case, you will have to access the text from memory directly (this can be a painful process).
    Hope that helps.
    Cheers,
    Brad

  • How to find the ID of the text item of the column in an tabular form

    Hello,
    I have created a tabular form report on emp table and made ONE OF THE COLUMN department_id as an text item using APEX_ITEM.TEXT APIs.
    My select query is
    select
    "EMPLOYEE_ID",
    "EMPLOYEE_ID" EMPLOYEE_ID_DISPLAY,
    "FIRST_NAME",
    "LAST_NAME",
    "HIRE_DATE",
    "JOB_ID",
    "SALARY",
    "MANAGER_ID",
    APEX_ITEM.TEXT(3,department_id,20,50,'readonly=true') department_id
    from "#OWNER#"."OEHR_EMPLOYEES"
    now how can i find the item ID?
    one more thing is that how would i reference this item in an javascript function.
    anyone plz help me out with this.
    thanks.

    Hi,
    Firstly, your link must include "this" to ensure that any javascript knows which link has been clicked. So, change:
    onclick="javascript:report();"to
    onclick="javascript:report(this);"Next, your javascript code must take this value and find the related DEPTNO item on the same row. The URL must pass to the popup page the name of the ID that needs to be updated - this is held in the f10 variable in the following script. This means that you popup page must be able to receive this value so that it can use it to update the DEPTNO item when a value is selected. Your popup page seems to be page number 4, so I will assume that you have a P4_ITEM_ID hidden item on that page for this purpose. So, the javascript on the main page would be something like:
    function report(x)
    var f10;
    var p = x.parentNode;
    while (p.tagName != "TR")
      p = p.parentNode;
    var inputs = p.getElementsByTagName("INPUT");
    var zz;
    for (zz = 0; zz < inputs.length; zz++)
      if (inputs[zz].name = 'f10')
       f01 = inputs[zz].id;
    var url;
    url = 'f?p=&APP_ID.:4:&APP_SESSION.::::P4_ITEM_ID:' + f10;
    var w = open(url,"winLov","Scrollbars=1,resizable=1,width=450,height=600");
    if (w.opener == null)
       w.opener = self;
    w.focus();
    }So, when the user clicks a link, the report() function is called and the object clicked is passed as a parameter. The script then starts from this object and goes up to the TR tag that the link is on. From here, it finds all INPUT items and then looks at those to find one that has a name attribute of "f10". When it finds it, it stores the ID of that in the "f10" variable. It then constructs a URL using this variable which is set into the P4_ITEM_ID hidden item on the popup page.
    I don't know what your javascript is on the popup, but it would need to get the value out of P4_ITEM_ID to see which main page item needs updating. This could be something like:
    function passBack(val)
      var id = $v('P4_ITEM_ID');
      opener.document.getElementById(id).value = val;
      window.close();
    }This script looks in the P4_ITEM_ID hidden item and gets its value - this will be the ID of the item to update on the main page. It then does the update and closes the popup.
    Andy

  • How to pass text to Material Sales text, item note, while creating a sales

    hi ,
       i tried my level best with the help of friends (SDN).
       but i am unable to reach the target.
       my requirement is to enter text into
        1) material sales text
        2) item note
        3) packing note
        4) delivery text
        5) purchase order text
        6) production memo
        in sales order using bapi. here i am submitting the code i wrote.
      kindly some one help me.
       thanks in advance
    regards,
    pavan
    <i>report  zmybapi1        .
    data : my_order_header_in like bapisdhd1 occurs 0 with header line,
           my_order_header_ix like bapisdhd1x occurs 0 with header line.
    data : my_orderitemsin like bapisditm  occurs 0 with header line,
           my_orderitemsix like bapisditmx occurs 0 with header line.
    data : my_order_partners like bapiparnr occurs 0 with header line.
    data : my_return like bapiret2 occurs 0 with header line.
    data : w_vbeln like bapivbeln-vbeln.
    data:
         my_orderschedulesin like bapischdl occurs 0 with header line,
         my_orderschedulesinx like bapischdlx occurs 0 with header line.
    data : my_orderconditionsin like bapicond occurs 0 with header line,
           my_orderconditionsinx like bapicondx occurs 0 with header line.
    <b>data : my_ordertext like bapisdtext occurs 0 with header line.</b>
    start-of-selection.
    this is to assign values to internal table my_order_header_in
      my_order_header_in-doc_type   = 'TA'.
      my_order_header_in-sales_org  = 'JNJ1'.
      my_order_header_in-distr_chan = '02'.
      my_order_header_in-division   = 'J1'.
      my_order_header_in-sales_off  = 'JNJ1'.
      my_order_header_in-purch_no_c = 'testbapipo'.
      my_order_header_in-purch_date = sy-datum.
      my_order_header_in-req_date_h = sy-datum.
      append my_order_header_in.
    this is to assign values to internal table my_orderitemsin
      my_orderitemsin-material      = '000000000000000727'.
      my_orderitemsin-plant         = 'JNJ1'.
      my_orderitemsin-target_qu     = 'EA'.
      my_orderitemsin-target_qty    = '10'.
      append my_orderitemsin.
    this is to assign values to internal table my_order_partners
      my_order_partners-partn_role = 'AG'.
      my_order_partners-partn_numb = '0000000011'.
      append my_order_partners.
      my_order_partners-partn_role = 'WE'.
      my_order_partners-partn_numb = '0000000011'.
    append my_order_partners.
    This is to assign values to internal table my_orderschedulesin
      my_orderschedulesin-itm_number = '10'.
      my_orderschedulesin-itm_number = '000010'.
      my_orderschedulesin-req_qty   = '10'.
      my_orderschedulesin-SCHED_LINE = '0001'.
      append my_orderschedulesin.
    *This is to assign values to internal table my_orderconditionin
      my_orderconditionsin-itm_number = '000010'.
      my_orderconditionsin-cond_type = 'ZPR1'.
      my_orderconditionsin-cond_st_no = ''.
      my_orderconditionsin-cond_count = '1'.
      my_orderconditionsin-cond_value = '40'.
      my_orderconditionsin-cond_p_unt = '1'.
      my_orderconditionsin-currency = 'INR'.
      append my_orderconditionsin.
    <b> my_ordertext-itm_number = '00010'.
      my_ordertext-text_id = '0002'.
      my_ordertext-langu = 'EN'.
      my_ordertext-langu_iso = 'EN'.
      my_ordertext-text_line = 'This is for item note'.
      my_ordertext-format_col = '*'.
      my_ordertext-function = '009'.
    *</b>  <b>append my_ordertext.</b>
      my_order_header_ix-updateflag = 'I'.
      my_order_header_ix-doc_type   = 'X'.
      my_order_header_ix-sales_org  = 'X'.
      my_order_header_ix-distr_chan = 'X'.
      my_order_header_ix-division   = 'X'.
      my_order_header_ix-sales_off  = 'X'.
      my_order_header_ix-purch_no_c = 'X'.
      my_order_header_ix-purch_date = 'X'.
      my_order_header_ix-req_date_h = 'X'.
      append my_order_header_ix.
      my_orderitemsix-updateflag    = 'I'.
      my_orderitemsix-material      = 'X'.
      my_orderitemsix-target_qty    = 'X'.
      my_orderitemsix-plant         = 'X'.
      my_orderitemsix-target_qu     = 'X'.
      append my_orderitemsix.
      my_orderschedulesinx-updateflag = 'I'.
      my_orderschedulesinx-sched_line = '0001'.
      my_orderschedulesinx-req_qty    = 'X'.
      append my_orderschedulesinx.
    my_orderconditionsinx-itm_number = '000010'.
      my_orderconditionsinx-cond_type = 'ZPR1'.
      my_orderconditionsinx-cond_st_no = 'X'.
      my_orderconditionsinx-cond_count = 'X'.
      my_orderconditionsinx-updateflag = 'U'.
      my_orderconditionsinx-cond_value = 'X'.
      my_orderconditionsinx-cond_p_unt = 'X'.
      my_orderconditionsinx-currency = 'X'.
      append my_orderconditionsinx.
      call function 'BAPI_SALESORDER_CREATEFROMDAT2'
        exporting
      SALESDOCUMENTIN               =
          order_header_in               = my_order_header_in
          order_header_inx              = my_order_header_ix
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
        importing
          salesdocument                 = w_vbeln
        tables
          return                        = my_return
          order_items_in                = my_orderitemsin
          order_items_inx               = my_orderitemsix
          order_partners                = my_order_partners
        ORDER_SCHEDULES_IN            =  my_orderschedulesin
         order_schedules_inx           = my_orderschedulesinx
       ORDER_CONDITIONS_IN           =  my_orderconditionsin
       ORDER_CONDITIONS_INX          =  my_orderconditionsinx
      ORDER_CFGS_REF                =
        <b>ORDER_TEXT                    = my_ordertext</b>
                 if sy-subrc ne 0.
        write: my_return-message, my_return-number, my_return-type.
      else.
         call function 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
           WAIT          =
         IMPORTING
           RETURN        =
          write: my_return-message, my_return-number, my_return-type.</i>

    hi prashant,
        i tried the save_text but , i am unable find the exact value which i have to enter for the field tdobject.
    this is updated program as per u r instruction.
    <b>Text object not found</b>
    the code now is
    <b>report  zmybapi1        .
    data : my_order_header_in like bapisdhd1 occurs 0 with header line,
           my_order_header_ix like bapisdhd1x occurs 0 with header line.
    data : my_orderitemsin like bapisditm  occurs 0 with header line,
           my_orderitemsix like bapisditmx occurs 0 with header line.
    data : my_order_partners like bapiparnr occurs 0 with header line.
    data : my_return like bapiret2 occurs 0 with header line.
    data : w_vbeln like bapivbeln-vbeln.
    data:
         my_orderschedulesin like bapischdl occurs 0 with header line,
         my_orderschedulesinx like bapischdlx occurs 0 with header line.
    data : my_orderconditionsin like bapicond occurs 0 with header line,
           my_orderconditionsinx like bapicondx occurs 0 with header line.
    data : my_ordertext like bapisdtext occurs 0 with header line.
    data : my_header like thead occurs 0 with header line.
    data : my_tline like tline occurs 0 with header line.
    start-of-selection.
    this is to assign values to internal table my_order_header_in
      my_order_header_in-doc_type   = 'TA'.
      my_order_header_in-sales_org  = 'JNJ1'.
      my_order_header_in-distr_chan = '02'.
      my_order_header_in-division   = 'J1'.
      my_order_header_in-sales_off  = 'JNJ1'.
      my_order_header_in-purch_no_c = 'testbapipo'.
      my_order_header_in-purch_date = sy-datum.
      my_order_header_in-req_date_h = sy-datum.
      append my_order_header_in.
    this is to assign values to internal table my_orderitemsin
      my_orderitemsin-material      = '000000000000000727'.
      my_orderitemsin-plant         = 'JNJ1'.
      my_orderitemsin-target_qu     = 'EA'.
      my_orderitemsin-target_qty    = '10'.
      append my_orderitemsin.
    this is to assign values to internal table my_order_partners
      my_order_partners-partn_role = 'AG'.
      my_order_partners-partn_numb = '0000000011'.
      append my_order_partners.
      my_order_partners-partn_role = 'WE'.
      my_order_partners-partn_numb = '0000000011'.
    append my_order_partners.
    This is to assign values to internal table my_orderschedulesin
      my_orderschedulesin-itm_number = '10'.
      my_orderschedulesin-itm_number = '000010'.
      my_orderschedulesin-req_qty   = '10'.
      my_orderschedulesin-SCHED_LINE = '0001'.
      append my_orderschedulesin.
    *This is to assign values to internal table my_orderconditionin
      my_orderconditionsin-itm_number = '000010'.
      my_orderconditionsin-cond_type = 'ZPR1'.
      my_orderconditionsin-cond_st_no = ''.
      my_orderconditionsin-cond_count = '1'.
      my_orderconditionsin-cond_value = '40'.
      my_orderconditionsin-cond_p_unt = '1'.
      my_orderconditionsin-currency = 'INR'.
      append my_orderconditionsin.
    my_ordertext-doc_number = '0000008632'.
      my_ordertext-itm_number = '00010'.
      my_ordertext-text_id = '0002'.
      my_ordertext-langu = 'EN'.
      my_ordertext-langu_iso = 'EN'.
      my_ordertext-text_line = 'This is for item note'.
      my_ordertext-format_col = '*'.
      my_ordertext-function = '009'.
      append my_ordertext.
      my_order_header_ix-updateflag = 'I'.
      my_order_header_ix-doc_type   = 'X'.
      my_order_header_ix-sales_org  = 'X'.
      my_order_header_ix-distr_chan = 'X'.
      my_order_header_ix-division   = 'X'.
      my_order_header_ix-sales_off  = 'X'.
      my_order_header_ix-purch_no_c = 'X'.
      my_order_header_ix-purch_date = 'X'.
      my_order_header_ix-req_date_h = 'X'.
      append my_order_header_ix.
      my_orderitemsix-updateflag    = 'I'.
      my_orderitemsix-material      = 'X'.
      my_orderitemsix-target_qty    = 'X'.
      my_orderitemsix-plant         = 'X'.
      my_orderitemsix-target_qu     = 'X'.
      append my_orderitemsix.
      my_orderschedulesinx-updateflag = 'I'.
      my_orderschedulesinx-sched_line = '0001'.
      my_orderschedulesinx-req_qty    = 'X'.
      append my_orderschedulesinx.
    my_orderconditionsinx-itm_number = '000010'.
    my_orderconditionsinx-cond_type = 'ZPR1'.
    my_orderconditionsinx-cond_st_no = 'X'.
    my_orderconditionsinx-cond_count = 'X'.
    my_orderconditionsinx-updateflag = 'U'.
    my_orderconditionsinx-cond_value = 'X'.
    my_orderconditionsinx-cond_p_unt = 'X'.
    my_orderconditionsinx-currency = 'X'.
    append my_orderconditionsinx.
      call function 'BAPI_SALESORDER_CREATEFROMDAT2'
        exporting
      SALESDOCUMENTIN               =
          order_header_in               = my_order_header_in
          order_header_inx              = my_order_header_ix
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
        importing
          salesdocument                 = w_vbeln
        tables
          return                        = my_return
          order_items_in                = my_orderitemsin
          order_items_inx               = my_orderitemsix
          order_partners                = my_order_partners
        ORDER_SCHEDULES_IN            =  my_orderschedulesin
          order_schedules_inx           = my_orderschedulesinx
      ORDER_CONDITIONS_IN           =  my_orderconditionsin
      ORDER_CONDITIONS_INX          =  my_orderconditionsinx
      ORDER_CFGS_REF                =
        ORDER_TEXT                    = my_ordertext
                 if sy-subrc ne 0.
        write: my_return-message, my_return-number, my_return-type.
      else.
         call function 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
           WAIT          =
         IMPORTING
           RETURN        =
          write: my_return-message, my_return-number, my_return-type.
    my_header-tdobject = ''.
    my_header-tdname = ' '.
    my_header-tdid = '0002'.
    my_header-tdspras = 'EN'.
    append my_header.
    my_tline-tdformat = '*'.
    my_tline-tdline = 'This is for item note'.
    append my_tline.
    call function 'SAVE_TEXT'
      exporting
      CLIENT                = SY-MANDT
        header                = my_header
      INSERT                = ' '
      SAVEMODE_DIRECT       = ' '
      OWNER_SPECIFIED       = ' '
      LOCAL_CAT             = ' '
    IMPORTING
      FUNCTION              =
      NEWHEADER             =
      tables
        lines                 = my_tline
    EXCEPTIONS
      ID                    = 1
      LANGUAGE              = 2
      NAME                  = 3
      OBJECT                = 4
      OTHERS                = 5
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endif.</b>
      thanks in advance
    regards,
    pavan

  • How to include standard text in a continuous line

    Hello all.
    I need to inculde a standard text of so10 in a continous line.
    Z1 Lieferbedingungen,,:,,&VBDKR-INCO1& &VBDKR-INCO2&
    /:    INCLUDE ZEDGCR0003699 OBJECT TEXT ID ST LANGUAGE DE PARAGRAPH Z1
    Here i m getting standard text in another line, where as i need standard text item just after &VBDKR-INCO2&.
    Regards,
    Baban

    hi
    try to use "/: INCLUDE" without keyword "PARAGRAPH"
    /    some text
    /:   INCLUDE ztxt1 OBJECT TEXT ID ST LANGUAGE &LANG_MAIN&
    and your standard text (here: ztxt1) should begin with command "="
    regards,darek

  • To Include Standard Text in TEXT Field of SMARTFORM

    Hi,
             I  have a requirement to include a Standard text inside a TEXT field. The name of standard text is ZSD_CMR_&VSTEL&_STATISTICAL  where for VSTEL we should put the respective work area field like ZSD_CMR_&W_LIKP-VSTEL&_STATISTICAL .
    But while executing the Form its giving Error that STD text does not exist.
    The Requirment is like - shipping point (LIKP_VSTEL) of the delivery to identify the standard text. So, if a doucument for a delivery for shipping point 3114 is printed, it should come with the contents of ZSD_CMR_3114 STATISTICAL  In case the shipping point is 3112 it shoukd be ZSDCMR_3112 _STATISTICAL.
    Can you please let me know how to include Std Text inside the TEXT, I mean SYNTAX .
    Regards
    Avi

    Hi Avi,
    Lets take the example the standard text <b>'ZSD_CMR_3114 _STATISTICAL'</b> then with this standard text get the TDOBJECT,TDNAME,TDID and TDPRAS from <b>STXH</b> table.
    In the Smartform, goto <b>TEXT->General Attributes Tab</b>.
    Select <b>Type</b> to be I<b>nclude Text</b> from the drop down list.
    Then give the Text Name, Text Object, Text ID and Language.
    Your Standard Text whcih you maintain in S010 will be displayed in the smartform window.
    Regards,
    Tushar
    Message was edited by:
            Tushar  Marshall Dass

Maybe you are looking for

  • SWITCH IDENTITY IN OUTLOOK EXPRESS WITH OS9.2.2 -Disaster...... ?

    Hi everyone - I applied Switch Indentity on Outlook Express 5 in my G4 OS9.2.2 and all my Address Book content disappeared. I can't get it back and don't know how to reverse the choice. Can anyone enlighten me as to whether or not I can. In any case,

  • PCi III doesn't POST

    I'm running Solaris 10 2008.05 on a Sunblade 2500, and I'm trying to install a PCi III card on it. I linked sunpcidrv.2100(.64) to sunpcidrv.290(.64), and ran the sunpcload command. Everything looked great, but after creating a new emulated disk, the

  • Cisco ISE (1.3) Posture and re-authentication

    Hello, With posture and re-authentication, during the re-authentication the posture status swithes to pending. This results in a redirect to client provisioning and a temperorly but unwanted state with no access to network resources. Is there a way t

  • Dvd says its blank on mac

    I put a DVD in my Macbook Pro and it says it's blank. I put the same DVD in my PowerMac and it recognizes it. The DVD has data not movie on it. Why doesn't the Macbook Pro recognize it? Both laptops have superdrives.

  • Updation of Rule-set in GRC10

    Hi, There is a requirement for us to update few risks(objects within the risk) for our non-business ruleset. What is the best suggested method to do this? ->Directly update from NWBC ->Download Rule-set and upload from SPRO ->Transport If any body ca