Addition of Username in FB03 Document Header

Hi,
In fb03 t code , Under Document Header, i need to add one more field "username". the user name should come from user id which is already present in fb03 header document. Please tell where to use that logic.

Any updates

Similar Messages

  • How to add document header text area on fb03's selection screen

    hi,
    i want to add an additional area on fb03's selection screen. i need document header text area for my document searchs. is it possible?

    Refer to this thread
    How to Add field to Selection screen of Tx. FBL5N

  • Document header text in Fb03

    Hi all,
    In ml81n transaction there is a field called external number which is stored in ESSR table.
    Now when i go to mrrl and display the fi document i will be taken to Fb03 transaction. If i click the documnet header i will get another window which has documen header text. Now in this document header text i need to display the external number that was used in ml81n transaction.
    I tried with enhancement points at some points. but it was not helpful.
    Hope somebody would reply to this post.
    Thanks in advance
    Veda
    Helpful answers would definitely rewarded.

    Hi,
    You can use READ_TEXT to retreive header text.
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    You have to used the READ_TEXT functions to read the SAP long text. e.g. Sales Order, Purchase Order Item text etc.
    To check your long text header, go into the long text. Click Goto -> Header
    This will give you OBJECT, NAME, ID, and LANGUAGE.
    Pass them in the FM, you will get the header text that you want.
    Also go through the below link:
    http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8c8494511d182b70000e829fbfe/content.htm
    Hope this will help.
    Thanks&Regards,
    Naresh kumar.

  • Additional data in Vendor document header - Planning Group

    Dear all
    We which to change the planning group of various vendor line items. We will be using the mass change function in FBL1N and have updated this to include the planning group field as per SAP note. I understand that we also need to update the planning group in additional items in the header for this to work.
    Can you please help me on how we can include the planning group in the additional data on the document header.
    PRG

    Thank you for yor reply. The problem I am having is that the field 'planning group' is not availalbe in the document header or in the additional fields so I can not update the transactional data not even individually. We have updated all the vendor master data but need to do this for the transactional data. My question is how to add this field?
    Many thanks
    PRG

  • FI document Header text formation using tcode F110 (Automatic payment )

    After completion of tcode F110 i.e. completion of a cycle of automatic payment transaction
    Then we can see header text of created FI document number by using tcode fb03.
    But the header text created through F110 has a concatenation of Run Date and Identification.
    There is problem that how it can happen?
    I have gone through all program code; there is no such direct coding for concatenation of header text, rather concatenate happens at different level of coding.
    We can create FI document using FB01 also and there is choice to enter Header text manually as well as we can select it using F4 help.
    Any one has any IDEA regarding this?
    Thanks,
    Suyog

    Hi
    I'm not sure it's helpful answer. The code below shows the way to change FI document header text (BKPF-BKTXT).
    tables: bkdf, bkpf, bsec, bsed, bseg, bset.
    constants:  c_bukrs type bkpf-bukrs value '11',
                c_belnr type bkpf-belnr value '1900000001',
                c_gjahr type bkpf-gjahr value '2011'.
    data: t_bkdf  type standard table of bkdf with header line,
          t_bkpf  type standard table of bkpf with header line,
          t_bsec  type standard table of bsec with header line,
          t_bsed  type standard table of bsed with header line,
          t_bseg  type standard table of bseg with header line,
          t_bset  type standard table of bset with header line.
    start-of-selection.
    * BKDF
      select *
        from bkdf
        into table t_bkdf
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    * BKPF
      select *
        from bkpf
        into table t_bkpf
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
      loop at t_bkpf.
        concatenate t_bkpf-bktxt '-R'
        into t_bkpf-bktxt.
        modify t_bkpf.
      endloop.
    * BSEC
      select *
        from bsec
        into table t_bsec
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    * BSED
      select *
        from bsed
        into table t_bsed
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    * BSEG
      select *
        from bseg
        into table t_bseg
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    * BSET
      select *
        from bset
        into table t_bset
        where bukrs eq c_bukrs and
              belnr eq c_belnr and
              gjahr eq c_gjahr.
    end-of-selection.
      call function 'CHANGE_DOCUMENT'
        tables
          t_bkdf           = t_bkdf
          t_bkpf           = t_bkpf
          t_bsec           = t_bsec
          t_bsed           = t_bsed
          t_bseg           = t_bseg
          t_bset           = t_bset
    *   T_BSEG_ADD       =
    hope it's help.
    Peerasit

  • XML Document Header

    I have created an XML document from scratch using the XmlBeans libraries and sent
    it to a file. This Xml file has the root node and all of its containing elements.
    But what is missing is the XML document header and my namespace definitions.
    Since I don't have the namespace definitions in the document header, the name
    spaces are redefined with the xmlns:xxx attrbute for each element in the XML file.
    This provides a lot of extra text in the document that is not required.
    What do I use in order to create the XML document header? Also how can I add
    the namespace definitions to the root element instead of them being defined for
    each element in the file? Looking at the documentation, it looked like I might
    need to sue the XmlDocumentProperties class but I'm not sure if this is it or
    if I need to use other classes too?
    Jerald

    This worked great. Thanks!
    One thing I found through trial and error is that I had to wait until my document
    was created, then I created a XmlCursor from my root node. After that I had to
    advance my XmlCursor to the first child element (rootCursor.toFirstChildElement())
    before actually adding my namespace definitions. Otherwise the namespace definitions
    were being added as an additional tag before my root element. But this was documented
    in the insertNamespace() member function (inserts into element before cursor).
    Thanks again.
    Jerald
    "Eric Vasilik" <[email protected]> wrote:
    >
    If you get an InputStream from am XMlBean, it will include the xml decl.
    Obtaining
    any character based stream will not. Basically, the xml declaration
    is generated
    when the XmlBean converts to bytes, but not when converted to chars.
    You can control the use of namespaces by inserting namespaces on the
    root element.
    I'm not sure what the current bits are on the website, but there should/will
    be a method on the XmlCursor called insertNamespace which you can use
    to insert
    a prefix/namespace (xmlns:prefix="namespace") as an attribute. The saver
    will
    use these attributes when persisting the store.
    "Jerald Pratt" <[email protected]> wrote:
    I have created an XML document from scratch using the XmlBeans libraries
    and sent
    it to a file. This Xml file has the root node and all of its containing
    elements.
    But what is missing is the XML document header and my namespace definitions.
    Since I don't have the namespace definitions in the document header,
    the name
    spaces are redefined with the xmlns:xxx attrbute for each element in
    the XML file.
    This provides a lot of extra text in the document that is not required.
    What do I use in order to create the XML document header? Also howcan
    I add
    the namespace definitions to the root element instead of them beingdefined
    for
    each element in the file? Looking at the documentation, it looked like
    I might
    need to sue the XmlDocumentProperties class but I'm not sure if this
    is it or
    if I need to use other classes too?
    Jerald

  • External File URL attach to FB03 - document service object

    Hi ;
    My requirement is Scanned copy of hard Vouchers stored in one Windows based External drive.this drives contains yearly ,monthly wise sub folders.
    in that sub folders Scanned Copies stored with voucher numbers. this hard Copy of voucher number Updated in FI Document- document header text file.
    based on Input file name customized program to identify the File from External drive and find the URL of scanned File and attach in FB03- Service for object tool.
    How to achieve this requirement this through SFTP Script . FTP is not using in my System.
    highly appreciate if somebody help me on this..
    Regards
    satish

    Hi Satish,
    You may look into option of writing an ABAP program to scan through the list of files in the share drive and pick up one which matches the selection and then perform upload and attach to FB03.
    Some examples of coding is available in thread http://scn.sap.com/thread/1925928
    Regards,
    Deepak Kori

  • SAP VBA interfacing - error: FI/CO interface: Inconsistent FI/CO document header data for updating

    Hello,
    Currently I'm working with excel SAP interfacing. For this I am using VBA to call different BAPI functions.
    I have already some interface scripts working, however I have also one which I cannot discover what I'm missing.
    The VBA code is to reach BAPI_ACC_DOCUMENT_POST
    My error is ---> FI/CO interface: Inconsistent FI/CO document header data for updating
    So I'm appealing to you SAP bapi VBA gurus whether you have any ideas how to fix my issue.
    I'm attaching below my code for you to review:
    Option Explicit
    ' Declaration for the necessary objects
    Dim objBAPICortrol, objConnection, objCreateMaterial, objReturn As Object
    Dim objPRFCT, objNTXT, objDTXT As Object
    Dim vLastRow, vRows As Integer
    Dim objMaterial1, objMaterial2, retMess As Object
    Sub Batch()
    ' Getting the last filled Row in Column
    vLastRow = Cells(Rows.Count, "A").End(xlUp).Row
    ' Setting the necessary variables for R/3 connection
    Set objBAPICortrol = CreateObject("SAP.functions")
    Set objConnection = objBAPICortrol.Connection
    objConnection.System = "SYSTEM NAME"
    objConnection.Client = "Client number"
    objConnection.user = "USERNAME"
    objConnection.Password = "PASSWORD"
    objConnection.Language = "EN"
    ' Establish a connection
    If objConnection.logon(0, False) <> False Then
    'MsgBox "Connection Established"
    End If
    On Error Resume Next
    ' Assign the Parameters
    Set objCreateMaterial = objBAPICortrol.Add("BAPI_ACC_DOCUMENT_POST")
    Set objMaterial = objCreateMaterial.Exports.Item("DOCUMENTHEADER")
    Set objMaterial1 = objCreateMaterial.Tables.Item("ACCOUNTGL")
    Set objMaterial2 = objCreateMaterial.Tables.Item("CURRENCYAMOUNT")
    'Set Values
    objMaterial.Value("USERNAME") = "USERNAME"
    objMaterial.Value("HEADER_TXT") = "BAPITEST"
    objMaterial.Value("COMP_CODE") = "0001"
    objMaterial.Value("PSTNG_DATE") = "20140506"
    objMaterial.Value("TRANS_DATE") = "20140506"
    objMaterial.Value("DOC_DATE") = "20140506"
    objMaterial.Value("FISC_YEAR") = "2014"
    objMaterial.Value("DOC_TYPE") = "SA"
    objMaterial.Value("REF_DOC_NO") = "BAPITEST"
    objMaterial.Value("FIS_PERIOD") = "00"
    objMaterial1.Rows.Add
    objMaterial1.Value(1, "ITEMNO_ACC") = "1"
    objMaterial1.Value(1, "GL_ACCOUNT") = "0007180000"
    objMaterial1.Value(1, "ITEM_TEXT") = "BAPITEST1"
    objMaterial1.Value(1, "DOC_TYPE") = "SA"
    objMaterial1.Value(1, "COMP_CODE") = "0001"
    objMaterial1.Value(1, "PROFIT_CTR") = "AZ1111" ---->'profit center is normally having 10CHARS but as there are letters I'm not using zeros at the beginning
    objMaterial1.Value(1, "ITEMNO_ACC") = "2"
    objMaterial1.Value(1, "GL_ACCOUNT") = "0007180000"
    objMaterial1.Value(1, "ITEM_TEXT") = "BAPITEST1"
    objMaterial1.Value(1, "DOC_TYPE") = "SA"
    objMaterial1.Value(1, "COMP_CODE") = "0001"
    objMaterial1.Value(1, "PROFIT_CTR") = "AZ1111"
    objMaterial2.Rows.Add
    objMaterial2.Value(1, "ITEMNO_ACC") = "1"
    objMaterial2.Value(1, "CURRENCY") = "EUR"
    objMaterial2.Value(1, "AMT_DOCCUR") = "-1.00"
    objMaterial2.Value(1, "ITEMNO_ACC") = "2"
    objMaterial2.Value(1, "CURRENCY") = "EUR"
    objMaterial2.Value(1, "AMT_DOCCUR") = "1.00"
    ' Function call
    objCreateMaterial.call
    Set objReturn = objBAPICortrol.Add("BAPI_TRANSACTION_COMMIT")
    objReturn.call
    Set retMess = objCreateMaterial.Tables.Item("RETURN")
    If retMess Is Nothing Then
    MsgBox retMess.Value(1, "MESSAGE")
    End If
    ' Get return parameters & display in excel
    Set objReturn = objCreateMaterial.Tables("RETURN")
    ActiveSheet.Cells(5, 1) = retMess.Value(2, "MESSAGE")
    End Sub

    after some searching I've discovered that once I'm creating next line for accounting document it is not working properly.
    When I debug the BAPI in SE37 after inserting new line it is asking for GL account input, however if I run it using VBA and delete the account from the code, the return message is not giving me any error that GL account is missing.
    I appreciate any ideas.

  • Acrobat 8.1.2 crashes when Document Header & Footer Add .. is invoked

    I'm running Acrobat 8.1.2 PPC on a PowerBook G4/1.67 Ghz running Leopard 10.5.4. I haven't used the page numbering function in quite a while, since before I upgraded to Leopard. Today I assembled a course packet of 150+ pages from 50 or so individual pdf documents. All was fine until I wanted to put a page number in the footer by invoking Document > Header & Footer > Add.... It either crashes Acrobat after putting a spinning system cursor (more frequently) or simply does nothing. I've tried "Examine" to remove things, but it doesn't help (and it removes bookmarks even when you tell it not to!). Running the PDF Optimizer on this document crashes Acrobat as well!
    Invoking Document > Header & Footer > Add.... on other documents does work. Let me stress that this composite document was created by Acrobat itself! The workaround I found was to open the document in Preview, do Print > Save as pdf, and *then* invoke Document > Header & Footer > Add....
    Has anyone else seen these problems? Are these remaining incompatibilities with Leopard? Advanced > Document Processing > Number Pages doesn't seem to add page numbers!

    I don't think it makes a difference. An Adobe engineer has confirmed that this doc has revealed a bug in both Acrobat Pro 8 and 9.

  • Sold-to Party (Document header)

    Hi,
    when i create a sales order by a certain type and if in sold-to-party field i write a certain customer, a popup dialog Sold-to Party (Document header) appears with some information fields: Postal code, Email, Fax, Street adress,PO Box addres,Communication,....
    I want to modify the default value in Postal Code/City? How can i do that?

    hello, friend.
    are you referring to the cash sales type of order, and a customer that is of the one-time type (account group DEBI)?  if so, the system behavior is correct.  the customer is just a dummy and you enter the name and address of the actual sold-to.
    if above is not the case, please post again.
    regards.

  • Loans document error Document header does not have a reconciliation key

    Hi All,
    I am trying to post a loans document through EK25 and while saving the document following erros is coming
    Formal error: Document header does not have a reconciliation key
    Message no. >0037
    Diagnosis
    You tried to post a document but a reconciliation key is missing from the document header. Since mass processing does not apply here (where the reconciliation key is automatically created) you must enter a reconciliation key.
    System Response
    Error message. Processing is terminated.
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    If the program error occurred in an
    SAP standard program, enter a problem message
    Own program, correct the program
    Any input appreciated.
    Thanks,
    VR

    Hi,
    You need to assign the reconcilation group to the SAP user ID you are using to post the loan document.
    The reconciliation group is required if user-specific reconciliation keys are to be proposed automatically.
    The reconciliation group is freely selectable.
    Go to the following path in IMG-
    IMG->Financial Accounting->Contract Accounts Receivable and Payable->Basic Functions->Postings and Documents->Document-.Define Default Values->Maintain Rules for Reconciliation Key Default Values->Maintain Reconciliation Groups for Default Values
    Maintain the SAP User ID that you are using along with a reconciliation group.
    After, you maintained the user ID and saved it, try to post the loan document again.
    Hope it helps..
    Thanks,
    Amlan

  • 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

  • How to include field in document header

    Dear All,
    Any one please give me some input on how to include a field in document header of f-02 .
    Thanks,
    Srini.

    Hi,
    You will have to modify the screen via SE51 (program SAPMF05A, screen 100). Ask to your ABAP team to help you, though such a modification should be carefully considered.
    By the way, is it a user-defined field or field that should be there and is just missing? If the last is true, it could be a bug and solved by relevant OSS correction.
    Regards,
    Eli

  • Additional field in the 'Add document' subscreen while creating a Solar doc

    Hi Forum members,
    I need to add additional fields in the 'Add Document' sub-screen that appears when I create documents in SOLAR01.
    The subscreen currently has 'Title', 'Documentation Type', 'Status' and 5 radio buttons for 'Object type'.
    Please advise.

    Hi,
    I doubt if we have any option to add additional fields in that screen.
    What additional fields are you planning to add?

  • How to update the field 'VBRK-ZUONR' of Billing Document Header(VF03)

    Hi Experts.
    I got a request to update the field 'VBRK-ZUONR' of Billing Document Header(T-code:VF03).
    At first i thought it might be a BADI or User-Exit case and looked up in Standard Program but found nothing.
    Thus i doubted if it was a configuration problem.
    I tryed to configure through transaction code "VTFA" "VTFL" "VTFF" and met another failure.
    Now i'm totally lost and hope for your advice,any information would be appreciated.
    The Billing Document is automatically generated from the posting of Outbound Delivery.
    Regards.
    Panda.

    Hi friends.
    I've found where point is.
    The include program 'RV60AFZC' contains a form named 'USEREXIT_FILL_VBRK_VBRP',
    in which the field 'VBRP-ZUONR' could be set through coding.
    In our system the codes had been changed once,which led to the misalignment that confused me yesterday.
    On the other hand,undoubtedly VTFL is available to configure the value of 'VBRP-ZUONR'.
    For more information plz refer to
    http://help.sap.com/saphelp_46c/helpdata/en/18/f62c7dd435d1118b3f0060b03ca329/content.htm
    Thanks again to all of you.
    Best Regards
    Panda.

Maybe you are looking for

  • HT4759 I recently renewed my icloud, since then I have been trying to use itunes match but it keeps coming up with error 4040?

    I recently renewed my icloud, since then I have been trying to use itunes match  but it keeps coming up with error 4040?

  • Quirk of wls 4.5.1 startup..

    <HELP ME> I have no understanding as to why, but it seems that the dynamic classloader thingy will not function unless you begin the process from <installDir>. Because of this the batch file to start the hotDeploy version must be in your <installDir>

  • What can it run? (Storm 9530)

    Forgive my lack of knowledge, I am new to this.... What sorts of d/l-able applications can actually run on this phone?   I searched all kinds of things on the web, and d/l'd some ".jar" file based applications from one site that said they worked on t

  • How do I lope through array, delete clip and remove from array

    I have a function that creates an instance of a movieClip and adds it to an array. In my gameloop I loop through the array and change some values. Now I want a cleanup function that loops through the array, and if the y value exceeds a certain value,

  • List...

    Hi everyone, I created a (list region) on a page and there is a FORM on the same page.I am trying to pass a value from that page to another page when the user selects one of the list entries.I tried with SET THESE ITEM.. WITH THESE VALUES in the list