VF02.. Header Text

Dear Expert!
there is little issue for the authorization , we need to restrict users to maintain ONLY Header text in VF02 / VF03.
VF02/VF03 > Enter Billing Document Number (522113100)->Goto Header then Click on Header Text to maintain.
V_VBRK_FKA is restricting all tab upon the activity 02 / 03 but not exclusive the Header Tex.t
Please advise how to do ?
Regards
Anwer Waseem

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

Similar Messages

  • 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

  • Modify SAP Standard VF02 Transaction By HEADER TEXT

    Hi experts,
      My requirements is whenever the Invoice is created the user has  to entered GRN number in " NOTE TO CUSTOMER " row on Header text TAB in invoice using VF02 transaction by manally.
    VF02 -> Extras-> output-> header->header text-> Note to customer "    Login path".
    If the " NOTE TO CUSTOMER" on header text  is empty the invoice should not trigger the outbound IDOC using the same VF02 transaction.
    If the header text is available it should trigger the outbound IDOC.
    In my case the outbound IDOC is triggering whenever the Header text "NOTE TO CUSTOMER " is empty as well as with text also.
    Please guide me how to proceed in this to whenever the text is empty  it should not trigger the outbound IDOC ,.
    Thanks in Advance.
    Edited by: vincent_kingstown on Feb 27, 2012 9:34 PM

    Hi
    Check the requirement routine for your output. Set a  break point in the routine and add the needed condition. Use READ_TEXT to check the text on the header.
    Br
    Vijay V

  • Can I make header text on a billing document read only?

    We currently have a system where billing document header and line texts are created from the sales order.  Subsequent changes to the sales order texts do not alter the invoice texts. (this is how we want it) The business now want to lock down the texts on the invoice for audit reasons. Is there a way that we can make the texts read only in VF02? (meaning that if they want to change the notes they need to cancel the invoice change the notes on the sales order then and then rebill)

    Take a help from ABAPer in the User Exit  that if user try to edit the text in VF02 > Header / Item ,it would throw an error.
    Best Regards,
    Ankur

  • Transfer document header text from billing document to FI document

    Dear all,
    Where do I specify that the document header text out of the billing document should be transferred to the corresponding FI document?
    Currently, the FI document header text (BKPF-BKTXT) remeans blank after transfer from billing document. We need this field to be filled in, but I haven't found how to have this filled in.
    In copy control from sales doc to billing doc, there is the possibility to transfer the Reference number & Assignment, but nothing about document header texts.
    Some say that it would only be possible via coding, but anybody has any idea if it might be possible via standard SAP?
    Many thanks!
    Best regards

    Hi,
    We also had a bit same requirement, which is to copy the billing header text to FI item text (BSEG-SGTXT). The solution we took is to use FI Substitution (t-code GGB1), so that every time a FI document created from SD... the substitution reads the billing header text and put it in the FI item text. I think the same method could be used for FI header text (BKPF-BKTXT). Below is the solution for your reference.
    Prerequisite:
    Document Type = 'RV' AND Reference <> '' AND
    ( Transaction code = 'VF01' OR Transaction code = 'VF02' OR
    Transaction code = 'VF03' )
    Substitution:
    Using exit which coding is as below.
    *&      Form  u900
          Copy Billing Header Text to SGTXT
         -->P_SGTXT    FI Item Text
    FORM u900 USING p_sgtxt TYPE bseg-sgtxt.
      DATA: lv_name TYPE thead-tdname,
            lt_line TYPE STANDARD TABLE OF tline,
            lw_line TYPE tline.
      lv_name = bkpf-xblnr.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          id                      = 'Z001'
          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.
      In Billing Header Text, the sign '&' (ampersand) is automatically
      added some characters so it becomes '<(>&<)>'.
      The logic below is to fix that issue.
        REPLACE ALL OCCURRENCES OF '<(>' IN lw_line-tdline WITH space.
        REPLACE ALL OCCURRENCES OF '<)>' IN lw_line-tdline WITH space.
        p_sgtxt = lw_line-tdline.
      ENDIF.
    ENDFORM.
    Regards,
    Teddy Kurniawan

  • Where can I find the Billing Doc. Header Text SO10 text name?

    I have to write some logic in the billing document header text “country of origin”.
    VF02-- GOTO-- HEADER---HEADER TEXT----- COUNTRY OF ORIGIN.
    When a billing document is created it automatically creating the header text with the following details:
    Name :                       Billing doc number
    Language : EN
    Text ID:        ZD17
    Text object : VBBK.
    I need to find the SO10 text name from which the above dynamic text is generating, so that I can change the code in the original text..
    I searched in the SCN and found the Tcode VOTXN.
    I went to this tcode and selected the Billing Doc. Header Radio button.
    And I found the Access sequence number corresponding ID(ZD17-country of origin)
    When I gone through the sequence number I found one SO10 text name, but that is not the right SO10 name because the contents are totally deferrent.
    is there any way to find the SO10 text name, or did I went to any wrong path...
    please help me..
    Regards,
    Ramesh

    Double on the right hand side and Click on Goto-> Header for the Name and object details.

  • BDC to change header Text

    hello friends,
    need ur help.
    I have made recording for changing header text
    cForm name & cForm Ammout
    but the fields are not recorded in recording.
    is their any issue of sap script?
    i get code from recording as follows.
    perform open_group.
    perform bdc_dynpro      using 'SAPMV60A' '0101'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VBRK-VBELN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'VBRK-VBELN'
                                  '3100000384'.
    perform bdc_dynpro      using 'SAPMV60A' '0104'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VBRK-FKART'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=KFTE'.
    perform bdc_dynpro      using 'SAPMV60A' '6001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 123 22'.
    perform bdc_dynpro      using 'SAPMV60A' '6001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 123 22'.
    perform bdc_dynpro      using 'SAPMV60A' '6001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    perform bdc_transaction using 'VF02'.
    perform close_group.
    please help me.
    suggest answer.

    To update text use the FM  'SAVE_TEXT'.

  • Header text not getting populated in PO in R/3 from SRM!

    Hi,
    Our requirement is to automatically populate the email ID of the user in the header text once the PO is created in R/3 with reference to Shopping Cart in SRM.
    our scenario is classic.
    So far, we have used the following Badis in our development but seems to be not working.
    1.ME_Process_PO_Cust
    2.BBP_PO_INBOUND_BADI
    Need your inputs to solve this email querry.
    Regards,
    Archit Gandhi
    Edited by: Archit Gandhi on Feb 4, 2011 11:14 AM

    Check "Text Schema" & "Text Mapping" config part under Cross-Application Basic Settings..
    This should help you.. If you need help in configuration let me know..
    Thanks!!
    Bharath

  • Copy of header text

    Hi SAP Gurus,
    Is there any SAP std. possibility, If I entered the text in the Credit memo heder and which get copied into the output of the Invoice list(Credit memo list).
    If yes then please let me know how to configure.
    Thanks & Regards,
    Sachin

    Hi Sachin,
    To map your requirement you have to ask your Abaper to pick up the Text entered in the Header Text field by using Function module "READ_TEXT" (T-code - SE37).
    Firstly go to the Billing document> Header> Text and press the Display log icon available at the bottom where you have entered your Text. It will give you details like ID and Object name against the Text Type where you have entered your text.      
    Then Use T-code - SE37 then select "READ_TEXT" function module and Execute. System will ask you to enter your client code, ID, Language and the Billing document no. along with the Object Name and then execute. System will display the RESULT at the bottom. Ask your ABAPer to pick this data and use the same on Invoice.
    Hope the above meets your requirement.
    REWARD if it helps you!!
    Regards,
    Ajinkya

  • Billing Doc-Header-Texts copy Accounting Doc-Hader Texts?

    Dear gurus,
    I it possible to copy Billing Doc.-header- Text1 to
    Accounting Document>>>>>>"Doc. Header Text" field?

    Hello,
    the SAP note 301077 lists the available userexits in SD/FI interface.
    If, for example, you want to fill a BSEG field of customer line, userexit EXIT_SAPLV60B_002 is the good one.
    Instead if you want to fill a BSEG field of a G/L line, userexit EXIT_SAPLV60B_004 is the good one.
    Best regards,
    Ivano.

  • How to check if a user fills a header text in billing invoice

    Hi everybody and thanks in advance.
    My consultant wants to oblige all users to fill a header text when they create the billing invoice (vf01).
    I was looking for several user exits when I can manage this requisite.
    My problem is that when the user creates the invoice and push save button, I try to look for in the table STXH if the user created the header text. But I have not found anything, because the invoice has not created yet.
    Only when the billing invoice has saved, the header text is stored in the table STXH.
    I has been trying to find a structure wich contains the header data like xvbrk contains the data about type of invoice, etc.
    I have studied this user exits:
    userexit_number_range (module pool saplv60A, program rv60afzz)
    userexit_account_prep_komkcv (same module)
    userexit_account_prep_kompcv (same module)
    userexit_fill_vbrk_vbrp (same module)
    v60A0001 (Customer functions in the billing document).
    My question is: In which structure is the header text of billing invoice manage before push the save button?
    If I knew where it is, I could manage the data and check if the user filled the header text.
    Thank you very much, and sorry for my pour English.

    David,
    Place this code into USEREXIT_NUMBER_RANGE:
    DATA: CATALOG LIKE TCATALOG OCCURS 0 WITH HEADER LINE,
          MEMORY_ID(30).
    data: c_MEMORY_ID(30) VALUE 'SAPLSTXD'.
    DATA l_head type THEAD.
    DATA wa_head type THEAD.
    data: l_lines type table of TLine.
    data: l_line type TLine.
    DATA l_CATALOG type TCATALOG.
    IMPORT CATALOG FROM MEMORY ID 'SAPLSTXD'.
    loop at catalog into l_catalog.
       if  l_catalog-IS_REFTEXT is initial
       and l_catalog-keep is initial.
         concatenate c_memory_id l_catalog-id into memory_id.
         import thead to l_head
                tline to l_lines
           from memory id memory_id.
         loop at l_lines into l_line.
           message i000(zz) with l_line-TDLINE.
         endloop.
       endif.
    endloop.
    It will expose the text entered into the text ids in a message box (for now).  You will want to replace the MESSAGE statement with your own logic.
    You may also need to change the message numver/class from ZZ - as seen here "message i000(zz) with l_line-TDLINE."  with an appropriate message on your system.
    DON'T forget those points.

  • REPORT OR TABLE TO CAPTURE SALE ORDER AND DELIVERY ORDER HEADER TEXTS

    HI GURUS,
    where are the sale order header text is stored?
    How to retrieve the same in the form of report.
    the same for Delivery order header text..
    Regards
    Sri

    Hi Sri,
    just goto sales order header text and click on text u will get Text name, Text ID,and Text object
    pass these values to function module READ_TEXT .
    Regards,
    sksk.

  • Sale Order Header Text

    Hellow Friends
    I am creating a report , that contains sales order data - va02 , In ned to include Header text also . and warranty text also .
    Please Help me
    Ravi

    Hai   , chk this
            CALL FUNCTION 'READ_TEXT'
               EXPORTING
               CLIENT                        = SY-MANDT
                 id                            = '0014'
                 language                      = sy-langu
                 name                          = id
                 object                        = 'VBBK'
               ARCHIVE_HANDLE                = 0
               LOCAL_CAT                     = ' '
             IMPORTING
               HEADER                        =
               TABLES
                 lines                         = itab_w
              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.
      LOOP AT itab_w INTO g_text3.
          MOVE : g_text3 TO g_text4 .
        ENDIF .
        APPEND g_text3 .
    *clear g_text4 .
      ENDLOOP.

  • 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

  • SAP SCRIPT Header text and Item text not printing in customized PO

    Hello Experts,
                          I have copied the standard MEDRUCK to ZMEDRUCK and customized the form according to the requirement.
    I want to print the header text and Item text in my form.
    For Header text I have used :
    /: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F01
    Problem 1: The text what I enter in header text is flowing only when I hit on print preview without saving the form. Once I save the SAP SCRIPT  and click on print preview the field is appearing blank. I also tried to print the form, but the field is appearing blank even on the print out.
    Problem 2: For item text the field is concatenation of  EBELN & EBELP. Can anyone suggest me how to concatenate and fetch the text in item text.

    Hi,
        Im getting an error in my subroutine pool for i_xtline which is to fetch ITEM TEXT., It says its not a in any internal table nor defined as data. How can I proceed further. I have pasted my code below. Please check and revert ASAP
    PROGRAM  ZMEDRUCK_SUBP1.
    TABLES: EKPO, EKKO.
    FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
                                 out_tab STRUCTURE itcsy.
    data xname like THEAD-TDNAME.
    data i_xtline like xtline.
    clear i_xtline.
    refresh i_xtline.
    CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
    MOVE v_item_text to ITEMTXT.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            = F01
        language                      = EN
        name                          = ITEMTXT
        object                        = EKPO
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        =
      tables
        lines                         = i_xtline
    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.
    ENDFORM.

Maybe you are looking for

  • How can I change the country in Teacher Plan to Malaysia ?

    Please help ! Hi How can I change the country to Malaysia , it says "if you moved to a different country Contact Customer Support", But I live in Malaysia , I am a lecturer and I want to use the Creative Cloud Teacher Plan , but its 2-3 days that I a

  • Photo attachment issues

    I'm trying to send simple .jpg files to client. She's on a PC and this is what she tells me: "I use the insert picutre from file to get it into the document, on publisher it needs to be done this way to get the right text box to fit. The result is at

  • Macbook Air stopped detecting external displays

    My MBA (Mid 2011) has stopped detecting ANY external display. Have tried different leads (MDP > HDMI and VGA) with no luch, My MBA (Mid 2011) has stopped detecting ANY external display. Have tried different leads (MDP > HDMI and VGA) with no luck. It

  • JPEG "Done" Changes not appearing in Bridge

    Sorry if this has already been covered, but I didn't see an exact answer in the forum. I am using CS3 and ACR 4.1 in Windows Vista. When I conduct changes in a RAW file and hit "Done" I see the effects and circular icon indicating such in the thumbna

  • Why doesnt my phone work...?

    well~ just got the s4 was happy about getting it till i actually started using it. wifi doesnt work, text wont send, and heats up around the camera area after just about 1 minute use.... =.= i have tried factory reset and any other way i can think of