Copy Sales Order item  texts completely  to other item in same sales order

Hi;
I need to know how we can copy item level text to other item texts in same sales order. We are maintaining most of data may duplicate but not always. So I need to copy the the earlier text & paste in item created newly.
Pl. answer.
Thanks ;
avinash

Did you get answer for this query? I have a same situation and wondering if you already have a solution
thanks

Similar Messages

  • Updation of higher level item text to lower level item text

    Hi All,
    while creating sales order VA01   i need to pass the value of higher level item text to lower level item text
    for that i read the text of the higher level item text using the fm read_text
    and pass the text to the lower level items using save_text and commit_text
    this coding works only when the lower order item  text is empty
    my queries are
    1. if the lower level item having some text that text will be replaced by the higher level item text, that is happening but showing error that I/O error , how to solve this
    2. while gone to VA02 and add one more item then also same error is happening how to solve this please help me.
    regards
    krishna

    got the solution

  • 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

  • Copy line item text in all line items

    Hi
    My requirement is during transaction, if long text entered in one line item the same taxt should copy to all line item by default. if user want to chane the same for particular line item, it should be changable.
    Is it possible?. If yes, please revert in detail.
    Regards

    Hi Devi,
    If you put a plus sign in the text field, the system copy the previuos line text into the current field.
    Of course you can change it if you want.
    In addition we did a change in our system so the header text is transfered to the lines text when the line text field is empty.
    Regards
    Ofer

  • Item text inconsistency for multiple item text in CRM Billling document

    Hi Experts,
    I am facing problem in adding item text in CRM Billiing document in Web UI.There are 3 line items in my billing document and their item text gets determined from Billing due list items but there is a requirement to change the item text at billling documnet level also to populate it in the invoice.Here comes the problem when I change item text of first item system alllows me to change in text type Sales Text but when I am doing the same with suceeeding items it throws me a exception like this.
    Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error.
    SAP Note
    The following error text was processed in the system:
    Entry parameter ES_KEY of method CL_CRM_GENIL_CONTAINER_OBJECT->GET_KEY contains value , which is not allowed
    Exception Class CX_SY_IMPORT_MISMATCH_ERROR
    Error Name CONNE_IMPORT_WRONG_OBJECT_TYPE
    Program CL_CRM_GENIL_CONT_SIMPLE_OBJ==CP
    Include CL_CRM_GENIL_CONT_SIMPLE_OBJ==CM007
    ABAP Class CL_CRM_GENIL_CONT_SIMPLE_OBJ
    Method IF_GENIL_CONT_SIMPLE_OBJECT~GET_KEY
    Line 18 
    Long text During IMPORT it was ascertained that the object in the dataset has a different object type to the target object, or the structure of the complex object is not compatible with the structure of the target object. The target object has either a different length, a different number of decimal places or a different data type to the object that is to be imported.
    Error type: Exception
    Your SAP Business Server Pages Team
    This change in item text only works for first item and gives exception for all below items,Is this a standard SAP functionality or what can be done as same thing can be done from back end.

    Hi,
    The above given thread is the perfect solution for your requirement.
    Defaulting some data in the text field means, either you can use the the Substitution / BTE.
    Using the substitution, system not allows you to change the text field in case of any modification you want. But with the BTE you can specify only at the time of the document posting.
    BTE is the best option in this case.
    VVR

  • Need help to change line item text for 220 Line items

    Hi Specialists,
    The user has posted a reversal entry ( doc type : Manual Accrual) using TCODE FBS1.
    It has 220 line items.
    Is there a way in SAP he can change the text of All Line Items for a particular document number in one shot ( Mass Change).
    Pls note : Header text remains same . Only the line item text needs to be changed in one shot .
    For Eg :
      1 50 2758000047 Accruals for CAS               Accrl - Dec 08 / Nalini Marketing(Door Mats) - Oth
      2 50 2758000047 Accruals for CAS               Accrl - Dec 08 / SKC - M&E Repair
    Changed Description:
      1 50 2758000047 Accruals for CAS               Accrl - Jan 09 / Nalini Marketing(Door Mats) - Oth
      2 50 2758000047 Accruals for CAS               Accrl - Jan 09 / SKC - M&E Repair
    Thanks,
    Abhinav.

    Hi
    This is possible, please follow as below:
    If it is GL (FBL3N), Customer (FBL5N), Vendor (FBL1N) line item use the TCODE' mentioned.
    In the selection screen, if possible give all the document numbers (it is possible with addition selection).
    Once you get the output with the line item, select all line items and go to the menu options  there you can see the mass change option, it will give one popup screen give the new value in the text field and proceed further.
    VVR

  • Copy higher level item texts to lower level items

    Hi All ,
      I want to copy the texts of the higher level items into lower level items
    i created a logic how to copy the texts from higher level to lower level
    but the problem is there are so many textid's in higher level items,
    how to determine the all id's dynamically with out hard coding,
    is there anytable exists to determine the text id's automatically depending on the salesorder and itemno
    helpful answers  will be rewarded fully
    regards
    krishna

    Hi,
    You have to go as below:
    With Sales Order Item, you get Item Category i.e VBAP-PSTYV.
    With Item Category, go to table TVAP to detemine field TXTGR i.e Text Determination Procedure
    Now check table TTXERN with fields TDOBJECT = VBBP - Denotes Sales Order Item
        and TXTGR retreived from TVAP. Retreive the results of TDID which are the text id's associated for that sales order item.
    So the relation is VBAP -> TVAP -> TTXERN.
    Check and let me know if you have any problem.
    Kind Regards
    Eswar

  • Copy PO line item text to Migo line item text during PGR posting

    Dear all,
    I need to automatically copy over the ekpo-sgtxt over to screen field goitem-sgtxt during MIGO creation. Meaning, in MIGO - I enter the reference PO number and by the time I press enter, the system will propose the line items along with the "Text"field maintained with the data copied over from ME23N line items.
    Is there a user exit for this? If this question has been asked before, I'd be grateful if anyone can point me to that link.
    Thanks in advance.
    Steven

    Hello,
    How about trying userexit EXIT_SAPMM07M_001.
    Regards
    Waza

  • How do you display an item value based on other items?

    Item C's value depends on item A and B. If both A&B are null then C should display null , if A is null but B is not null then display 'Ok', everthing else display ' problem';
    3 items on page 5
    item A: name p5_A, display as text (saves state). source type is a dabase column
    item B: name P5_B, display as text (saves state). source type is a databbase column
    item C: name P5_C, display as text (based on PLsql doest not save state), source type pl/sql anonymous block ? like the following
    if :P5_A is null and :P5_B is null then :P5_C is null; else if :P5_A is null and :P5_B is not null then :P5_C := 'OK'; else :P5_C := 'Problem'; end if;
    Can someone tell me what did I do wrong on these stements unde apex? Thanks a bunch.
    Tai

    Alternatively, you could do a add a computation for that item - same source as mentioned in the previous reply, but each will work.
    Also, in your anonymous block, you have:
    if :P5_A is null and :P5_B is null then :P5_C is null; else if :P5_A is null and :P5_B is not null then :P5_C := 'OK'; else :P5_C := 'Problem'; end if;should probably be
    if :P5_A is null and :P5_B is null then :P5_C := null; elsif :P5_A is null and :P5_B is not null then :P5_C := 'OK'; else :P5_C := 'Problem'; end if;so instead of :P5_C is null , assign it a null - :P5_C := null. Also, else if in pl/sql is written as: elsif
    Edited by: tr3nton on Jan 19, 2010 3:03 PM

  • Text determination - sale order item text to be copied to delivery item tex

    hi,
    I have defined a text type and assigned to the text determination procedure and assigned those to the relevant item categories in the sales order item
    How cn i configure the system so that the delivery item text should copy the same text from the sales order item to the delivery item.
    Appreciate your help on this.
    Thanks
    keshini

    Dear keshini,
    To copy the sales order item text to the delivery document item text
    -->You do the text determination for the sales order item and delivery item also through VOTXN transaction,
    -->Define and maintain same TextId's in the sales order item text procedure and delivery item text procedure ,
    -->Maintain the access sequence ,in the delivery item text procedure access sequence you put the Text Object as VBBK for that delivery itemText ID.
    -->Assign the access sequence to the item text ID.
    I hope this will help you,
    Regards,
    Murali.

  • Sales order item text to delivery item text

    Hi All,
    Please find my query below :
    sales order is maintining  item level text . is there any posibility to update same text at the item level in delivery ?  Means after creating delivery the sales order item text tranfered to delivery item  text.
    How can i update the sales order item level text to delivery item level text.
    is there any user-exit or any configuration process or any other process. please let me know
    Thanks in advance
    Regards
    Sudhakar

    Check this [link|http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf]
    Refer to page 19. you will have to assign the requirement to the access sequence of the header/item text determination, this, you can ask your functional consultant to do it,. If you want to code your own requirement, then refer to the link that I provided you above.
    KR,
    Advait

  • LSMW - Direct Input - Sales order - item text

    Hi,
    I'm having a problem similar to the problem posted by Laurent Guilloteau on 2/3/2006 titled:
    LSMW - Direct Input - Sales order - item texts
    While this thread shows the issue as being answered, I'm not clear on what action to take.
    I'm using an LSMW with program RVINVB10 to load sales orders to SAP.
    I'm successfully loading the orders, including header level text, however the item text is not showing on the order.
    I have source structures defined as follows:
    Source Structures
           REC1                     VBAK - Header
               REC4                     VBPA - Order Partners
               REC6                     BTEXHKOM - Header Text Header
                   REC7                     BTEXLKOM - Header Text Lines
               REC2                     VBAP - Order Items
                   REC8                     BTEXHKOM - Item Text Header
                       REC9                     BTEXLKOM - Item Text Lines
                   REC3                     VBEP - Order Schedule Lines
    In actions 'Read Data' and 'Convert Data', I see text for the two text structures, at the header and item level. But after execution of Direct Input program, I don't see text in at the item level of the sales order, however I do see text at the header level.
    Does anyone have any insight on what's causing the item level text not to show on the order?
    Best regards,
    Stuart

    Hi all,
    Many thanks for the suggestions.  One of our expert developers got involved and provided the solution.
    In order to have item level text populate, the VBAP-PSTYV  (the sales document item category) field also needs to be populated.  The VBAP-PSTYV field value is dependent on the sales document type.  (Or, at least it is for the configuartion set up in my example)  The sales document type is VBAK-AUART.
    Stuart

  • Table for Sales Order Header Text

    Hi,
    I want Table Name for Sales Data -> Header Text.
    Path--
    When we open the Sales order, Click on Display Document Header Details --> Here select the Text tab. Here, see the written text in Form Header (1st option).
    I want that table Name which contain the Header Text. Because If header text is more than 1 line, where it stores??
    Plz. help

    Hi,
    Text data are stored in tables STXH (Header) and STXL(Item).
    But you can't find the exact text in these tables as the text are stored in binary form.
    You need to use function module READ_TEXT to read any document texts.
    Check the link [Use FM READ_TEXT to Read the Various Text|http://www.sap-img.com/abap/use-fm--read-text-to-read-the-various-text.htm] which explains how to use this module to read the text.
    Regards,

  • PR item text to be updated on Process order release

    Hi Experts,
    The scenario is mentioned below :
    The purchase requisitions would be created on the release of PRocess order.
    My requirement is to update the item text of the Purchase requisition ( with the process order data such as BATCH & Material ) on release.
    I have already tried quiet a few user exits, but beacuse the PR number is not yet generated in these exits,hence  I cannot use create_text or save_text.
    Please let me know if someone has any idea on how this can be solved.
    Hoping for a quick response.
    Warm Regards

    Hi
    Check the exits related to PR for Process order
    COZF0001
    COZF0002
    Try to fetch the Long texts of the PR's using the READ_TEXT and use the fun module
    CREATE_TEXT for saving the same in Process order by using the Right parameters like OBJECTName,ID,OBJECT and LANG in bothe cases for PR and process order.
    The tables link between the PR and the order is
    AFKO-AUFNR  = EBKN-NPLNR  ( process order number) in PR account assignment table
    use this link and try to save the text as mentioned above
    Reward points if useful
    Regards
    Anji

  • Item Category Completion rule and Copy Control for contract reference

    Hi
    We are creating sales document wrt contract. The item category completion rule for item category WVN is C i.e. item is completed after target quantity is fully referenced.
    We dont want to change this but we want that even if the target quantity is fully referenced one particular type of sales document should still be allowed to be created with reference to this contract.
    Please guide how can I achieve this.
    Thank You
    Brajendra Shrivastava

    Hi
    Is it possible to remove the item category completion rule and then restrict one particular document type or item category for only one time reference . In other words to apply completion rule at document type or tiem category level.

Maybe you are looking for