Specifying Ledger Group in Sample Document

Is there a way to specify a ledger group at all within a Sample Document (F-01)?  I see no other transaction for creating Sample Documents so I am wondering if there is maybe a configuration step somewhere that would allow for this functionality?

Hi lakshmi,
See sample code below
METHOD if_ex_acc_document~change.
     DATA: wa_extension TYPE bapiparex.
     DATA: wa_wtax TYPE accit_wt.
     FIELD-SYMBOLS <fs_accit> TYPE accit.
     LOOP AT c_extension2 INTO wa_extension.
       IF wa_extension-structure = 'ZBUSSEC'.
         LOOP AT c_accit ASSIGNING <fs_accit>.
           <fs_accit>-bupla = wa_extension-valuepart1.
           <fs_accit>-secco = wa_extension-valuepart2.
         ENDLOOP.
       ENDIF.
       IF wa_extension-structure = 'ZWTAX'.
         wa_wtax-wt_key    = wa_extension-valuepart1.
         wa_wtax-witht     = wa_extension-valuepart2.
         wa_wtax-wt_withcd = wa_extension-valuepart3.
         APPEND wa_wtax TO c_accwt.
         READ TABLE c_accit ASSIGNING <fs_accit> WITH KEY koart = 'K'.
         IF sy-subrc = 0.
           <fs_accit>-wt_key = wa_wtax-wt_key.
         ENDIF.
       ENDIF.
     ENDLOOP.
   ENDMETHOD.
Reagrds
kiran

Similar Messages

  • Stock ledger group

    hi all,
    Can you please let me know on what basis Stock ledger group is assigned to material document.
    I can see the Stock ledger group assigned to amt doc  in the table -  l/BEV2/EDMSE.
    But from where it is assigned and on what basis ?
    Regards,
    Chandan

    Hi,
    During document selection, the system processes and evaluates each material document item. The system uses the following step to select the documents:
            The system assigns the material document items to the relevant tax type.
    ·        The system assigns the material document items to a stock ledger group.
    You can modify the assignment to a stock ledger group for specific customers. To do this you use reference stock ledger groups. You can also replace stock ledger groups (Customizing table Replace Stock Leger Groups).
    Basis for the assignment of stock ledger group to material document:
    Based on the data from the order/goods issue, purchase order/goods receipt, material, storage locations, and other movement data, the system assigns the material document to a stock ledger division u2013 and a stock ledger sub-division if necessary u2013 and to a stock ledger group. The previously determined ED movement category ascertains the analysis method.
    The system assigns reversal postings and original movements to the same stock ledger group. The quantity is simply entered with a different +/- sign than the original movement. For more clarity please follow below link. I hope this will resolve your issue. Thanking you.
    http://help.sap.com/saphelp_afs63/helpdata/ru/d8/a49b3cbe4ca00ee10000000a11405a/content.htm

  • Error when Parking G/L Account Document for Ledger Group

    Dear Frds,
    When my client try to park document for General ledger group (T-Code: FV50L), he is getting the error like CHECK_PLANTS_ABRO with the message No # FF804.
    Can anybody guide me what is this regard..
    Regards,
    Laxma

    Do one this items:
    1. Refer Note. 904036
    2. Check your configuration in terms of plants, company code, company name. Something might have been missing.

  • FB50L - Enter G/L account document for ledger Group

    Dear all,
    Can anyone explain what is the use FB50L - Enter G/L account document for ledger Group?
    Will award good points.
    Thanks & Regards,
    AR

    if the company having parallel ledgers, posting of entries in one particular ledger using  FB50L and FB0 , in parallel ledger concept if u post any entry all ledgers will be updated. this facility available in ECC 5.00 and 6.00 versions.
    if u want further information relating to parallel accounting refer the link
    http://help.sap.com/saphelp_erp2005vp/helpdata/EN/2d/830e405c538f5ce10000000a155106/frameset.htm
    please assign the points if its useful

  • Ledger Group vs. Ledger Specific Document Types

    Can anyone tell me the value in having a document type that is purely used for tracking accounting principle specific adjustments (GAAP Adjustments / STAT Adjustments / IFRS Adjustments / etc.)?  If you already have various ledger groups hitting various accounting principles using a standard accounting document why would you need a ledger specific document type and when would it be used in normal business transactions instead of using a ledger group / standard accounting doc type combination?

    HI,
    In my company I set up IFRS-leading ledger, 2 local ledgers for each comp. code.
    Accounting key-user found it easier and more traceable to make ledger specific postings using one special doc.type / number range for each ledger (group). "normal" doc. types can only be used to make posting in all ledgers assigned to each comp. code.
    With this setting they can easy identify ledger group specific postings from postings happened to all ledgers using the same account number.
    But,as you mentioned, its not really necessary to do so.
    BR Christian

  • Accounting Document Post with Ledger Group

    Hi,
    I am trying you post accounting document using 'BAPI_ACC_DOCUMENT_POST', But my requirement is to post the acc documents with 'Ledger Group', I couldn't find any parameter in the  above mentioned BAPI. If anyone come accross same requirement please share your knowledge and suggest me how to proceed with this.
    Before posting this thread I searched for the threads with same category, but i couldn't find sufficient information.
    Regards,
    Narayan

    Hi Navitha,
    I am doing migration as It's a one time activity, If I implement BADI  it will be triggered whenever accounting document posting happens, Is there any other way to pass Ledger group like other BAPI / FM etc ?
    Regards,
    Narayan
    Edited by: narayanasamy rajagopal on Sep 30, 2009 11:08 AM

  • Standart assignments in document for line item for certain ledger group

    Hi colleagues,
    I have a task to fulfill field order while posting asset retirement for certain G/L (91-2070000) and certain Ledger Group (0L).
    I've searched this in SPRO but can't find it.
    Maybe you can suggest where it could be customized.
    Thanks in advance!

    Hi Anton,
    In T code ABAVN/ABAON, after entering asset no and percentage/full retirement just simulate, then click additional account assignment(place curosr for which GL you want change) then enter order number.
    If order number is not appearing then change the field status of GL so that Order field is optional.
    Hope it solves.
    Regards,
    GSR

  • Which field represents 'LEDGER GROUP'  in BAPI_ACC_DOCUMENT_CHECK.

    Hi Experts,
    I am posting documents in FB50l. Before posting i am checking the documents using BAPI : BAPI_ACC_DOCUMENT_CHECK.
    After execution I am getting error 'Ledger group-Blank not permitted for doc type  ZL'.
    In this bapi i am not able to pass 'LEDGER GROUP'  field.
    can any one tell me how to pass LDGRP  field thorough this BAPI.
    Is there any other BAPI avialable to check GL document for posting for specefic ledger group.
    any one give me solution for this.
    Thanks in advance.
    Kiran.
    9986918125.
    Edited by: venkat25 on Feb 27, 2012 2:54 PM

    Hi lakshmi,
    See sample code below
    METHOD if_ex_acc_document~change.
         DATA: wa_extension TYPE bapiparex.
         DATA: wa_wtax TYPE accit_wt.
         FIELD-SYMBOLS <fs_accit> TYPE accit.
         LOOP AT c_extension2 INTO wa_extension.
           IF wa_extension-structure = 'ZBUSSEC'.
             LOOP AT c_accit ASSIGNING <fs_accit>.
               <fs_accit>-bupla = wa_extension-valuepart1.
               <fs_accit>-secco = wa_extension-valuepart2.
             ENDLOOP.
           ENDIF.
           IF wa_extension-structure = 'ZWTAX'.
             wa_wtax-wt_key    = wa_extension-valuepart1.
             wa_wtax-witht     = wa_extension-valuepart2.
             wa_wtax-wt_withcd = wa_extension-valuepart3.
             APPEND wa_wtax TO c_accwt.
             READ TABLE c_accit ASSIGNING <fs_accit> WITH KEY koart = 'K'.
             IF sy-subrc = 0.
               <fs_accit>-wt_key = wa_wtax-wt_key.
             ENDIF.
           ENDIF.
         ENDLOOP.
       ENDMETHOD.
    Reagrds
    kiran

  • How to allow only the specified users/groups to open my pdf files...

    Hi there,
    I'm looking for resources/documents describing how to allow only the specified users/groups to open my pdf files by the Java API...
    I've found a sample code creating a policy in the following document.
    http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/wwhelp/wwhimpl/js/html/w whelp.htm?context=sdkHelp&topic=learn_lc_sdk_invokeremoting
    ( API Quick Starts (Code Examples) > Rights Management Service API Quick Starts > Quick Start: Creating a new policy using the Java API )
    But the sample code doesn't set recepients( users/groups ) who can open the pdf file.
    How can I make it ?
    Any samples ? or Does anybody can tell me which Java classes/methods I should use ??
    Policy#addPolicyEntry(PolicyEntry policyEntry) ??
    PolicyEntry#setPrincipal(Principal principal) ??
    or none of them ?
    Any hints are appreciated !
    Thanks.

    I'm not exactly sure what you are tying to do here, but typical approach when issuing one PDF par user/groups scenario goes like:
    1. Create policy for specific purpose and add principal (user/group)
    2. Apply policy on server side
    3. Deliver the file (via email etc...)
    If you are looking for sample codes, try quick start.
    http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/wwhelp/wwhimpl/js/html/w whelp.htm?&accessible=true
    If you go "API Quick Start/Rights Management Service API Quick Starts", you might find something useful. I think you need "Creating Policies" or "Modifying Policies" for step 1 above, and "Applying Policies to PDF Documents" for step 2.
    Hope this helps.

  • ICR - Currency of document group in assigned documents

    I have read all threads on ICR and thanks to you have been successful in configuration for Process 003. However, the currency of document group = EUR. Both co codes local currency = USD, as well as transaction and group currency. From whence is the EUR?
    Many thanks,
    Carol

    Many thanks, Ralph. Unfortunately, when I go to FBIC010 to drill into process 003, I get error message below for which I have requested an OSS note to be applied.
    Ledger 0L is not a valid sender ledger
    Message no. FB_ICRC114
    Diagnosis
    You have specified ledger 0L as sender ledger for process 003. For process 003 the sender ledger must use totals table FBICRC003T. Ledger 0L uses totals table FAGLFLEXT.
    System response
    Error message. Settings cannot be saved.
    Procedure
    Specify a ledger which uses totals table FBICRC003T.

  • Using Sample Document in Park Document Transaction

    Is there any way to reference a Sample Document when Parking a Document?  In FB50 you can select Goto => Post with Reference from the menu to pull up a Sample Document but for my current client I need to establish a way to call up Sample Documents from the Park to Ledger Group transaction (FV50L).  Any ideas?

    I think you mean the XDB repository available in 9iR2. Please refer to the following doc:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96620/toc.htm

  • Ledger Group field NOT showing in FB03 after activating Non- Leading ledger

    Dear All Experts,
    I have activated non leading ledger for my company code and posted the document successfully from FB60. Now coming to FB03 I can see the document in Local Currency and Group Currency - USD but the Ledger Group field still shows complete blank. As I guess it MUST show 1F ( Non Leadig Ledger ) which is my non leading ledger.
    Where I missed the configurtation step ? If anybody has gone through the same issue please guide or provide some inputs.
    Regards,
    Revati Joshi.

    Non-leading ledger use t codes FB01L and FB50L
    The reason that the Ledger Group 0L is being used it´s because the Accouting Principle of your Valuation Area.
    What you have to do is you need to create a new Ledger Group and assgn it to your valutaion area.
    Then you assign this accounting principle to the valution area.
    Then assign the accounting principle to no Ledger Group.
    Please see the customizing path:
    Define new Ledger Group:
    Financial Accounting (New)>Financial Accounting Global Settings (New)>Ledgers>Ledger>Define Ledgers for General Ledger Accounting (dont active your new ledger as leading ledger. leave the standard as the leading )
    Assign Accounting Principle to none New Gl Group:
    Financial Accounting (New)>General Ledger Accounting (New)>Periodic Processing>Valuate>Check Assignment of Accounting Principle to Ledger Group
    Assign your Valuation Area to the accounting principel just assigned to none NewGL Group:
    Financial Accounting (New)>General Ledger Accounting (New)>Periodic Processing>Valuate>Assign Valuation Areas and Accounting Principles
    Now you have more then one Ledger Group in you client (which is not being used for nothing) and you have a valuation area that is linked to a Accounting Principle that is linked to no Ledger Group.
    Go ahead now and execute the FAGLF101. You will see that the standard will not try to inform leading ledger in the Group of Ledger.
    I found this solutiong debbuging the standard. Took me quite a bit to discover.
    The problem was in SPRO->Financial Accounting(New)->General Ledger Accounting(New)->Periodic Processing->Valuate->Check Assignment of Accounting Principle to Ledger Group. In "Target Ledger Group" field, the ledger "0L" were configured in BRAP and GAAP. So, the system automatically assigned the ledger "0L" when performing FAGLF101.

  • Error  "Ledger group 0L may not be used" - CO15

    Dear guru,
    When I want to save Production Order Confirmation via CO15, there is an error message :
    Ledger group 0L may not be used
    Message no. FAGL_LEDGER_CUST102
    Diagnosis
    Ledger group &1 is assigned to another application.
    FYI, when I check tabel T881 (Ledger Master), there are two leading ledger : 0L and OL. It's very strange.
    As far as I know, in standard SAP there is only one leading ledger, it is 0L.
    I check in customizing (Ledger > Define Ledgers for General Ledger Accounting), there is only one ledger: OL (as leading ledger), so I untick Leading Ledger indicator for Ledger 0L directly on table T881, but the error message still appear.
    How to solve this?
    Thanks before

    Hi Hanny Ali,
    The message F5 670 is processed if there is a problem in account determination. The message means the account determination in the SD billing document does not work probably. This could also be caused by a wrong or incomplete customizing.
    Please find note 146879 to check the customizing on this issue. From past messages, this problem is usually caused by a missing or incorrect customizing for the G/L account.
    Please note that if it's a case of a cancellation document the field VBRK-SFAKN is filled. When this is filled the system does not carry out account determination. In debug you can remove this entry and the account determination will be revoked. This would resolve the issue.
    Could you please review customizing setting VKOA if all the relevant information are being maintain correctly?
    Please also review the notes:
    -> 0216974 Error F5670 during release to accounting
    -> 0113512 VF051 "Doc. & saved (error in accnt determination)
    -> 1325446 SDBONT06: G/L accounts of rebate conditions are
    I hope this answer your issue with error F5 670.
    Best Regards,
    Vanessa.

  • Booking of accruals and deferrals in ledger group not possible

    HI all
    when Booking of accruals and deferrals in ledger group BL is not booking for 2 documents.
    error msg: posting to gl accounts with open item management is not possible.
    pls give some inputs why accruals and deferrals are not posting.

    Hi
    You may refer below documentation where sap allow open item clearing and Posting Specific to Ledger Groups.
    http://help.sap.com/erp2005_ehp_04/helpdata/en/46/f6f4957a7569b5e10000000a114a6b/frameset.htm
    SAP KBA: 1898300 -FSS0 - Deactivation Clearing Specific to Ledger Groups
    To use ledger group-specific clearing for any GL account, you need to select this option while setting up GL account master data. By setting up this indicator, you can manage the GL account on an open item basis as well as post Ledger group-specific entries to the GL account
    Regards
    Jomon

  • Define depereciation area - OADB (LEDGER GROUP)

    Hi all,
    I set ledger group in OADB (LDGRP_LP) for area 01.
    01 - BRL (FIAA= 0L and 0V)
    Than when I carry out t-code AB01, the document displayed to:
    0L
    75 19304 _________________1.000,00
    40 55000__________________1.000,00
    0T
    75 19304 _________________1.000,00
    40 55000__________________1.000,00
    0V
    75 19304 _________________1.000,00
    40 55000__________________1.000,00
    If I set a ledger group (FIAA = 0L and 0V) for area 01, Why didn't account for two ledgers?????
    Thanks!!!

    Hi,
    You have to take into account that when posting an "Acquisitions" to an asset, this Acquisition goes to ALL ledgers in asset accounting. The ledgers assigned to the depreciation areas are used for depreciation postings. That is why you can see when posting AFAB that the postings are done according to these ledgers and the Acquisition goes to BOTH ledgers 0L (leading ledger) and L2 (non-leading ledger) in my example below.    
    A typical parallel ledger scenario customizing should look as follows:.      
    For Example:
    AREA     TEXT                       POST TO GL                                     LEDGER        
    01           Local  GAAP           1 (Real time)                                            0L          
    05           ABC                       3 (Depreciation only)                                 L2          
    XY          DELTA AREA          5 or 6 (APC only or Only APC directly)       L2                                                                               
    With this setting you assure that postings to L2 are only the ones that you would expect in a parallel ledger scenario.                                                                               
    I hope this helps further to clarify.
    Kind regards,
    Brigitte

Maybe you are looking for

  • 1:1 View not working in Windows 7?

    Hi folks, I know it's not officially supported but I was wondering if others have seen this as well: I'm running Windows 7 Build 7000 x64 on a Intel Quad Core, 4Gb Ram, NVIDIA 7600GT. When I run LR 2.2 or 2.3RC either in 32bit or 64bit mode then when

  • Change display order between second and third display

    I have a MacBook Pro Retina 15" (2012) with 2 external displays (Dell 27 and Samsung 24). I use the Dell as main display. My problem is with FCPX. I want to use my Samsung 24 as Second Display to see my video material in it with the option "Show even

  • OutOfMemoryError when retrieving large resultset

    In my application I have one type of object (Call it O for now) that has a lot of data in the database (+50000 rows). Now I need to create an object of class T that has a m-n binding to 40000 instances of O. In the database this is mapped to a link t

  • How i can change the Goods Receipt flag in PO me21n

    Hi, While creating the material PO.I am seeing the GR Flag it is activated always and i can see in a display mode. I want to change GR Flag into editable mode.I know it is possible but i am missing navigation.Please help me how i can achieve this. Th

  • Motion SeriesLiveFont would not install

    Hi guys, I just updated to Yosemite and installed Final Cut Studio along with FCP 7, Motion 4, DVD Studio 4 etc. But I'm getting the following message right at the end when I have to put the install disc back in again "The installation failed. The fo