Copy item text in business transaction

Hi,
when copying a business transaction, I use function modules read_text and save_text to get the text from the original and save it to the copy. On header level this works fine (text is visible, order still not saved), on item level the copied text is invisible. When I save the copied order, I see both texts on header- and item-level. Does anyone knows how to make it visible also in creation mode on item level?
Copying (read_text and save_text) is performed in CRM_COPY_BADI/ CUSTOMER_I and CUSTOMER_H.
Thanks,
Stefan.

Sorry, I didn't add the solution :
  CALL FUNCTION 'CRM_TEXT_COPY_121_OW'
    EXPORTING
      iv_header_guid_old = o1
      iv_object_guid_old = o2
      iv_header_guid_new = n1
      iv_object_guid_new = n2.
After saving the text I call above function, then the text is visible.
Cheers,
Stefan

Similar Messages

  • VOFM copy item text from STO to delivery

    Hello,
    Has anyone succesfully copied item text from a stock transport purchase order to the delivery by using a rule defined in VOFM data transfer > text  ?
    I can do it  for the 1st item of the PO, but the second item just pulls the info from the sales order text from material master.
    I know that SAP has an OSS note saying that this way is not anymore necessary, you can adopt text from STO with customizing settings. However I have to add some more text, not just copying the PO text, so I have to use this way.

    Hi Jurgen,
    Can you tell me step-by-step process to copy sto text to delivery?
    I have been able to customize copying of text from sales order to delivery to billing but sto to delivery is not happening.
    Your help will be highly appreciated.
    Thanks.
    Warm regards,
    Rahul Mishra

  • Fetching Item Texts from VL03N transaction

    Hi All,
    I have a requirement in my program in which I need to fetch Item Texts from VL03N transaction corresponding to a delivery Number.i.ie. the path is Select the Item, GOTO>ITEM>TEXTS.From there I need to get the Service Notification.Please let me know how to fetch this using the read_text function module.
    Thanks,
    Neethu.

    Hello,
    You can fetch the item texts for VL03N transaction for the object VBBP.
    If the text is Material sales text, then its id would be 0001.
    For Item note, it is 0002.
    You can call the read_text fm as below:
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        CLIENT                        = SY-MANDT "client info
        id                            = pi_id  "id as 0001 or 0002 depending on the text
        language                      = pi_spras  "language key
        name                          = pi_name 
        object                        = pi_object    "Object Id
    Hope this helps.
    Thanks,
    Sowmya

  • How to retrieve the item text from VL03 transaction .

    How to retrieve the item text from VL03 transaction .
    The requirement is like this, the item text thus retrieved should be printed in the script under the item.

    Jagadieshwar,
    Use <b>READ_TEXT</b> function module to get the proper item text of Delivery.
    <b>ID</b>: Probably you want 0002 (Item Note), but it depends which text you want Item Note, Material Sales Text ,etc..
    <b>NAME</b>: CONCATENATE Delivery Doc. Number + Delivery Item Number (e.g. 0080001729000010)
    <b>OBJECT</b>: VBBP
    <b>
    LANGUAGE</b>: sy-langu or whatever you want.

  • Copy of header text to Line item text in MIRO transaction

    Hello Friends,
    I have a requirement where i need to copy the header text ( BSEG-SGTXT) to item text ( EKPO-TXZ01 i.e PO text) during MIRO creation.
    Is there any user exit or BADI .OR is there any other method for doing the same .
    Thanks and Regards !
    Ashish

    Dear,
    Go to se37 MRM_FINAL_CHECK.--display
    then click on that enhance source button ( shift+f4) then go to edit--enhancement operation ---show implicit enhancement option   this is how you can find out the eh=nhancementts .
    Cheers
    fareed

  • User exit or badi for item text in mir7 transaction

    Hi Gurus,
    Please provide me suitable user exit or enhancement or badi for this requirement.
    client enter TEXT fied data in MIGO transaction for material document and purchase order in where tab.
    in MIR7 i entered reference number as material document number and purchase order number after triggering enter button it gives the list of items but IT IS NOT GIVE THE ITEM TEXT DATA which we entered in MIGO transaction.
    Please provide me suitable user exit or enhancement or BADI for this.
    Thanks A lot in Advance.
    With Regards,
    Radhakrishna.

    Hi RadhaKrishna,
    You can find the BADI by yourself just follow the below any methods you will get the appropriate BADI name..
    Method 1:
    Go to Tranaction: SE24.
    open class CL_EXITHANDLER
    Open the method " GetInstance"
    Put Break point in the statement
    call method cl_exithandler=>get_class_name_by_interface
    Now execute the Transaction which you need teh BDC it will automatically stops at the the method. In debugging mode double click on the variable: " exit_name" It will return the BADI Name.
    Method 2:
    find the Package name and go to the tranaction SE84.
    Enter the package name
    inside the left navaigaiton panel there is one option " Enhancements" click on this enhancement and then enter the package name and execute it. you will get hte number of enhancement.
    for your reference I am sending you the list of BADI present in MIRO transaction.
    ARC_MM_MATBEL_CHECK --------Check AddOn-Specific Criteria for MM_MATBEL
    ARC_MM_MATBEL_WRITE ---------- Archive AddOn-Specific Data for MM_MATBEL
    MB_CHECK_LINE_BADI  -------------- BAdI: Check Line Before Copying to the Blocking Tables
    MB_CIN_LMBMBU04     --------------- posting of gr
    MB_CIN_MM07MFB7     ---------------- BAdI for India Version exit in include MM07MFB7
    MB_CIN_MM07MFB7_QTY  ------------Proposal of quantity from Excise invoice in GR
    MB_DOCUMENT_BADI     --------------BAdIs when Creating a Material Document
    MB_DOCUMENT_UPDATE   -----------BADI when updating material document: MSEG and MKPF
    MB_MIGO_BADI        --------------------- BAdI in MIGO for External Detail Subscreens
    MB_MIGO_ITEM_BADI    ----------------BAdI in MIGO for Changing Item Data
    MB_RESERVATION_BADI  --------------MB21/MB22: Check and Complete Dialog Data
    Thanks,
    Chidanand

  • Sales order Userexit to copy item text from one line item to other

    Hi Gurus,
                 I have an urgent issue. Based on item category in sales order, for one line item, I am getting item text. Now I have to copy same item text to other line item.
    Till now I tried save_document_prep & save_document to
    build object tdname & fetch all tdid from table stxh for object 'VBBP'.
    After that READ_TEXT and SAVE_TEXT function module.
    But during creation of sales order I am not able to get any value in STXH table for created sales order. Now I want to know from which internal table I can get item text ?  (some internal table should be there like xvbap to get text per line item)
    Or is there any other way to do this... Please help.
    Points will be rewarded.
    Thanks,

    Hi ,
    try something like this .
            l_name = ls_vbap-vbeln.
            IF l_name IS INITIAL.
              l_name = 'XXXXXXXXXX'.
            ENDIF.
            CONCATENATE l_name ls_vbap-posnr INTO l_name.
            CALL FUNCTION 'READ_TEXT'
                name            = l_name
    Regards
    Prabhu

  • Item Text in PR transaction (me51n)

    Hi,
    What could be the rootcause that the item text field  during Purchase Requisition transaction (me51n,me52n) is not editable ?
    its grey out and cannot type in anything...
    we're using ecc6. pls help..thanks in advance.
    she

    Hi
    Check it in SPRO- SAP IMG- Material Management- Purchase requisition- Define screen layout at document level.
    Have u selected or somebody selected display option or not pls check it.
    Regards,
    Raman

  • Why it is difficult to copy Business Transactions and make it a Z object

    Hi
    I am looking for a proper explanation why it is difficult and not suggested to make a copy of the entire business transaction ( example va01 or any other transactions ) and make a z object and modify it so as to companies business scenarios.
    I need explanation with respect to solution manager,
    where standard sap ticket processing needs to be modified, why can't we copy it into a z object and modify, why we need access key to modify sap standard.
    Thanks & Regards
    Abhimanyu L

    Firstly what is the transaction you wish to modify.
    If I were doing it, I would look at how I would modify the standard SAP code compared to the effort in taking a copy. You should also take into consideration the time it may take to resolve any upgrade issues. Personally I would say that changing the standard SAP in most cases would be the quickest to develop. However, your business case may be to complex to amend the standard SAP.
    When you copy a standard transaction, there are occasions when the SAP Main program is hardcoded into the SAP code. This can also cause you problems as you would need to amend this to use your version of the main program. You can also have problems with Status menu's as they may be coded to use against the SAP Main program.
    Hope that makes sense.

  • Problem loading hierarchy long text. Item text only displays 45 characters

    Hi,
    When loading the Financial Statement hierarchy from ECC to BI I am only getting a 45 character long text for the nodes. This text seems to correspond to the "Item" text seen in transaction fse3 in ECC. However, the text that I need to have is the (concatenated) long text enterer in the multiple fields under either "End of Group" or "Start of Group" (under Item: Display Texts in fse3).
    Does anyone know if it is possible to extract this information and how to go about when doing this?
    Points will be rewarded for help.
    Regards
    Nils

    Hello Vânia,
    >> fac586, Thank you very much for your help ….
    Just so you know, fac586 is called Paul :).
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Copy header text to item text in quote to order document

    When creating an order in CRM from a quote, for certain item categories we want to copy a header text field to the item.
    In the item text object CRM_ORDERI we have an access sequence that references object CRM_ORDERH (header) and the text id that is desired but the order never pulls this data.
    doing a header to header copy or item to item text copy works fine. Assume the issue is b/c the header structure CRMT_TEXT_ORDER_H_KEY does not match the item
    CRMT_TEXT_ORDER_I_COM
    Is this configurable?
    Is there a way to copy FM COM_TEXT_DETERMINE_TEXT to achieve this?
    The data isn't written to STXH yet and I don't see how to reference the quote guid in this FM.
    Edited by: Glenn Michaels on Jan 21, 2010 7:04 PM

    Hi Glenn,
    I'm currently working on a business requirement to copy a header texttype to an item textype within a complaint transaction.
    As per standard SAP config i noticed that the text is not copied over.
    Can you please let me know how you solved this issue?
    Regards,
    Sander

  • Copying the item text in case of multiple line items

    Hi All,
                    I have a scenario where the sales order gets created in our SAP through a 850 idoc. The incoming idoc has only one item segment which carries the total order quantity ( for example say 1000). Since my company has contractual agreements with the end customer for doing multiple shipments , our sales department splits the total quantity into multiple line items in the sales order. Say splitting the 1000 quantities into 5 line items of 200 each.
    The problem here is that when the sales order got created , all  the related item text were copied only to the first line item ( of 1000 qty) and which is standard SAP. Since the order quantity was manually split, the related item text are not carried to the subsequent line items. The issue comes when an outbound (810) idoc is sent to customer . As I told earlier since only the first line item has the item text , the 810 idoc which was created for  the first line item only has the item text . The rest of the 810 which were subsequently created for multiple shipments/invoices on different dates didn't have the item text in the 810's. This is becoming a major problem as the 810 files are failing at our trading partners end because of missing text.
    Now my question is, Is there a way that I can make the item text copy automatically when multiple line items are created manually by business. Like is there a way where I can modify MV45AFZZ  to copy the item text in their respective segemnts ( z003,z004 etc) to "N" number of line items.
    Also please suggest if there is a better way of doing it. Suggstions are most welcome !!!.
    Regards
    Amrith

    Hi,
    First of all try to avoid doing select into corresponding fields. THis would improve the performance of the program.
    Try to do a single fetch from the BSIS table . fetch the hkont, belnr, dmbtr fields in to a master internal table. Manipulate and play with the data as required.  Don't hit the data base table more than once (unless it is required) . This would improve the performance of your code.
    Try to code this way.
    types: begin of ty_bsis,
                 hkont type hkont,
                 belnr type  belnr_d,
                 dmbtr type dmbtr,
              end of ty_bsis.
    data: it_bsis type standard table of ty_bsis,
             wa_bsis type ty_bsis,
    select hkont belnr dmbtr
              from bsis
              into table it_bsis
              WHERE HKONT IN S_RACCT
            AND PRCTR IN P_PRCTR
              AND MONAT IN S_POPER
             AND BUKRS EQ P_BUKRS
             AND GJAHR EQ P_GJAHR
              AND PRCTR IN S_PRCTR.
    Using the data availabe in the it_bsis, you can manipulate as required.
    Hope this would be helpful
    Regards
    Ramesh Sundaram

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

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

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

  • Item texts copied from purchase order to delivery

    Hi Sales Gurus,
    I am facing the following issue.
    In the intercompany process we create the delivery based on purchased order.
    Our need is to copy the item texts of the purchase order to the item texts of the delivery.
    How can i do that?
    Thank you
    João Fernandes

    João,
    Transaction VOTXN, Delivery, Item.
    Then assign a specific text procedure and Access Sequence with the appropriate text ids.
    Regards,
    (Boa tarde)
    Sérgio

  • How to copy Log text (with Date, Time stamp ) User IDfrom BP to Transaction

    Hi Experts,
                     Can someone guide us how  to copy Log text (with Date ,Time & User ID) fron Business partner  (Prospect) to transactions by text detrmination procedure.
    Regards,
    Basavaraj Patil

    save text
    Fill out following parameters of SAVE_TEXT function module:
    HEADER
    TDOBJECT C 10 BUT000
    TDNAME C 70 10 digit BP number
    TDID C 4 Z001
    TDSPRAS C 1 Language
    INSERT = ’X’
    LINES
    TDFORMAT TDLINE
    |
    |testtttttttttttttttttttttttt( Your text)
    I would suggest you to use some other BAPI that would attach your text to BP than SAVE_TEXT.
    If you still wanted to use SAVE_TEXT then first make sure how the TDNAME is generated. It depends on the text determination procedure. For examples, it can be guid of BP, GUID followed by date or time or else the BP number itself.
    Just go to BP transaction, double click on the text pad, it will open you the SAP Script editor. Click on menu GOTO and select Header which will give you info about your TDID, TDOBJECT, TDNAME....
    Hope this helps.

Maybe you are looking for

  • Applet not viewable in browser

    Hi applet not viewable in browser any website that uses java code seems not to run on my browser though it runs normally well on my friends computer. The browser shows a screen area in grey colour with an error message like "Exception: java.lang.Clas

  • Error in using Array in pro*C

    My test pro*C code is as follows: long empIdArray[50]; EXEC ORACLE OPTION (SELECT_ERROR=NO); EXEC SQL SELECT emp_id INTO :empIdArray FROM emp ; /* check error*/ if ((sqlca.sqlcode != 0) && (sqlca.sqlcode != 1403) && (sqlca.sqlcode != -1405)) printf("

  • Oracle 10.2.0.4 RMAN Duplicate without a Recovery Catalog

    Production Backups are Tuesday - Sunday at 22:00: RUN { ALLOCATE CHANNEL c1 DEVICE TYPE DISK; CROSSCHECK ARCHIVELOG ALL; CROSSCHECK BACKUP; DELETE NOPROMPT COPY OF ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-2'; DELETE NOPROMPT BACKUP; BACKUP DATABASE P

  • Oracle 10-XE, PHP & Zend...

    Hya, My name is Bogdan Laurentiu, and i am final year at university. I have to make a project and my choice was a Web page, made in PHP for a delivery company like DHL for eg. My question is should i use Zend as well ? If yes why.. What is Zend espec

  • DANKE für die Hilfe

    Bluetooth-Controller PCI\VEN_1814&DEV_3298&SUBSYS_18EC103C&REV_00 PCI\VEN_1814&DEV_3298&SUBSYS_18EC103C PCI\VEN_1814&DEV_3298&CC_0D1100 PCI\VEN_1814&DEV_3298&CC_0D11 PCI-Gerät PCI\VEN_10EC&DEV_5229&SUBSYS_1818103C&REV_01 PCI\VEN_10EC&DEV_5229&SUBSYS_