Append Text during an Order Copy

Hi all,
What is the best way to append a line of text to an existing text when doing an order copy?
Here is the scenario: Say we have an existing order and there is a customized text type that contains text. We would like to copy this order but also append the date to the text. We've explored numerous options but working with texts and new orders has proven difficult. Any ideas?
Thanks!

Hi John
  Just a thought, Please check if this can help you.
  Text determination procedure is assigned to order type for header texts. This can be checked via table TVAK. Field: TXTGR. For Items this will be at Item Categories. We can check the same from table TVAP.
  1. Now after extracting the text determination procedure. Use transaction VOTXN.
  2. Select option Sales Document Header and click on change from application toolbar.
  3. Select the Procedure which is assigned to the order type.
  4. Now Double click on Text Id's in Text Procedure. This will give the list of Text Id's available in the procedure. Check the access sequence Number assigned for the Text-Id.
  5. Double click on access sequence.
  6. Select the access sequence and double click on access sequences for Text Id's.
  7. In the screen displayed on the right side, if we scroll to the right we can find a column for adding custom routine. Column name "Requirement".
  Maybe adding the custome code here can help to suit your requirement. Please explore on the same and let us know if this works.
Kind Regards
Eswar

Similar Messages

  • How to copy long text from production order to automatically created P.R

    Hello experts,
    I want to add some text to the long text , in the production order and save it.
    There is an external process in our routing, in which when the order is saved and released, there is a P.R created automatically.
    My requirement :-  The text in the long text tab of the Production order should flow to one of the text types {Item text} in the P.R item created.
    I checked in SPRO [ IMG-> MM->Purchasing -> P.R-Texts for PR-> define copying rules].
    For text type ,  'Item text' already has  the text linkages : Order/network, with source texts "component text' and 'transaction text'.
    However, the text being maintained in the order is not flowing on its own anywhere into the P.R created.
    Is there any other config that needs to be done to achieve this?
    Regards
    P.R

    Hi, A production order long text exists at a header level and a Purchase req gets triggered at an operation level of a production order during external processing.
      So if you expect a mapping of a header text to operation level text, it should not be definitely possible in the SAP standard. (May be an enhancement would still work but you need to decide on it).
    If you maintain a long text at the same operation where you trigger a pur.req (a text on your own or via a standard text key-CA10 tcode), you would see that populated, at the item-level text tab of the generated pur req automatically, as a standard behaviour.
    Hope you would go with the standard system behaviour.

  • Copy control for Text in Sales Order

    Hi All,
    i would like to check with you guys.
    I have a scenario where by, we create sales order and maintain item text. This is copied to the delivery. Here the text if modified to enter more text.
    But when it comes to invoice, it is copying the text from the sales order instead of the delivery.
    How can I configure it to copy from delivery?

    Hi,
    Kindly check the following points:
    1) Same text ids are present at Delivery item & Billing Item.
    2) It at you want it at Item level text only then try through the ABAP routine at Copying Control between Delivery to Billing.
    3)As u must have checked at Delivery --> Billing Document Copying control at item level , I didn't find any control for text.
    Similarly for the Header. But by default Header text will overlap the item text as well due to the missing routine. But I have verified it in the past, if you maintain the same text at Delivery Header and it will populate at your billing document Header text as well.
    Please try and confirm the same.
    Thank You,
    RB.

  • Copy text from PM order to Purchase Requisition

    Hello
    In our current set-up we have configured so that PM Order component item text is copied to requisition item text.
    But we also have a need to fill in requisition item note directly from the PM Order.
    We see that there is a possibility to copy transaction text from PM order. 
    What is transaction text?
    Any other proposals?
    Best regards
    Tom

    Greetings Tom Saga,
    The Transaction text is in fact the Operation Long Text that may be copied to the PR Item-level text. To have it automatically copied, in SPRO > Materials Management > Purchasing > Purchase Requsition > Texts for Purchase Requisitions > Define Copying Rules 
    Please define for the Text Type "Item text" the Text Linkage to Source Object "Order/network" and Source Text "Transaction text". Then the externally processed Operation Long Text will automatically be copied to the PR Item Text 
    Greetings Pushpa,
    Apologies for attaching to an old thread, but could you elaborate on copying the Work Order Header Long Text into a PR Long Text? I have a requirement to copy into the PR Header Note, but can't find the Text types at the header level in the copying rules. Is that possible without development?

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

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

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

  • Copying Text From Sales order to Billing Document

    Hi all,
    I have searched all posts for my issue but found nothing so that i am posting this issue.
    I want to copy the Some text form sales order to billing document is there any cnfig to do this
    order is there any exit for billing in which i can write code to copy text from sales order to billing document.
    please provide me a solution.
    Thanks in adavnce.
    Vinod.

    Hi,
    Use the same t-code VOTXN to do access sequence assignment.
    When you choose text object Billing Doc (header/item), there is 3 folders in dialog structure:
    - Text procedure
    - Access sequence
    - text procedure assignment
    In the text procedure folder, select related text procedure, then assign the created access sequence to respective text id.
    Hope this help.
    Cheers,

  • Sales Order Text need to be copied to purchage order text

    Hi Experts,
    I have one  Requirement
    While creating or changing the sales order, sales engineer will enter text information in order in different text types at header and item level.  This information should get copy to PO header and item text automatically.
    How can we achive. plz give me any inputs how to proceed.
    Thank in advance.
    Venkat.

    Hi,
    You can use the functuion READ_TEXT to read the SO Text.
    Then refer to function SAVE_TEXT, you need to fill the structure THEAD with all PO Values and the fill lines directly.
    The text will be updated.

  • Order header text needs to be copied to Invoice Header text

    Dear All,
                i am putting some header text in the sales order,i want the same to be copied to the invoice header text,pls guide how to do the same as soon as possible.
    Regards,
    AKD

    Dear AKD,
    If you want to copy the sales order header text to the invoice header first you need to copy the sales order header text to the delivery header from delivery you can copy to invoice.
    When you want to copy the Text from Sales order to delivery the Access sequence will place a role
    Through VOTXN you need to do the Text determination settings to the Sales order header,delivery header and invoice header.
    If you want to copy the sales order text to the delivery document The Text Object should be VBBK in the delivery Header Text determination access sequence for that Text ID
    Again you can copy the text from delivery to Billing document through checking the Delivery Text field in the billing document detail screen (Top most bottom of the screen).
    Go to VOFA transaction select your billing document type then go in to the details here you can find the Delivery Text field you just check that check box.
    Now system will copy the sales order header text to the delivery header then it will copy to the invoice header.
    I hope this will help you,
    Regards,
    Murali.

  • Copy long text during creating new assets by reference

    Hi,
    I would like to have copy long text during creating new assets by reference. Is it place in spro where I can set it?
    Rgds, Stenwa

    Hi Stenwa,
    For the field Description you cen set the indicator Indicator: "Copy field group from reference asset" in the screen layout rule.
    If this indicator is set, the screen layout rule specifies that when you create an asset using another asset as a reference, the specified field group is automatically supplied with values from the reference asset.
    For the logtext there is a possibility to maintaine a text in the tables  STXH or STXL with key ANLA
    regards Bernhard

  • Any user exit to copy text from sales order to PR

    Hi,
    Any user exits or bapi to copy text from Sales order to Purchase requisitions.
    Jack

    Hi
    In SPRO , please use the menu path Materials Management - Purchasing - Purchase Requisition- Texts for Purchase Requisitions - Define copying rules
    Here  select the text and double click on Text linkages. There you can define the source text from sales order to the target text in PR.
    Please try and let me know if you still have any queries.
    Please reward points if this helps you
    Rgds

  • Copying Purchase requisition header text  to Purchase order.

    Hi Experts,
    Can you suggest me a way to copy purchase requisition header text  to purchase order?
    Best Regards,
    Shailendra

    Hi
    PR header text cannot be copied to PO ....... its std SAP .... reason being many PR can be copied to same PO .... so how to decide which PR header text to be copied to the PO ....  ???

  • Copy Texts from sales Orders to invoices

    Hi,
    someone can help me?
    the additional texts of old invoices (related to sales order #1) are changed when I change the additional texts of the order where they come from (sales order #1)
    I don't want this changes in the old invoices created before changing the additional texts in sales order.
    Thanks,
    Antonio.

    Hi Ravi,
    First at all thanks for answering.
    According to your answer I understand that every time I modified the sales order I'd have to launch a program to maintain the texts in the old invoices, isn't it?
    Thanks again!
    Antonio.

  • BAPI SALES ORDER & Copy with reference

    Hello,
    I'm creating sales order copied with reference to an invoice. My problem is that the data item is empty. When I create the sales order manually and use the option 'Create with reference' and choose an invoice, the sales order is created with all data item. I don't know how I can get to copy the data item from the invoice in the new sales order. The code that I'm using is the following:
    DATA: order_header_in      LIKE bapisdhd1,
          order_partners       LIKE bapiparnr OCCURS 0 WITH HEADER LINE,
          order_text           LIKE bapisdtext OCCURS 0 WITH HEADER LINE,
          order_header_inx     LIKE bapisdhd1x,
          order_item_in        LIKE bapisditm OCCURS 0 WITH HEADER LINE,
          order_schedules_in   LIKE bapischdl OCCURS 0 WITH HEADER LINE,
          order_conditions_in  LIKE bapicond OCCURS 0 WITH HEADER LINE,
          extensionin          LIKE bapiparex OCCURS 0 WITH HEADER LINE,
          partneraddresses     LIKE bapiaddr1 OCCURS 0 WITH HEADER LINE,
          order_cfgs_ref       like BAPICUCFG occurs 0 with header line.
    DATA: salesdocument LIKE bapivbeln-vbeln.
    DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    order_header_in-doc_type   = 'ZA09'.
    order_header_in-sales_org  = '1700'.
    order_header_in-distr_chan = '01'.
    order_header_in-division   = '01'.
    order_header_in-BILL_DATE   = '20060701'.
    order_header_in-ref_doc    = '0900000019'.
    order_header_in-refdoc_cat = 'M'.
    *order_header_in-REF_DOC_L_LONG = '0900000019'.
    order_header_in-purch_no_c  ='prueba'.
    *order_header_in-ord_reason = '003'.
    *order_header_in-pmnttrms   = '0002'.
    *order_header_in-sales_off  = '2800'.
    order_header_in-ref_doc_l  = 'FACTURA ES'.
    *order_header_in-fix_val_dy = '20060701'.
    *order_header_in-currency   = 'USD'.
    *order_header_in-exchg_rate = '1.2'.
    order_partners-partn_role = 'AG'.
    order_partners-partn_numb = '0000000001'.
    order_partners-langu      = 'EN'.
    order_partners-name       = 'El corte aleman'.
    order_partners-country = 'ES'.
    APPEND order_partners.
    order_partners-partn_role = 'RE'.
    order_partners-partn_numb = 'ARR000'.
    order_partners-addr_link  = '0000030044'.
    APPEND order_partners.
    CALL FUNCTION 'ADDR_GET_COMPLETE_ALL_TYPES'
      EXPORTING
        addrnumber                 = order_partners-addr_link
      PERSNUMBER                 =
        address_object_type        = '1'
      IV_CURRENT_COMM_DATA       = 'X'
    IMPORTING
      ADDR1_COMPLETE             =
      ADDR2_COMPLETE             =
      ADDR3_COMPLETE             =
       ADDR1_COMPLETE_BAPI        = partneraddresses
      ADDR2_COMPLETE_BAPI        =
      ADDR3_COMPLETE_BAPI        =
    EXCEPTIONS
      PARAMETER_ERROR            = 1
      ADDRESS_NOT_EXIST          = 2
      PERSON_NOT_EXIST           = 3
      INTERNAL_ERROR             = 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.
    data: vl_texto(40) value 'NUEVOOOOO'.
    partneraddresses-name    = vl_texto. clear vl_texto.
    partneraddresses-name_2  = vl_texto.
    partneraddresses-name_3  = vl_texto.
    partneraddresses-name_4  = vl_texto.
    partneraddresses-langu   = 'E'.
    APPEND partneraddresses.
    DATA: vl_cantidad LIKE bapisditm-target_qty.
    vl_cantidad = 1.
    order_item_in-itm_number = 10.
    order_item_in-material = 'HONORARIOS'.
    order_item_in-ref_doc = '0900000019'.
    order_item_in-ref_doc_it = 10.
    order_item_in-ref_doc_ca = 'M'.
    APPEND order_item_in.
    order_schedules_in-itm_number = 10.
    order_schedules_in-req_qty = vl_cantidad.
    APPEND order_schedules_in.
    order_text-text_id = 'Z001'.
    order_text-ITM_NUMBER = ''.
    order_text-langu = 'EN'.
    order_text-text_line = 'Hola, CARACOLAcola'.
    APPEND order_text.
    order_text-text_id = 'Z001'.
    order_text-langu = 'EN'.
    order_text-text_line = 'Adios caracol'.
    APPEND order_text.
    order_text-itm_number = '000010'.
    order_text-text_id = '0001'.
    order_text-langu = 'EN'.
    order_text-text_line = 'Hola, POSICIÓN'.
    APPEND order_text.
    extensionin-structure = 'BAPE_VBAK'.
    extensionin-valuepart1 = '          BCL  7'.
    APPEND extensionin.
    order_cfgs_ref-posex = '10'.
    order_cfgs_ref-config_id = '10'.
    order_cfgs_ref-root_id = '00000001'.
    append order_cfgs_ref.
    CALL FUNCTION 'ZBAPI_SALESORDER_CREATEFROMDT2'
      EXPORTING
       SALESDOCUMENTIN               =  salesdocument
        order_header_in               =  order_header_in
       ORDER_HEADER_INX              =  order_header_inx
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
    IMPORTING
       salesdocument                 = salesdocument
      TABLES
        return                        = return
        order_items_in                = order_item_in
      ORDER_ITEMS_INX               =
        order_partners                = order_partners
        order_schedules_in            = order_schedules_in
      ORDER_SCHEDULES_INX           =
        order_conditions_in           = order_conditions_in
      ORDER_CONDITIONS_INX          =
        ORDER_CFGS_REF                = order_cfgs_ref
      ORDER_CFGS_INST               =
      ORDER_CFGS_PART_OF            =
      ORDER_CFGS_VALUE              =
      ORDER_CFGS_BLOB               =
      ORDER_CFGS_VK                 =
      ORDER_CFGS_REFINST            =
      ORDER_CCARD                   =
        order_text                    = order_text
      ORDER_KEYS                    =
       extensionin                   = extensionin
        partneraddresses              = partneraddresses
    PERFORM  report TABLES return.
    *DATA: salesdocument LIKE bapivbeln-vbeln.
    *DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    *refresh return.
    *CALL FUNCTION 'BAPI_SALESDOCUMENT_COPY'
    EXPORTING
       salesdocument          = '0400000191'
       documenttype           = 'ZA04'
      TESTRUN                = ' '
    IMPORTING
       SALESDOCUMENT_EX       = salesdocument
    TABLES
       RETURN                 = return
    *PERFORM  report TABLES return.
    *write: / salesdocument.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
    *&      Form  report
          text
         -->P_MENSAJE  text
    FORM report  TABLES   p_mensaje STRUCTURE bapiret2.
      DATA: vl_mensaje TYPE string.
      LOOP AT return.
        CLEAR vl_mensaje.
        MESSAGE ID     return-id
                TYPE   return-type
                NUMBER return-number
                INTO   vl_mensaje
                WITH   return-message_v1
                       return-message_v2
                       return-message_v3
                       return-message_v4.
        WRITE: / vl_mensaje.
      ENDLOOP.
    ENDFORM.                    " report

    Hi Manuel,
    There are some function modules which is there to copy the order details. I am not sure about the function module name. But you can search in SE37. But bapi for creating the sales order does not have the functionality of copying the data from one document to another document.
    You can try using this function module.
    BAPI_SALESDOCUMENT_COPY
    Data will be copied based on the copy control routines that is set between the two document types.
    Thanks,
    Arun

  • Attachments during the Ordering Moment

    Can attachments be added to a request during the ordering moment?
    We would like to allow customers the abilibty to add attachments prior to submitting a request.  Is this possible?
    Thank you,
    Brian

    Hi Tim,
    Indeed it does, it's all JSP as part of the RC environment - we're running it on a clustered WebSphere environment now.  It also abstracts the actual files away from the DB and in to a file share which I find is a far more sustainable architecture than bloating a DB with blobs.
    It also wraps some nice little security features around the attachments as well (we have it so links to the files can't be copied, and access to the file share is actually completely locked down which means the application HAS to open the attachment for a user - beneficial for Human Resources-style files).
    It was frequently requested on the old site, I would hope that it would become a productised feature in future by way of a 'field type' but it is quite a customisation so not sure if anytime soon.
    Cheers,
    Ant

  • Change Work Center during production order confirmation

    Dear All,
    I must to modeling this situation:
    I created an production order. In routing I used an work center A.
    After I confirmed a half of quantity, the work center A was damaged and I must to change it, with the work center B.
    The system allow this change, but when I checked the costing, the situation isn't real. The system counted the costs just for the work center A, and no for work center B.
    My question is: it's possible to change the work center, during production order confirmation and the costs updated with new cost?
    Thank you for your answer!
    Regards,
    Marian

    once a Order is released, the Process order detaisl for that order is frozen.
    however if you want to do it, change the order status to CRTD after reversing the Movements done.
    Do READ MAster data , this will copy the new Work center , redo the previously done Moevements.
    if the change is long term.
    or
    Just manually add the new work center and do the processing. if the change is temporary.

Maybe you are looking for

  • How do you force a file to be opened by a particular application?

    I have come across a brick wall - I have either missed something important, or maybe it is just something in Applescript not working as it should. In our school, we have both Preview and Adobe Reader installed on the student computers, which are bein

  • Capacity planning in ASCP

    Hi, Does anyone know how ascp plan calculates "Daily Hours","Touch Time" and "Adjusted Resource Hours" in horizontal plan for a resource? Looks like plan used below logic to calculate resource hours. (usage rate of a resource in Minutes/60) * Schedul

  • Photoshop working, but not registering latest actions/commands until another action.

    Version - CS6 OS - Windows 8 My photoshop will not register/display my last actions or commands (brush strokes, hide layer etc.) unless I input another command like Fullscreen - it's basically skipping my first input and not showing it until the next

  • Genuine Windows 7 Error message

    Hi, my pc has Windows 7 home premium pre installed and has been working well for the last 5 years but suddenly it tells me repeatedly that the versions of windows is not genuine. I cannot find a solution but here is a diagnostic that perhaps means so

  • 3750 - 12.2 25 (SED) flash problem

    We have just had delivered 3 different models of 3750's (WS-C3750G-12S-S) (WS-C3750G-24T-E) (WS-C3750G-48T-E) They were shipped with 12.2.25 SEB4 but our client wants to use the crypto functionality and 802.1x. When I attempt to load the latest IOS 1