Create quotation item text thru bdc

hi all,
I have created  quotation upload BDC in that
how to create item text thru BDC program..
i used save_text function module,
after creating quotation i included this logic, but i want create text at the same time while creating quotation.
concatenate i_zvbap1-vbeln  i_zvbap1-posnr into v_textname.
move v_textname to tname-tdname.
move 'VBBP' to tname-tdobject.
move '0001' to tname-tdid.
move sy-langu to tname-tdspras.
append tname.
read table i_upload1 with key matnr = i_zvbap1-ematnr
        if sy-subrc = 0.
          lines-tdformat = '*'.
          move i_upload1-refid to lines-tdline.
          move i_upload1-refid to i_zvbap1-refid.
          modify i_zvbap1.
          append lines.
          clear lines.
        endif.
      endloop.
      call function 'SAVE_TEXT'
        exporting
          client          = sy-mandt
          header          = tname
          insert          = 'X'
          savemode_direct = 'X'
        importing
          newheader       = tname
        tables
          lines           = lines
        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.
how can i achieve this
thanks

thanks for ur reply..while creating quotation i have to create text...
but i think i need to pass parameters like
NAME
OBJECT
ID etc..
name will be concatenation of quotation number and item number, before creating i will be not having those info..
can u explain me in detail...
what parameters i have to give
thanks

Similar Messages

  • PROBLEM IN CREATING BOM ITEM TEXT FROM TEXT FILE

    Hi All,
    I am developing interface program for creating BOM based on data it text file. in my text file contain three column(material, qty and longtext). These text i need to upload to BOM TCODE CS01). Using SAVE_TEXT I have generated text object. it don't says any error. But while viewing text in CS03, text is not visible. Give me suggestion or give me any other method for updating item text from textfile.
    Thanks in advance.
    Regards.
    Peranandam.

    Hi Carl,
    Actually problem is SAVE_TEXT updates text but I cant able to view in CSO3 transaction. because while creating BOM I forget for updating language key for long text. After updating language key I can able to view text in CS03.
    Now I am facing another problem. If I am executing program directly without going to debug mode, It is not updates text. Logic everything is correct. Give me some suggestions for solving this issue. I am also tried with commit work, Commit_text and wait up n seconds statement.
    Regards,
    Peranandam

  • BAPI creating incorrect Item Texts

    Hi all
    I've got a problem where sales orders and credit notes get created via BAPIs but sometimes an item text from the previously created record appears on the following record.
    Background
    The process is as follows:
    1. XI creates a bunch of IDocs containing a mixture of sales order and credit memo doc types
    2. These are all processed in one go within a custom function module
    3. For Credit notes the BAPI 'BAPI_SALESDOCU_CREATEFROMDATA' is used, if this is successful then the item texts are processed which basically involves adding an item text to the last item. This is done using the SAVE_TEXT function. If there is more than one item the first to penultimate items do not have texts.
    4. For other doc types (standard orders, forward orders, paid), function 'SD_SALESDOCUMENT_CREATE' is run in test mode so that a credit check can be performed in advance of creating the document - the sales_text table is populated. If the credit check passes then the order is created using BAPI 'BAPI_SALESORDER_CREATEFROMDAT2'. The texts are created vai the BAPI by populating the order_text table.
    5. The next Idoc is then processed.
    Five times since this went live (about 18 months ago) a Credit Note has been created where the first item on it has the item text from the previous sales order
    What I've done so far
    1. I've reviewed the code to make sure variables are being cleared - they are
    2. I've run data through the system and stepped through it in debug mode - it works fine
    3. Our QAS box was restored from PRD recently so contains some of these incorrect documents. I've re-run the exact same batch that casued the incorrect documents - they are all created correctly
    4. I've trawled through SAP Notes and this forum
    The fact that the problem is not replicable suggests to me that both the data coming in and the bespoke function module are OK. I'm not sure why the different methods have been used for the different doc types but I wonder if this is what's causing the problem, maybe memory is not being cleared or something.
    Any pointers, thoughts, solutions or other genreal musings would be greatly appreciated!
    Thanks
    Andy

    Hi Andy
    Although you have mentioned that, you have checked whether variables are cleared, but from the issue it looks like there must be some variable that does not gets cleared.....i would suggest you to debug once again and check this out.....it might help.
    regards
    Lokesh

  • Uploading long text thru bdc

    Hi Gurus,
    I am facing some problem during the recording of hader text.. Details given below...
    I need to do this by using BDC...
     VA01 Steps as follows:
    1. Open VA01
    o Enter G2 or L2 order Type
    o Enter 9991 for Sales Org
    o Enter 01 for Dist Channel
    o Enter 99 for Division
    2. Enter Customer SAP # from spreadsheet to ship to and sold to
    (Enter some appropriate number)
    3. Enter Material Code from spreadsheet to Material
    (Enter some appropriate number)
    4. Enter target quantity as 1
    5. Enter Billing date as system date
    6. Go to Sales Tab
    7. Select Blank for billing block
    8. Enter order reason 013 for G2 type or 012 for L2
    9. Goto Header, Texts, Choose Invoice header text
    10. Enter SVB# from file as well as Quarter Text from file in notes
    11. Save
    this is want i need to do in order to create invoice serivce request by using BDC.
    I can able to get the fields till 8 th point ( i can able to write the program ), but from the 9 th point i m facing the problem..
    Bcz it just i need to enter some text here..( may be it's bcz of click )
    This is could not able to do it , can you please help me how can i do this ?
    Please let me know if i m not clear with my explanation...
    Looking forward for your response...

    Hi,
    Please refer this link:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/4e/09d47b8389d4439fa70159920f4bbe/frameset.htm.
    Regards,
    Rahul

  • Quotation item text how to call in sap script in footer

    hi,
    Please help me, i have been trying hard for this and also searches sdn for relevant posts but could not find any, I thank all people who can help me with some information on this.
    Regards,
    prashant

    hi
    I created driver program in se38  that is correct  or not
    *& Report  ZP_QTEXT3
    REPORT  ZP_QTEXT3.
    DECLARION OF TABLES ******
    TABLES : VBAP,STXL.
    *stxh, stxl, stxb - trans tables for text
    *ttxit - text on text-ids
    *ttxot - Short texts on text objects
    *Transaction MD63
    FORM TEXT1 TABLES IN_TAB STRUCTURE ITCSY
                      OUT_TAB STRUCTURE ITCSY.
         DATA : TDOBJECT1 LIKE STXL-TDOBJECT,
                  TDNAME1 LIKE STXL-TDNAME,
                  TDID1 LIKE STXL-TDID,
                  TDSPRAS1 LIKE STXL-TDSPRAS.
    *DATA : TDOBJECT1(10).
           TDNAME(70),
           TDID(4),
           TDSPRAS(1).
    READ TABLE IN_TAB WITH KEY 'STXL-TDNAME1'.
    TDNAME1 = IN_TAB-VALUE.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = TDNAME1
    IMPORTING
       OUTPUT        = TDNAME1.
    SELECT SINGLE * FROM STXL WHERE  = VBDPA-TDNAME1."MARA-MATNR."'000000000020000179' .
    TDOBJECT1 = VBDPA-TDOBJECT1.
    TDID1 = VBDPA-TDID1.
    TDSPRAS1 = VBDPA-TDSPRAS1.
    MOVE TDOBJECT TO TDOBJECT1.
    READ TABLE OUT_TAB WITH KEY  'ATDOBJECT1'.
      IF SY-SUBRC = 0.
        OUT_TAB-VALUE = TDOBJECT1.
        MODIFY OUT_TAB INDEX SY-TABIX.
      ENDIF.
    MOVE TDID TO TDID1.
    READ TABLE OUT_TAB WITH KEY  'ATDID1'.
      IF SY-SUBRC = 0.
        OUT_TAB-VALUE = TDID1.
        MODIFY OUT_TAB INDEX SY-TABIX.
      ENDIF.
    MOVE SPRAS TO SPRAS1.
    READ TABLE OUT_TAB WITH KEY  'ASPRAS1'.
      IF SY-SUBRC = 0.
        OUT_TAB-VALUE = SPRAS1.
        MODIFY OUT_TAB INDEX SY-TABIX.
      ENDIF.
    DATA : TNAME LIKE THEAD-TDNAME.
    DATA : W_STXL TYPE STXL.
    *SELECT-OPTIONS: S_VBELN for VBAP-VBELN,
    *S_POSNR FOR VBAP-POSNR.
    DATA: BEGIN OF HTEXT.
    INCLUDE STRUCTURE THEAD.
    DATA: END OF HTEXT.
    DATA: BEGIN OF LTEXT OCCURS 50.
    INCLUDE STRUCTURE TLINE.
    DATA: END OF LTEXT.
    DATA: BEGIN OF DTEXT OCCURS 50.
    DATA: VBELN LIKE VBAP-VBELN,
          POSNR LIKE VBAP-POSNR.
    INCLUDE STRUCTURE TLINE.
    DATA: END OF DTEXT.
    PERFORM  BODY_DISPLAY.
    SELECT * FROM VBAP WHERE VBELN IN S_VBELN.
    SELECT * FROM VBAP WHERE POSNR  IN S_POSNR.
    ENDSELECT.
    ENDSELECT.
    *MOVE VBAP-VBELN TO TNAME.
    *MOVE VBAP-POSNR TO TNAME.
    *&      Form  BODY_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM BODY_DISPLAY .
    PACKING DETQAILS TEXT ********
    CONCATENATE VBAP-VBELN VBAP-POSNR INTO TNAME.
    SELECT SINGLE * FROM STXL INTO W_STXL
                   WHERE TDNAME = TNAME AND TDID = '0011' .
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = W_STXL-TDID
    LANGUAGE = W_STXL-TDSPRAS
    NAME = TNAME
    OBJECT = W_STXL-TDOBJECT
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT .
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ' '.
    MOVE LTEXT-TDLINE TO DTEXT-TDLINE.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    CLEAR : TNAME, HTEXT.
    REFRESH : LTEXT.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-TDLINE.
    ENDLOOP.
    ULINE.
    SEA FRIEGHT CHARGE TEXT **********
    SELECT * FROM VBAP WHERE VBELN IN S_VBELN.
    SELECT * FROM VBAP WHERE POSNR  IN S_POSNR.
    ENDSELECT.
    ENDSELECT.
    CONCATENATE VBAP-VBELN VBAP-POSNR INTO TNAME.
    SELECT SINGLE * FROM STXL INTO W_STXL
                   WHERE TDNAME = TNAME AND TDID = '0012'.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = W_STXL-TDID
    LANGUAGE = W_STXL-TDSPRAS
    NAME = TNAME
    OBJECT = W_STXL-TDOBJECT
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT .
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ' '.
    MOVE : LTEXT-TDLINE TO DTEXT-TDLINE.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    CLEAR : TNAME, HTEXT.
    REFRESH : LTEXT.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-TDLINE.
    ENDLOOP.
    CLEAR : TNAME, HTEXT,DTEXT.
    REFRESH : LTEXT.
    ULINE.
    LEAGALISATION FEES *********
    SELECT * FROM VBAP WHERE VBELN IN S_VBELN.
    SELECT * FROM VBAP WHERE POSNR  IN S_POSNR.
    ENDSELECT.
    ENDSELECT.
    CONCATENATE VBAP-VBELN VBAP-POSNR INTO TNAME.
    SELECT SINGLE * FROM STXL INTO W_STXL
                   WHERE TDNAME = TNAME AND TDID = '0013'.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = W_STXL-TDID
    LANGUAGE = W_STXL-TDSPRAS
    NAME = TNAME
    OBJECT = W_STXL-TDOBJECT
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT .
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ' '.
    MOVE : LTEXT-TDLINE TO DTEXT-TDLINE.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-TDLINE.
    ENDLOOP.
    ULINE.
    SEA FREIGHT CHARGES *************
    SELECT * FROM VBAP WHERE VBELN IN S_VBELN.
    SELECT * FROM VBAP WHERE POSNR  IN S_POSNR.
    ENDSELECT.
    ENDSELECT.
    CONCATENATE VBAP-VBELN VBAP-POSNR INTO TNAME.
    SELECT SINGLE * FROM STXL INTO W_STXL
                   WHERE TDNAME = TNAME AND TDID = '0014'.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = W_STXL-TDID
    LANGUAGE = W_STXL-TDSPRAS
    NAME = TNAME
    OBJECT = W_STXL-TDOBJECT
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT .
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ' '.
    MOVE : LTEXT-TDLINE TO DTEXT-TDLINE.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-TDLINE.
    ENDLOOP.
    ULINE.
    AIR FREIGHT CHARGES **********
    SELECT * FROM VBAP WHERE VBELN IN S_VBELN.
    SELECT * FROM VBAP WHERE POSNR  IN S_POSNR.
    ENDSELECT.
    ENDSELECT.
    CONCATENATE VBAP-VBELN VBAP-POSNR INTO TNAME.
    SELECT SINGLE * FROM STXL INTO W_STXL
                   WHERE TDNAME = TNAME AND TDID = '0015'.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = W_STXL-TDID
    LANGUAGE = W_STXL-TDSPRAS
    NAME = TNAME
    OBJECT = W_STXL-TDOBJECT
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT .
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ' '.
    MOVE : LTEXT-TDLINE TO DTEXT-TDLINE.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-TDLINE.
    ENDLOOP.
    ULINE.
    COURIER CHARGE **************
    SELECT * FROM VBAP WHERE VBELN IN S_VBELN.
    SELECT * FROM VBAP WHERE POSNR  IN S_POSNR.
    ENDSELECT.
    ENDSELECT.
    CONCATENATE VBAP-VBELN VBAP-POSNR INTO TNAME.
    SELECT SINGLE * FROM STXL INTO W_STXL
                   WHERE TDNAME = TNAME AND TDID = '0016'.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = W_STXL-TDID
    LANGUAGE = W_STXL-TDSPRAS
    NAME = TNAME
    OBJECT = W_STXL-TDOBJECT
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT .
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ' '.
    MOVE : LTEXT-TDLINE TO DTEXT-TDLINE.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-TDLINE.
    ENDLOOP.
    ULINE.
    INSURANCE CHARGES **********
    SELECT * FROM VBAP WHERE VBELN IN S_VBELN.
    SELECT * FROM VBAP WHERE POSNR  IN S_POSNR.
    ENDSELECT.
    ENDSELECT.
    CONCATENATE VBAP-VBELN VBAP-POSNR INTO TNAME.
    SELECT SINGLE * FROM STXL INTO W_STXL
                   WHERE TDNAME = TNAME AND TDID = '0017'.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = W_STXL-TDID
    LANGUAGE = W_STXL-TDSPRAS
    NAME = TNAME
    OBJECT = W_STXL-TDOBJECT
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT .
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ' '.
    MOVE : LTEXT-TDLINE TO DTEXT-TDLINE.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-TDLINE.
    ENDLOOP.
    ULINE.
    HANDLING CHARGES **********
    SELECT * FROM VBAP WHERE VBELN IN S_VBELN.
    SELECT * FROM VBAP WHERE POSNR  IN S_POSNR.
    ENDSELECT.
    ENDSELECT.
    CONCATENATE VBAP-VBELN VBAP-POSNR INTO TNAME.
    SELECT SINGLE * FROM STXL INTO W_STXL
                   WHERE TDNAME = TNAME AND TDID = '0018'.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    ID = W_STXL-TDID
    LANGUAGE = W_STXL-TDSPRAS
    NAME = TNAME
    OBJECT = W_STXL-TDOBJECT
    ARCHIVE_HANDLE = 0
    IMPORTING
    HEADER = HTEXT
    TABLES
    LINES = LTEXT .
    LOOP AT LTEXT.
    IF LTEXT-TDLINE NE ' '.
    MOVE : LTEXT-TDLINE TO DTEXT-TDLINE.
    APPEND DTEXT.
    ENDIF.
    ENDLOOP.
    LOOP AT DTEXT.
    WRITE:/ DTEXT-TDLINE.
    ENDLOOP.
    ULINE.
    ENDFORM.                    " BODY_DISPLAY
    best regards,
    prashant

  • Can we declare quotation item text in footer

    hi ,
    But if you have some very good description how to solve an issue and need screenshots to explain:
    best regards,
    prashant

    Hi,
    You try ur logic in
    do                      ---endo.
    after describing the table .
    Do the loop for the number of records available.
    i.e. as per your logic.
    describe table i_hdr line h_lines.
    do h_lines times.
    put your above code and enddo.
    Hope this will work.

  • Item Texts Is Not Being Created in BAPI_BILLINGDOC_CREATEMULTIPLE

    Hi.
    I am Using Bapi TO Create Invoice, Every thing is created successfully , but item text is not being created. Code is as below.
    DATA: s_vbap TYPE vbap,
                t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE,
                t_datain TYPE STANDARD TABLE OF bapikomfktx WITH HEADER LINE,
                t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE,
                t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE.
          SELECT SINGLE * FROM likp
          WHERE vbeln = v_del_doc_no.
          SELECT SINGLE * FROM lips WHERE
          vbeln = v_del_doc_no.
          t_billing-salesorg = likp-vkorg.
          t_billing-ref_doc = likp-vbeln.
          t_billing-ref_item = lips-posnr.
          t_billing-doc_number = v_del_doc_no.
          t_billing-itm_number = lips-posnr.
    *      SELECT SINGLE fkarv FROM tvak
    *            INTO  t_billing-ordbilltyp
    *            WHERE auart EQ zsoa_so_header-auart.
          SELECT SINGLE auart FROM vbak
                      INTO  t_billing-ordbilltyp
                      WHERE vbeln EQ order_num.
          t_billing-price_date = sy-datum.
          t_billing-ref_doc_ca = likp-vbtyp.
          t_billing-material = lips-matnr.
          t_billing-plant = lips-werks.
          APPEND t_billing.
          BREAK-POINT.
          CLEAR: t_datain.
         t_datain-ref_doc = v_del_doc_no.
          t_datain-ref_item = '000010'.
          t_datain-applobject = 'VBBP'.
          t_datain-text_id    = '0001'.
          t_datain-langu      = sy-langu.
          t_datain-format_col = '*'.
          t_datain-text_line  = 'FSG 2829'.
          APPEND t_datain.
          CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
            TABLES
              billingdatain = t_billing
              textdatain    = t_datain
              return        = t_return
              success       = t_success.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          LOOP AT t_return.
            itab_msg-type = t_return-type.
            itab_msg-msg =  t_return-message.
            APPEND itab_msg.
            CLEAR  itab_msg.
          ENDLOOP.
          READ TABLE t_success INDEX 1.
          p_i_bill_doc = t_success-bill_doc.
        ENDIF.
      ENDIF.
      CLEAR: itab_so_items, itab_so_items[] , delivery_no , itab_return[].
    So Text FSG 2829 is not being created in Item Text.....

    Hi Tahir,
    You can check with the below thread
    A question of BAPI_BILLINGDOC_CREATEMULTIPLE
    Regards,
    Pawan

  • Sale order item text through BAPI_SALESORDER_CREATEFROMDAT2

    Hi,
    We are creating a sale order through a 'Zprogram'. Uploading the required details from a excel sheet and  passing to a BAPI_SALESORDER_CREATEFROMDAT2.
    We are using the 'order_text' parameter to create the item text. If there are multiple lines in the same item text likes this
    (we are passing it in a single line)
    Order type ORDER_ID   PO number u2026u2026 Item Note - Zi01
    STD                   2                   10                Currency - RS
                                                                       Test order -1
                                                                       Test item - 2                                                                               
    It is creating the sale order with the item text  and the item text when viewed normally its appears one below one. But if we click the 'detail' button and view it through the editor mode it is appearing in the same line with # characters in between.
    TAX_CURRENCY = Rupees #TAX_UNIT_PRICE =0.0000# Test order = 1
    It is replacing the enter statement with '#.' We can split the text where # appears and pass it as a separate line .but this will create a problem when the data itself contains a  # character.
    Please advise how we can avoid this and can create the sale order item text correctly.
    Regards,
    Charumathi Balachandran

    As you said, How are creating single line text from the multi line text.
    I hope you are using a CONTACTENATE statemetn to do so. Please the SEPARATOR being used for this.
    I hope you have copied texts from excel sheet to SE38 editor. Please copy text from Excel to Notepad, then Notepad to SE38.
    Edited by: Priyanka Chowdry on Dec 20, 2010 11:21 AM

  • Item text in Purchase Order getting updated with info. record Purchase Order Text

    Hello All,
    I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
    Issue:
    Item text in Purchase Order getting updated with info. record Purchase Order Text
    01) PO Text is maintained in the material master under "Purchase Order Text" tab
    02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
    03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
    03.1) this behavior is not observed in the Plants/ Company code that is already Live
    Configurations in the system:
    The copying rules for the "Texts for Purchase Orders" is
    Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
    We have modified the Purchase Order form to print one of  the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
    I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
    Am I missing any configuration or where can I look in what is causing this error.
    Request help from the experts in the forum.
    with Regards,
    Dhandapani R

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • Line item text in ALV..urgent

    hello
       i m creating an alv interactive report. in basic list i have fields from likp table and in interactive i have lips table fields. one need one more field in interactive list and that is "line item text" field. (i have matnr and arktx in interactive). for the time being i created line item text in VL02>>ITEM>>TEXTS>> FOR ITEM NUMBER(POSNR). I didnt understand where this line item text is stored ; i mean in which table it is stored . how to retreive this field from a table??

    Hi,
    You have to use the FM READ_TEXT..to get the text name..
    The following are the details you have to pass to the FM..
    Text name - Delivery number + line item.
    Language - SY-LANGU
    Text ID - ????
    Text Object - VBBP.
    You can get the above details in the text itself..
    Display the text..
    Double click on the text to get to the editor..
    In the menu..choose..GOTO -> HEADER..
    There you can see the details like Text ID, text name & text object..And use them in the FM read_text..
    Thanks
    Naren

  • BOM Item Text/Long Text

    Hi Gurus,
    I want to change a BOM and update/create the BOM Item text/Long text. I just want to change the BOM and create an item text (If the text is more than 80 chars, then I should be able to create a long text).
    I tried using FMs SAVE_TEXT and CREATE_TEXT without much luck. Could someone throw some light on how to achieve this.
    R

    Thanks Sudheer. Yes, I'm passing the correct parameters. Please see below.
            CONCATENATE sy-mandt ls_stpo-stlty ls_stpo-stlnr
                                     ls_stpo-stlkn ls_stpo-stpoz
              INTO lf_tdname.
              CALL FUNCTION 'CREATE_TEXT'
                EXPORTING
                  fid       = 'MPO'
                  flanguage = sy-langu
                  fname     = lf_tdname
                  fobject   = 'BOM'
                TABLES
                  flines    = lt_lines
                EXCEPTIONS
                  no_init   = 1
                  no_save   = 2
                  OTHERS    = 3.
    The thing is that it should save the text in Line1 and line 2 of the item text if the length is less than 80. I assume that the TEXT Fms will do it for me. Please correct me if I'm wrong.
    I have also tried a direct database update by changing the stpo-ltxsp field. No luck again. Did someone has updated/created the text using this method ?

  • Uploading BOM Item Text

    Hi Friends,
    I have to upload the Long text for BOM Items. How can I do that? Are there any Function Modules to update the BOM Item Text? BDC involves a very complex coding.
    Please provide me the solution.
    Thanx in advance.
    Ram

    Hi Ram,
    Please check whether the link given below is useful,
    BAPI_BOM_UPLOAD_SAVE
    Regards,
    Hema.
    Reward points if it is useful.

  • Inbound idoc  mess type:DESADV basic type: DELVRY03  Item text

    Hi all,
    W're having a inbound process to create inbound deliveries via IDOC.
    mess type:DESADV basic type: DELVRY03 
    We want to create a item text on the delivery via the IDOC.  Is this possible?
    I see that there's a segment E1TXTH9 - E1TXTP9  to put in texts.
    But as I see it, to create a text, we have to give the delivery nr in TDOBJECT TDOBNAME TDID  TDSPRAS LANGUA_ISO.
    But since we are creating it, this is not possible.
    Is there any way to create an item text on an inbound delivery via the IDOC?  And how.
    Thanks a lot!
    Caroline,

    Hi Chris,
    Before end of the ur functiond module (Idoc_input_xxxxxxx) create an Enhnacement spot  . at this point I hope so delivey will be created already .so now u can get the delivery number
    **********The Logic for Text Field filling*******************
    IF NOT  vbeln IS INITIAL.
    DATA : L_FNAME TYPE THEAD-TDNAME,
           L_FID TYPE THEAD-TDID,
           IT_TLINE  TYPE TABLE OF TLINE,
           WA_TLINE LIKE LINE OF IT_TLINE.
    CONSTANTS :C_FID TYPE THEAD-TDID VALUE '0004',
               C_FID1 TYPE THEAD-TDID VALUE '0007',
               c_Text(40) type c value 'xxxxxxxxx',
               C_LANG  TYPE THEAD-TDSPRAS value 'E',
               C_FOBJECT TYPE  THEAD-TDOBJECT VALUE 'BELEG',
               C_FFORMAT TYPE TLINE-TDFORMAT VALUE '*'.
    Reading  the Idoc data table for Text field population
         READ TABLE IDOC_dATA INTO IS_EDIDD
                              WITH KEY SEGNAM =  c_segnam_e1edkt2.
         MOVE IS_EDIDD-SDATA TO IS_E1EDKT2.
         CONCATENATE mrm_RBKPV-BUKRS mrm_BELNR mrm_GJAHR  INTO L_FNAME.
         if sy-subrc = 0.
           MOVE: IS_E1EDKT2-TDLINE TO WA_TLINE-TDLINE,
                 C_FFORMAT TO  WA_TLINE-TDFORMAT.
                 APPEND WA_TLINE TO IT_TLINE.
              CALL FUNCTION 'CREATE_TEXT'
                EXPORTING
                  fid               = c_FID
                  flanguage         = C_LANG
                  fname             = L_FNAME
                  fobject           = C_FOBJECT
                  SAVE_DIRECT       = C_X
                 FFORMAT            = C_FFORMAT
                tables
                  flines            = IT_TLINE
              EXCEPTIONS
                NO_INIT           = 1
                NO_SAVE           = 2
                OTHERS            = 3
              IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF.
    I hope it resolves ur problem.Please let me know if u have any
    Queries.
    Rgds
    Sree m

  • Item text is not copied in PR created thru maintenance work order

    my colleague have done the config in MM (MM > Purchasing > PR > Text for PR > Define Copying Rules).  When i create a PR from ME51N, the item text and material PO text was copied.
    However, if i create a PR from a maintenance work order, only the material PO text is copied while item text is still empty.
    Is there some config i miss in PM side?

      Hi all
    for any one with similar issue, you can use Badi MD_CHANGE_MRP_DATA to solve the issue.
    check this thread.
    http://scn.sap.com/thread/979697
    Regards
    Kwame

  • Request For Quotation - ME41 - Item texts are not getting copied

    Hi,
    I created one RFQ (Request For Quotation) by copying from the existing one (through t-code ME41). But item texts are not copied.
    How can this issue be resolved..?
    In menu path ( Item --> Texts --> Adopt Text ), "Adopt Text" option is available. But its in disabled mode.

    just use F4 to get a valid entry, it is only grey to prevent manual typing

Maybe you are looking for

  • Is there a way to view the timecode in iMovie for Mac?

    Is there a way to view the timecode in iMovie for Mac?  This is such a basic feature needed for editing; I can't believe it wouldn't be available.  Am I missing something?

  • No sound on youtube or any other webpage

    When I go to a website such as youtube.com or any other site that plays sound, it only plays through the speakers on my monitor. The speakers in my monitor do not work very well, so i bought a Edifier Surround Sound System. The surround sound works w

  • Data getting lost in essbase

    We use a replicated partition to copy data from planning to essbase application. Partition works fine and data gets copied. We have another separate maxl script which does changes to the outline. This script exports the data from essbase, clears the

  • Thumbnail Icons in list and Column View

    I am trying to find out how to change icons for media files (pics/movies) from generic file type icons to thumbnail previews of the file. I Know its possibel because one of my folders (photos/iphoto/origionals.....)shows up in the column and list vie

  • A simple list with seven time buckets starting from the date report is run.

    Hi All, I am new to ABAP.Recently i have planned to write a progam which will help in planning the delivery of scheduled items.For a given sales Org. it will display all the undelivered,delivered items in a simple list and sort them with delivery dat