Header text update in creation of PO

Hi All,
Our reqd is to change the header text while creation of PO.
I am using the badi BBP_CREATE_BE_PO_NEW.
Could some one please tell me how to use this badi for populating the header text in PO.
Regards
Bidyut

thanks

Similar Messages

  • Header text updation at the time of IP10

    When the user converts the maintanence plan for PRS at the time of IP10 the user wants to know the below
    1. Need to get the prs number in the footer so that immediately he can not it down
    2. They have some specific text to be updated in the PRS where while converting that in to po the same will get reflected in the PO print previe
    at the time of creation of PR itself the same text need to get updated in PR header text and as well as in the item level

    PRAVANESH TN,
    You post isn't clear...
    I'm assuming that a PRS is a purchase requisition??
    And where is this text coming from?
    PeteA

  • Header text update problem for BAPI_CONTRACT_CREATE

    Hi,
    We are in the process of converting the BDC for Contract creation ME31 into BAPI.
    For the purpose we had identified the BAPI,
    BAPI_CONTRACT_CREATE.
    The bapi works fine , except it doest not update the Header Text.
    The parameters passed for header text are
    Text ID : K01.
    Text Form : *
    Text line : ( Header text content).
    We are working on ECC6.0.
    Pls advice me how to proceed.
    Regards
    harish

    Hi Harish,
      Can you please give me a brief idea on how you are using this BAPI?
    1) What would be the format of excel file?
    2) Does the BAPI work for both create and update ?
    3) Any know limitation ?
    4) Any documentation you have or you can point me to on the web regarding this BAPI?
    Thanks
    AK

  • Reg: Header text updation in VL02n transaction

    Hi Experts,
    i have one requirement in return delivery.
    I am executing one customizing trasaction, and it displays screen.
    In that screen i am editing the fileds and when i click on the save button i need to update in delivery transaction header texts (VL02n transaction goto header texts).

    Hi,
    Use the SAVE-TEXT FM as below.
      CALL FUNCTION 'SAVE_TEXT'
           EXPORTING
                HEADER    = LS_THEAD
           IMPORTING
                NEWHEADER = LS_THEAD
           TABLES
                LINES     = TLINETAB
           EXCEPTIONS
                ID        = 1
                LANGUAGE  = 2
                NAME      = 3
                OBJECT    = 4
                OTHERS    = 5.
      IF SY-SUBRC = 0.
    Where LS_THEAD, CONTAINS:
                                            TDOBJECT                                             VBBK
                                            TDNAME                                             00999999(Your delivery no)
                                            TDID                                                         Z950
                                            TDSPRAS                                             E.
    You can find this details, when you go to the transaction(VL02N) and enter some text and do the debug on  SAVE_TEXT FM, then get the values it uses to save the text, use the same in you program.
    Hope this helps,
    Cheers,
    Srini.

  • Header Text Update(Sales Order) in - MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREP

    Hi,
    I am creating a sales order from third party systme and do saom validation in EXIT - MV45AFZZ(the exit called before saving Sales Order). Based on my validation I am appending the header text incase if it is available already else I key in some text incase if we don't have a text.
    Since we don't have the OBJECT NAME (Sales order number) at this point I am not able to do this. Can you please help me to resolve this.
    Thanks in Advance... <<Text removed>>
    Regards
    Mohan
    Edited by: Matt on Apr 9, 2009 9:58 AM - Do not offer points

    Write the same logic 'after sales order number has been generated', it will be done in USEREXIT_SAVE_DOCUMENT  user exit.

  • BAPI_SALESORDER_CHANGE for Ship to party header text updation.

    hello gurus,
    My requirement is to update SHIP to PARTY text at header level using BAPI_SALESORDER_CHANGE.
    exisiting logic is updating same through below parameter to BAPI for line item with pop up to change the SHIP to party text..
    partnerchanges   = tb_partnersc
    But to the same parameter if i am passing header record also long with Line item , header data is not updated but line item is updated,
    ITM_NUMBER = '000000'.  "header line item = 000000
    headerx-update = X is also passed.
    Please help me .
    regards,
    Jayant.

    pradeep,
    I still see this thread as open.  Please review this code as a more clear solution.
    REPORT  ZR_SANDBOX_PROG.
    data: vb like BAPIVBELN-VBELN.
    data: cl like BAPISDH1X.
    data: rt type table of BAPIRET2 with header line.
    data: rt2 type BAPIRET2.
    data: pt type table of BAPIPARNRC with header line.
    vb = '0000153147'.     " your sales order here
    cl-updateflag = 'U'.
    pt-DOCUMENT = vb.
    pt-ITM_NUMBER = '000000'.  "header line item = 000000
    pt-UPDATEFLAG = 'U'.
    pt-PARTN_ROLE = 'WE'.
    pt-P_NUMB_OLD = '0003300744'.
    pt-P_NUMB_NEW = '0003300074'.
    append pt.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        SALESDOCUMENT               = vb
        ORDER_HEADER_INX            = cl
      TABLES
        RETURN                      = rt
        PARTNERCHANGES              = pt.
    loop at rt.
      write: / rt-MESSAGE.
    endloop.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
       RETURN        = rt2.
    Reward points accordingly.

  • Updating Sales Order Header Text

    Hello Experts,
    Could you please help me in knowing how to update or maintain the Sales Order Header Texts programatically while creation of sales Orders.
    Here the scenario is ---Sales orders are getting created inCRM and there they are maintaining some text from webshop. Immediately a sales order will also gets created in ECC.
    Now i would like to know how to do that from ECC side?? Please help...
    Br,
    Anil

    Hi,
    I guess you'd have to find a BADI or user exit to update the texts in ECC. Check which IDOC brings the data from CRM to ECC. And the segment that carries the TEXTs. Then in the BADI you may either pass the date to appropriate fields or call the SAVE_TEXT function module in update task.
    Regards
    Prasenjit

  • How to restrict header text changes in sales order level

    Dear Experts,
    how to restrict header text changes in sales order level change mode
    thanks

    Hello Chandu,
    how to restrict header text changes in sales order level change mode
    In order to restrict changes to Sales Order Header Text, the appropriate User Exit would be USEREXIT_MOVE_FIELD_TO_TVCOM_H. With the help of ABAPer, you can include the simple logic on the basis of Header Text type such that whenever any changes are incurred on the Sales Order header text, updates would be prevented.
    Please try out this approach and let us know your latest observation on this issue.
    Regards,
    Sarthak

  • Update Sale Order Header Text through Enhancement

    Hi Experts,
             I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
    Here in I tried using edit_text, it updates sale order header text  directly in DB during run time even before the save action is completed.
    But I need to just fill the header text and that has to be saved during the save action only.
    I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
    Is there any  user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
    Thanks in advance
    Sathish

    Hi Brad Bohn,
        My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
    IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
    Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
    It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
    So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
    Kindly Let me Know any thing could be done for this scenario.
    Thanks in advance
    Sathish

  • Default Header text comes in PO at the time of creation

    Hi Friends,
                   my problem is that a default Header text must come on the PO based on the user or purchasing group at the time Creation (In Transaction ME21N).
    Is there any user exits or badi for it. I have already searched for them but i have not got any thing. Please help me.
    Thanks for ur valuable answers

    yes i know that through copy control we can get default text but it is item level text instead of the header text.and other thing it does not depend on the user or purchasing group. I default header text that is populated imediately when user call ME21N. So is there any BADI or user exit for that.Please reply.
    Thanks for ur reply and valuable answers
    null

  • 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

  • Enhancement spot for updating header text in vf02

    Hi guys,
    my requirement is to update header text which is already existing in vf02 tcode. user can update the existing text and when he click on save button text should get updated.
    anybody please let me know the place where i can write my code.
    Thanks in Advance.
    regards
    satish

    hi yogendra,
    I have created an enhancement in RV_INVOICE_DOCUMENT_ADD but my code is not getting appeared in debugging mode and  nothing is working. can u please guide me on this.
    following the spot where i have written my code
    NHANCEMENT-POINT rv_invoice_document_add_14 SPOTS es_saplv60a.
    ENHANCEMENT 51  OIC_SAPLV60A.    "active version
    BREAK-POINT.
    WAIT UP TO 2 SECONDS.
    DATA: lv_name TYPE thead-tdname,
             lt_line TYPE STANDARD TABLE OF tline,
             lw_line TYPE tline.
         CLEAR: lv_name , lv_sgtxt.
           lv_name = bkpf-xblnr.
    CALL FUNCTION 'READ_TEXT'
         EXPORTING
           id                      = 'A002'
           language                = sy-langu
           name                    = lv_name
           object                  = 'VBBK'
         TABLES
           lines                   = lt_line[]
         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 EQ 0.
         READ TABLE lt_line
           INTO lw_line
           INDEX 1.
          REPLACE ALL OCCURRENCES OF '<)>' IN lw_line-tdline WITH space.
         lv_sgtxt = lw_line-tdline.
       ENDIF.
    ENHANCEMENT 1  ZNARRATION_UPDATE.    "active version
    ENDENHANCEMENT.
    Regards
    satish

  • Read header text before saving delivery during creation

    Dear All,
    Could you please suggest, how to read the header text before saving the delivery during creation.
    Regards,

    I dont think you can do it before saving the delivery but you can after saving the delivery.
    Check out the program MV50AFZ1 - There are two user exits "userexit_save_document" and "userexit_save_document_prepare" .
    To read the text (as far as i know), you will need the document number (user READ_TEXT function module).
    Document number is not available in user exit  "userexit_save_document_prepare" but it is available in "userexit_save_document" .
    I dont know what is your requirement but you can choose from the above options. You can read the text from save_document user exit but the delivery was already saved.
    good luck

  • Capture the Invoice Split Reason and update it in the invoice header text

    Hi All,
    We have a requirement where we need to capture the invoice split reason and update the reason in the one of the invoice header text.
    Problem is the routine where the split criteria is being determined is called a number of times, so how will we determine at what time of time do we need to capture the split reason. I mean at what iteration of the routine will we know that the split value is the right value.
    Is there any way to determine the number of iterations of a routine written for split?
    Require your valuable inputs for this issue....
    TIA
    Regards,
    Sharadendu

    Hi,
    Is your invoice split reason maintained in the header or item level?
    Try coding your logic in user exit MV45AFZZ and update header text using text id and save it in header text using
    FM [SAVE_TEXT|http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm].
    Before this logic use FM [READ_TEXT|http://help.sap.com/saphelp_nw70/helpdata/en/d6/0db8c8494511d182b70000e829fbfe/content.htm] to determine if the header text is already updated. If yes,exit else save your HEADER_TEXT using SAVE_TEXT.
    This code can be written under FORM_USEREXIT_SAVE_DOCUMENT_PREPARE.
    Regards,
    Amit
    Edited by: Amit Iyer on Sep 1, 2009 8:46 PM

  • 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

Maybe you are looking for