0FI_GL_10 to be enhanced for the Accounting Doc Num and Order

Hi Gurus,
We have used 0FI_GL_10  datasource and now we need data for the below two fields:
1. Accounting Document Number (BSEG u2013 BELNR )
2. Order Number (BSEG u2013 AUFNR)
The above both fields are present in the datasource 0FI_GL_04.
Can 0FI_GL_10  be enhanced for the above two fields? or do we have any simple method of pulling these
Thanks in advance,
Upender

Hi,
You can do it in 2 ways. Use both the datasources to fill same DSO. In that way, you would be able to update your required fields.
Alternatively, you can enhance the datasource with these 2 fields and write your code in CMOD to fill these fields. Please refer to the below article for enhancing the datasource.
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
Please note that the article talks about master data, therefore the enhancement EXIT_SAPLRSAP_002 is used. In your case, you need to code under EXIT_SAPLRSAP_001.
Edited by: Rahul K Rai on Sep 9, 2010 1:36 PM

Similar Messages

  • Posting the account doc for the movement type 311

    Hi Experts,
    Can you please brief me about the Accounting doc while using the 311 movement type. if there is involve the split valutation in internal purpose or external purpose.
    Regards

    nilupriya wrote:
    Hi Experts,
    >
    > Can you please brief me about the Accounting doc while using the 311 movement type. if there is involve the split valutation in internal purpose or external purpose.
    >
    > Regards
    Hi Nilu,
    See that Mvt 311 is trf betwn st.loc to st.loc, where the goods are not leaving any valuation area, hence there's no value change, which means Accounting Documents are not created as they are not necessary.
    Hope its clear
    Shiva

  • Canceling a billing doc for which accounting doc not yet generated

    Hello,
    I have strange issue in canceling billing doc. What happened user created Intercompany billing doc IV against a delivery and accounting doc also released to FI. After that he found that value in that IV doc is not correct so he went and cancelled that doc IV and he created internal credit memo IG .But for this IG the accounting doc not generated due to FI period closing. Because the IV is created in the month of Oct and IG is created in the month of Nov'07.Due to this issue Accounting document not generated for this IG doc.
    But unfortunately by mistake he went cancelled the IG doc and it created IV again. Now what happened both IG and new IV created are showing in cancelled status. This is because if we cancel a billing doc for which accounting doc not created, then both doc will turning into cancelled status in doc flow. This is confirmed similar situation in my quality box and confirmed.
    Now can anybody come across this kind of issue and tell me what is the best approach to handle this kind of situation.
    Thanks
    Mathi

    Hi Nina
    As you are doing Delivery and then billing  with the service item category ZTAD , so go to VOV7 and check wheather the Billing Relevance ( Delivery related billing ) has been maintained or not .
    Also check wheather in VTLA & VTFL copy controls  ,  ZTAD item category has been maintained or not
    Regards
    Srinath

  • Enhancement for updating accounting document in MIGO

    When doing MIGO, material document gets generated in background. I would like to pass this material document num (mkpf-mblnr) to the assignment field of GR/IR line item of accounting document (BSEG-ZUONR)

    Hi, Thanks for u r response. it is giving problem
    My requirement :  Transaction is : MIGO
    Before posting of material document, update material document number in assignment field of GR/IR line item of accounting document (WE) at number commitment stage
    Update MKPF-MBLNR (Material Document Number) in BSEG-ZUONR
    but already i tried AC_DOCUMENT i got a problem .
    What i did,
    first use MB_DOCUMENT_BADI  with  method
                 mb_document_before_update.
    here i tried to get the material document and export into memory
    after use AC_DOCUMENT With method
                   change_after_check.
    here Import the material document doc num and pass it to Assignment field in
    but it is not working
    when i debug first trigger the   AC_DOCUMENT   And then it goes to   MB_DOCUMENT_BADI
    Plese help me regarding this.
    Edited by: vsreelakshmi on Feb 9, 2012 5:23 AM
    Edited by: vsreelakshmi on Feb 9, 2012 5:29 AM

  • Table for Invoice accounting doc

    I have got the invoice number posted in MIRO,i need to get the accounting document number generated for this invoice number.
    Can any one please let me know th etable where i could give the  the invoice number posted in MIRO and get accounting doc generataed for it.I need to pass invoice number posted in MIRO and get the accounting doc.

    Hi,
    Table BKPF will help you...
    BELNR = Accounting document number
    AWKEY = Object Key which is nothing but Material Doc no + Fiscal year
    From SE16, select table BKPF
    In the field AWKEY (Object Key), give the material doc number+fiscal year ( for example, 50000000002009)
    Execute.
    You will get the corresponding accounting doc number
    Regards,
    Mike

  • BAPI for GL Account doc parking

    Hi All,
    Is there any BAPI for the GL Account Doc parking in SAP R/3.
    Pls let me know at the earliest.
    Thanks in advance.
    Murgesh.

    Hi
    I've tried several FMs and non seem to work but try the following:
    All credit for Rteve Sowan
    se24 create class ZCL_FI_UTILS
    Create Class, Static method ACC_DOCUMENT_POST
    with the following import params:
    IP_BKPF     Importing     Type     FM_BKPF_TAB
    IP_BSEG     Importing     Type     FM_BSEG_TAB
    IP_BSEC     Importing     Type     FM_BSEC_TAB
    IP_BSET     Importing     Type     FM_BSET
    IP_BSEZ     Importing     Type     ZFM_BSEZ_TAB (your table type of BSEZ)
    Method Code (you could call the function direct, but at least this informs other developer that the method is intended for parking GL Account docs):
    method ACC_DOCUMENT_PARK.
      CALL FUNCTION 'PRELIMINARY_POSTING_FB01'
      TABLES
        t_bkpf                 = ip_bkpf
        t_bseg                 = ip_bseg
        t_bsec                 = ip_bsec
        t_bset                 = ip_bset
        t_bsez                 = ip_bsez
    endmethod.
    Within your program populate Header BKPF
    Accounting Document Header
    gs_bkpf-bukrs                         = '1000'.
    gs_bkpf-gjahr                         = '2007'.
    gs_bkpf-blart                         = 'SA'.
    gs_bkpf-bldat                         = sy-datum.
    gs_bkpf-budat                         = sy-datum.
    gs_bkpf-monat                         = '12'.
    gs_bkpf-wwert                         = sy-datum.
    gs_bkpf-usnam                         = sy-uname.
    gs_bkpf-tcode                         = sy-tcode.
    gs_bkpf-waers                         = 'GBP'.
    gs_bkpf-glvor                         = 'RFBU'.
    gs_bkpf-hwaer                         = 'GBP'.
    APPEND gs_bkpf TO gt_bkpf.
    Populate the Item
    Accounting Document Segment
    gs_bseg-bukrs                         = '1000'.
    gs_bseg-gjahr                         = '2007'.
    gs_bseg-buzei                         = '001'.
    gs_bseg-bschl                         = '40'.
    gs_bseg-koart                         = 'S'.
    gs_bseg-shkzg                         = 'S'.
    gs_bseg-wrbtr                         = '1'.
    gs_bseg-pswsl                         = 'GBP'.
    gs_bseg-vorgn                         = 'RFBU'.
    gs_bseg-kokrs                         = 'N999'.
    gs_bseg-kostl                         = '1000E021'.
    gs_bseg-xkres                         = 'X'.
    gs_bseg-hkont                         = '221001101'.
    Format the Account Doc
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input  = gs_bseg-hkont
      IMPORTING
        output = gs_bseg-hkont.
    APPEND gs_bseg TO gt_bseg.
    Call the Class Method previously created
    CALL METHOD zcl_fi_utils=>acc_document_park
    exporting
        ip_bkpf = gt_bkpf
        ip_bseg = gt_bseg
        ip_bsec = gt_bsec
        ip_bset = gt_bset
        ip_bsez = gt_bsez
    So long as GT_BKPF and GT_BSEG are populated (minimum) the document will park.
    The other tables need to be passed as empty tables.
    Have a play
    LMc

  • Looking for enhancement for the price control of purchasr oder

    Hi,
    I'm Looking for enhancement for the price control of purchasr oder
    I need to develop programs to control the price of purchase orders according to some special rules while purchase order is creating, so,
    can anybody tell me which enhancement is beeter to adopt?
    Thanks and best regards.

    hi
    following are there for purchase order...
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a
    LMELA010            Inbound shipping notification: Transfer item data from IDO
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition releas
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery toleranc
    MM06E001            User exits for EDI inbound and outbound purchasing documen
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release order
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MM06E011            Activate PReq Block
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processin
    MMAL0004            ALE purchasing info record distribution: Inbound processin
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    No of Exits:         36
    to search for any enhancement you can use the following prog..
    report  zfinduserexit.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    move : tadir-devclass to v_devclass.
    if sy-subrc ne 0.
    select single * from trdir where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir where pname = tstc-pgmna.
    select single * from enlfdir where funcname =
    tfdir-funcname.
    select single * from tadir where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    move : tadir-devclass to v_devclass.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object = 'SMOD'
    and devclass = v_devclass.
    select single * from tstct where sprsl eq sy-langu and
    tcode eq p_tcode.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(95) sy-uline.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Exit Name',
    21 sy-vline ,
    22 'Description',
    95 sy-vline.
    write:/(95) sy-uline.
    loop at jtab.
    select single * from modsapt
    where sprsl = sy-langu and
    name = jtab-obj_name.
    format color col_normal intensified off.
    write:/1 sy-vline,
    2 jtab-obj_name hotspot on,
    21 sy-vline ,
    22 modsapt-modtext,
    95 sy-vline.
    endloop.
    write:/(95) sy-uline.
    describe table jtab.
    skip.
    format color col_total intensified on.
    write:/ 'No of Exits:' , sy-tfill.
    else.
    format color col_negative intensified on.
    write:/(95) 'No User Exit exists'.
    endif.
    else.
    format color col_negative intensified on.
    write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
    get cursor field field1.
    check field1(4) eq 'JTAB'.
    set parameter id 'MON' field sy-lisel+1(10).
    execute the report and enter the transaction for which u want to find the enhancement and execute. it would show the available enhancements for that tcode.
    <b>Please do reward if useful</b>
    Regards
    Dinesh

  • How the accounting doc. generated in VF01?

    I debug VF01, found that FM 'RV_INVOICE_CREATE'. but cannot find how to generate the the accounting doc.
    any advice?

    Hi,
    Basically you do not need to create an accounting document. For each types of system generated documents, there are set of number ranges maintained for each fiscal year in the transaction <u><b>SNRO</b></u>.
    If you go into the tcode, it will ask you for object.
    For sales you can give it as <u><b>RV_BELEG</b></u>. Once you type this and press number ranges. You can see the list of ranges given for sale orders, deliveries, invoices, etc.
    So these object is attached to the standard transactions VF01, VF04 etc. So whenver a billing doc is successfully generated a corresponding accounting doc is generated. there are 2 reasons, once is maintanence of no. ranges and second SAP is an integrated tool.
    P.S. mark all helpful answers for points.
    JLN

  • When I choose a photo to share on face book a drop down box appears with the message, Face book didn't recognise the information you entered for the account this is my Face book login information I use to access my face book page how can I overcome the b

    when I choose a photo to share on face book a drop down box appears with the message, Face book didn't recognise the information you entered for the account this is my Face book login information I use to access my face book page how can I overcome this.

    Delete abd re-enter your Facebook account information jnder the accounts tab in the iPhoto preferences
    You may also want to take a look at the user tip for Facebook problems
    LN

  • Program rfbibl01- VATcode for the account is populated wrongly

    Hi All,
    We are using the standard program rfbibl01 to raise the FI document FB01;
    But within the BDC (IN this Program), VAT code for the account is populated wrongly in to the screen;
    When we have no VAT code for the record, it fills the previous records VAT code instead of space
    Appreciate if you have any idea please
    Thanks
    Iver

    Hello,
    How are you passing the data to the program rfbibl01?  Is it through a Z program and submitting rfbibl01?
    If yes, then in the Z program you might be filling the structure BBKPF and BBSEG.  You have to check if the CLEAR is done in this area.
    Cheers,
    Balaji

  • Number Range For the accounting document

    Hai, 
    After creating the billing document, account determination error is coming.
    Message says that number range 01 is not maintained for the accounting document

    Go to OBA7, select the document type RV and execute.  There ensure that the object 01 in the field number range assignment.  Next go to FBN1, key in company code and ensure that the above object is maintained there.
    thanks
    G. Lakshmipathi

  • I went to create a itunes account and entered the wrong e-mail in and my ITunes confirmation code was sent to that e-mail. The person who recieved the e-mail shouldnt be able to keep it due to they dont know the password i made for the account correct?

    I went to set up an ITunes account and entered the WRONG e-mail. After everything was complete it sent the Itunes conformation number to the wrong e-mail. I dont believe they can use it because they dont know the password it will ask them for that e-mail for the account. How do i redeem the itunes back? When i enetr the code to try and use it for my correct e-mail it says it already has been redeemed.

    Go to https://expresslane.apple.com ; select 'iTunes' in the first column; 'iTunes Store' in the second column then see if there is an appropriate place to report the problem.

  • I was sycing my ipod with my computer to get a new album and itunes prompted me saying that there was a previous account for the ipod or something and if I should carry on and deletle it or cancel the sync. I wanted the album so I clicked carry on an

    I was sycing my ipod with my computer to get a new album and itunes prompted me saying that there was a previous account for the ipod or something and if I should carry on and deletle it or cancel the sync. I wanted the album so I clicked carry on and delete the account. When I checked my ipod afterwards all almost all of my music was gone exept for what I had just downloaded. This was thosands of songs that I had carefully picked over the years and now they are all gone. Someone please help me!!!

    Get all that music back in itunes and sync again.

  • Hi i'm trying to install updates but Name and then the password I have for the account won't let me in. Is my name my email address?

    hi i'm trying to install updates but Name and then the password I have for the account won't let me in. Is my name my email address?

    Updates do not normally require any kind of password access.  It is more likely your machine's security is asking for you to allow things to be updated.

  • Flash Player only works for the account that downloaded it

    I downloaded flash player and did not specify any special preferences, however, it doesn't work for the 2 other accounts on the computer.  It only runs for the Administrator account from which i downloaded it. I'm running XP professional. Can someone tell me how to fix this?

    hi, i had already deleted cookies, temp internet files, etc;
    i only have the IE pop up blocker and blocking level set at Medium;
    it's the latest version of FP 10.0.45.2.
    I installed this version a couple of weeks ago and it worked ok for all accounts (the other 2 accounts are not admin) for a week. Then, it stopped working for all accounts, i reinstalled it (some trial and error involved), then when it finally reinstalled, only works for the one account. i just tried to reinstall from one of the other accounts and error mssg said  "failed to register"
    Date: Sun, 6 Jun 2010 11:20:59 -0600
    From: [email protected]
    To: [email protected]
    Subject: Flash Player only works for the account that downloaded it
    Hi ol, I would go to Tools, click on Internet Options and clear the Temp files. Delete Cookies, Delete Files, including the off line content. I would do this using all accounts. Also check the history files while you are there and delete those also unless you have done so recently.
    What version of Flash Player do you have Installed?
    Do you use any adblock or pop up blocker software?
    Thanks,
    eidnolb
    >

Maybe you are looking for