Header Text Of The PR to PO creation: Header Copy Rule

Hi Friends,
Is there any workaround to set  copy rule at header note of PR . As standard sap, there is no header text rule available; may be multiple PRs can be converted into single PO. But I still needed this functionality as there would be only PR has to be converted into single PO.
Which bapi / exit can be used for this functionality . I need to reflect the header text of the PR  into PO Header auto.
Regards,
Lalit

hI,
There is no user exist available to get header text in the PO as per my knowledge.I had similiar kind of requirement ,at that time I dird the research for the same.
Regards,
Nitin Amritkar

Similar Messages

  • How to Print Sales header text at the end of last page of Main Window

    Dear All,
    I have a requirement to print Sales order header text at the end of Main of last page. I don't have footer window.When i use Bottom-End bottom.Only one line is printing.The header has 5 lines.
    Request you to provide <b>code</b>to handle this situation. Your response is highly appreciated
    Best Regards
    Praveen

    Hi,
    If u r using standard layout set RVORDER01.
    U can print that sales order header text in the following text element.
    /E SUPPLEMENT_TEXT.
    U can include ur text objects here.
    Then it gets printed.
    Regards,
    Veda Kumar

  • How to add texts to the Header Text in the PO header

    Hi
    In our system, some already added remarks are appearing in the PO header text field when i open a PO. I wanted to edit the remarks appearing in the PO header as a default. I wanted to know where these predefined texts are filled in. Appriciate if you can help me findout the same.
    Thanks
    Venkat.

    Hi
    In the above said configuraiton path, they have mentioned "Purchase order"  in the source object and the "Header Text" in the source text.
    But i wanted to konw  where the below mentioned genereic Notes/Remarks will be entered. For all the purchase orders, this text is autmatically get copied into the header text. i wanted to know from where it is originating and where we are maintaining.
    "Notes / Remarks :
    Vendor's signature on the attached PO terms and conditions is an integral part of this PO
    All documents should have a PO number
    Invoices should be submitted to the attention of the Finance department
    Please attach a PO copy with all claims to avoid delay in receiving payment.?"

  • How to  read header texts in the on save user exit of VA01

    Hi Experts,
    I have a requirement to read the header texts in the on save user exit.
    I have to check whether departmental code in header text is not initial or not.
    Can any one please pour in some points of how it can be done......
    Thanks in Advance.
    Prem

    Hi
    U can use fm READ_TEXT:
    DATA: THEAD LIKE THEAD,
          TLINES LIKE STANDARD TABLE OF TLINE WITH HEADER LINE.
    THEAD-TDID     = <text id>.
    THEAD-TDSPRAD  = <language>.
    THEAD-TDOBJECT = 'VBBK'.
    THEAD-TDNAME   = VBAK-VBELN.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        ID                            = THEAD-TDID
        LANGUAGE                      = THEAD-TDSPRAD
        NAME                          = THEAD-TDNAME
        OBJECT                        = THEAD-TDOBJECT
      TABLES
        LINES                         = TLINES
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    U can use it in all situations ( inserting and updating) because that fm returns the buffered text.
    Max

  • Add default value to the Header Text of the Quotation

    Hi All,
    I want to add the default value to the header text of the Quotation.
    I've created the Text Type and Access Sequence usign the VOTXN,
    but I want some default text shown on the header text when user click on the Text type.
    for e.g.
    "The reason", "Qty"....
    I've check the routine of data transfer and also the User Exit MV45AFZB Userexit_MOVE_FIELD_TO_TVCOM_H...still no solution.
    Please help.
    Terry

    Please check below link.
    http://www.sapfans.com/forums/viewtopic.php?f=5&t=324385

  • PM Order header text need to be transfered to PR header text.

    Hi All
    We have a requirement where PM Order header text need to be transfered to PR header text.
    I went through this [LINK|Re: PR Header Text from PM Order] but couldn't get any solution for the same.
    Please let me know if this is feasible or not.
    Thanks in advance.
    Harsh

    Thanks for your response Ocean.
    A sample code will be really helpful here. Basically I am looking into parameters to pass to READ_TEXT while deriving PM Order header text.
    Thanks in advance.
    Harsh
    Edited by: Harsh Talesra on Oct 20, 2011 5:27 AM

  • BADI 'ME_PROCESS_PO_CUST to populate TEXT at the time of PO creation

    Hello All,
    I am using the above BADI to attempt to populate calculated text from class characteristics into a purchase order. Does anyone know if this can be done.I have checked the  parameters that are available for this BADI (MEPOHEADER and MEPOITEM) and I do not see fields for TEXT.
    The business requirement is that certain text is calculated from the vendor characteristics and this must be populated into the PO during its creation. Since the PO has not been committed to the database the function modules for this 'SAVE_TEXT' cannot be used.
    Please advise.

    hi,
    Vivek is right u have to use  same badi , it helps u out,
    below i gives u code plz ref that, in which u have to call
    CALL METHOD im_header->if_longtexts_mm~set_text
    as given below through this code u can maintain long text for each id in header of po.
    METHOD if_ex_me_process_po_cust~process_header.
      DATA: l_repid  TYPE sy-repid,
            l_dynumb TYPE d020s-dnum,
            l_fldnam TYPE dynpread-fieldname.
      DATA: l_value2(80).
      DATA : re_data1 TYPE mepoheader.
      l_repid = 'SAPLMEGUI'.
      l_dynumb = '1105'.
      l_fldnam = 'MEPO_TOPLINE-BSART'.
      CALL FUNCTION 'GET_DYNP_VALUE'
        EXPORTING
          i_field             = l_fldnam
          i_repid             = l_repid
          i_dynnr             = l_dynumb
      I_CONV_INPUT        = ' '
      I_CONV_OUTPUT       = ' '
        CHANGING
          o_value             = l_value2.
    CODE IS ADDED BY SANTOSH KUBAL**** DT :8.01.2009
    REQ : SANTOSH JAGTAP***
    ***PURPOSE: FOR PUR.ORGANISTION 2700 & 2701 WHEN NEW PO IS CREATED
    DEFULT HEADER TEXT WILL BE CALL IN HEADER NOTE  ID- F02 ***
    ***DEFULT HEADER TEXT is mentain in SO10 TEXT ID ST .
      IF sy-tcode = 'ME21N'.
      DATA: l_purorg(8).
      DATA: im_tdid   TYPE  tdid. "Importing
      DATA: im_textlines  TYPE  mmpur_t_textlines .
      DATA: wa_textlines LIKE LINE OF   im_textlines.
      DATA: text_tab TYPE TABLE OF  tline,
                wa_text_tab TYPE tline.
    l_repid = 'SAPLMEGUI'.
    l_dynumb = '1221'.
    l_fldnam = 'MEPO1222-EKORG'.
      CALL FUNCTION 'GET_DYNP_VALUE'
        EXPORTING
          i_field             = l_fldnam
          i_repid             = l_repid
          i_dynnr             = l_dynumb
        CHANGING
          o_value             = l_purorg.
    IF l_purorg = '2700' OR l_purorg = '2701'.
          CALL FUNCTION 'READ_TEXT'
            EXPORTING
             client                        = sy-mandt
             id                            = 'ST'
             language                      = sy-langu
             name                          = 'DEFULT_HEADR_TEXT'
             object                        = 'TEXT'
            TABLES
             lines                         = text_tab
          IF sy-subrc <> 0.
           * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
           *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
              IF text_tab IS NOT INITIAL.
                LOOP AT text_tab INTO wa_text_tab .
                wa_textlines-tdline = wa_text_tab-tdline.
                APPEND wa_textlines TO im_textlines.
                ENDLOOP .
             ENDIF.
          wa_textlines-tdobject     = 'TEXT'  .
          wa_textlines-tdid =     'ST'.
          wa_textlines-tdformat = 'SP'.
          APPEND  wa_textlines  TO im_textlines.
          CALL METHOD im_header->if_longtexts_mm~set_text
            EXPORTING
              im_tdid         =  'F02'
              im_textlines    = im_textlines.
              ENDIF.
         ENDIF.
    ***end of code**
    ENDMETHOD.

  • Erroneous Shipping Header Text in the Sales Order

    Hi ,
    We are facing one problem.Can you please help us..
    We seemed to have a recurring issue in SAP Production wherein an erroneous shipping text and supply location header text
    suddenly appears on the sales order header text.   As of this stage, our interim solution is to manually clear the erroneous text via invoking
    the SAVE_TEXT command directly in Production to clear out the text.   The problem with this approach is that we are "reactive"
    to the event meaning we only get to know of the issue after the National Order Centre reports the issue and by the time it reach
    IT it already affected quite a few sales and stock transport orders.  
    I
    a) an investigation to be conducted as to identify the root cause of this issue 
    b) permanent solution to be put in place to rectify the issue
    here's the text ID that got affected
    Text ID = Z022  (Shipping Text)
    Text ID = Z029  (Supply Location)
    Language = EN
    Text Name = XXXXXXXXXX
    Text Object = VBBK
    a list of programs that calls SAVE_TEXT and updates
    the above-mentioned text ID.  We have gone through the SD user-exit MV45AFZZ.
    The sample you see below is an STO.  As you know the STO is created inside the sales user-exit and uses the
    shipping instruction default from the originating sales order to pass on the text to the STO shipping text.
    We are unable to re-create this issue so this sorts of adds a layer of complexity.
    I found SAPLSTXD memory id..It is importing from this id..But there is no export in the program..
    Can you please help us where the text is exporting ..We need to find out the root cause of this issue and solution..
    Thanks in advance.
    Satish kumar.

    I found SAPLSTXD memory id..It is importing from this id..But there is no export in the program..
    Chances are it is set and exported at some point, then abandoned after processing for that document...it needs to be cleared probably, since your user is remaining in the same user context and therefore when another import is executed, the text stored there is brought in, even though not for that order/document....believe you'll find this is a programming error, need to export space or clear the ID after it is used...
    Check the other MV45AFZ* objects also...MV45AFZZ is not the only SD user exit...look at the inlcudes (named like mv45afz* )  in SE80 for program SAPMV45A.  I can't see SD (don't run at my employer), but you might also check copy requirements in transaction VOFM entries?  Some of the SD wizards can advise on that part.
    Try ABAP Scan program RSRSCAN1, probably as background job, if you don't find in MV45AFZ* members.  Sorry, that's the old program (but it might find for you).  Current version is program RPR_ABAP_SOURCE_SCAN.
    Edited by: BreakPoint on Sep 22, 2010 4:16 PM

  • Copying header text to the billing text in the same document

    Hi,
       I just want to know ,can we copy one text to another text in the same document.it means that once we enter the header text , can it be copied into all the texts and inturn it should be copied to all the proceeding documents.
    Regards
    Ram Pedarla

    Hi,
    No, this will be not possible in SAP standard. U have to enter manually only in any of the following.
    If u enter text in customer master data of all types manually then u can copy the same into sales order all text types and like subseq doc automaically..
    In the same way if u dont want to maintian in custoemr and want to maintain in Sales order then maintain in all text types in order manually then it will be copied to subsequent document also automaitcally..
    Hope u have under stood..

  • PO header text in the PO report

    Hi,
    I try to develop a PO report & want to include the field PO header text.
    Is it possible to extract the header text in a report.
    If possible, can any body so kind to give me the technical specification of the PO header text.
    Thanks in advance.
    Regards,
    sp sahu

    Sahu,
      there are n number of threads with sample coding in the forum for your question, pl just do a search..you could retrieve the po header/item texts using the fm READ_TEXT
    if helpful, reward
    Sathish. R

  • Copy Purchase Requisition Header Text to Purchase Order

    Hello!
    I will like to copy the Header text of the Purchase Requisition to the Purchase Order.
    I have read that SAP does not allow to copy it to the Header Text of the PO but it allow to copy it to the Item text of the PO.
    Can you give some hint on how to do this.
    Thanks.
    Regards,

    Hi
    You can't copy the header text of PR to PO header
    because Sometimes you need to convert different PRs to one PO.So each PR will have different header text, how the system will identify in PO header text.
    So whatever the item text you maintained for PR will be copied to item text of PO if you create the PO with respect to PR.
    So for this reason SAP has not provided the option for link the PR header text to PO header text.
    Hope you understand,
    rgds
    Chidanand

  • How to display text value in the header data (Header text) of credit memo

    Hi...
    I need to display the text value of the text field in the header text of the header data in credit memo.
    The text values are stored in a ztable and i need to display it based on the billing document stored in vbrk (zfield) that was inserted during the creation of credit request..
    Appreciate your help on how to do this...
    Thansk and will surely reward the points..
    Kanthi..

    Hi kanthi ,
                   Read the value from Z Table and during the creation of cedit memo check out for some exit where u the value from The zTABLE AND use function module SAVE_TEXT with object and id in the header text .
    Please award if useful.

  • To save PO item text at the time of creation

    Hello Friends,
    I have a requirement to save PO item text while creating from ME21N....
    I need to display the Material Classification(particular characteristics) data in the po Item text..
    I have done my coding in the particular User exit....
    i am getting the material classification data and passing it to SAVE_TEXT function Module and after that doing COMMIT_TEXT.....
    Code running fine without any error but not saving the text to PO item text....
    We have code for PO Header text in the same user exit and its working fine.... Can you please focus on this and let me know any way to proceed....
    CALL FUNCTION 'INIT_TEXT'
            EXPORTING
              id       = 'F08'
              language = 'E'
              name     = fname            - PO NUM
              object   = 'EKPO'
            IMPORTING
              header   = head
            TABLES
              lines    = in_text1
            EXCEPTIONS
              id       = 1
              language = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          CALL FUNCTION 'SAVE_TEXT'
            EXPORTING
              header    = head
            IMPORTING
              newheader = head
            TABLES
              lines     = in_text         - HAVING CLASS DATA TO BE DISPLAYED
            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.
      ENDLOOP.
        CALL FUNCTION 'COMMIT_TEXT'
        EXPORTING
          keep = 'X'.
    Waiting for you reply...
    Regards,
    SAM

    Hello
    Use
    CALL FUNCTION 'COMMIT_TEXT'
    EXPORTING
    SAVEMODE_DIRECT = 'X'.
    instead
    CALL FUNCTION 'COMMIT_TEXT'
    EXPORTING
    keep = 'X'.

  • How to get the user entered  header text on a delivery

    Hi All,
    I am looking for a internal table which holds the user entered text in header text of the delivery. I was able to find header data in XTHEAD table. But actual lines(entered text)  in which structure it holds. I checked TLINETAB but its empty.
    My requirement is to check the user enterd text to validate at userexi_save .
    Any help will be appreciated
    Thanks
    Sai.

    Hi all,
    Thanks for ur replies.
    I already tried READ_TEXT. but its not giving the current value.
    check the following code:
            CLEAR lv_valid.
            READ TABLE catalog
                  INTO ls_catalog
                  WITH KEY tdobject = c_vbbk1
                             tdname = likp-vbeln
                               tdid = c_z043.
            IF sy-subrc = 0.
              CHECK ls_catalog-function NE 'D'.
              CALL FUNCTION 'READ_TEXT'
                EXPORTING
                  id                      = ls_catalog-tdid
                  language                = ls_catalog-tdspras
                  name                    = ls_catalog-tdname
                  object                  = ls_catalog-tdobject
                TABLES
                  lines                   = lt_tline
                EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
              IF sy-subrc = 0.
                CLEAR lv_valid.
                READ TABLE lt_tline INTO ls_tline INDEX 1.
                CALL METHOD z2cl_utilities=>is_valid_text
                  EXPORTING
                    p_text  = ls_tline-tdline
                  IMPORTING
                    p_text1 = lv_text1
                    p_text2 = lv_text2
                    p_valid = lv_valid.
                IF lv_valid IS  INITIAL.
                  MESSAGE e504(z2vl) WITH lv_text1 lv_text2.
                ENDIF.

  • Update the z table from the header text of VF01 on save

    Hi All,
    I have a  Z table 'ZEXIM_LICDETAILS'. Whenever a billing doc. of type 'ZEXP' is created with tcode VF01, the Z table fields should also be updated. I have learned that we cannot include tabs in Billing Doc, so the licence number is put in the header text of the VF01.
    Is there any way that I can update my Z table from header text, when we save the VF01.
    Waiting for your repy in anticipation.
    Thanks a lot in advance,
    Anu

    Write code in USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    Reddy

Maybe you are looking for