POSTING Key problem for 15 & 40

Hi All,
when i am using BAPI_ACC_DOCUMENT_POST.
it executes successfully but
if i enter the amount with + sign it uses 01 as the posting key.
if i entered the amount with - sign it selects 11 as posting key.
but requirement is instead of 11 or 01 I want 15 and 40 as posting key for Document type DZ .
how it determines the key?
and can i change the posting key?
How can I pass the posting key field to this BAPI?
Please can anyone help me regarding this....Thanks in Advice.

Hi Suresh,
Please follow the thread given below which talks about issue with posting key.
FB01 and BAPI_ACC_DOCUMENT_POST
Best Regards,
Krishna

Similar Messages

  • Using a "Posting Key" relevant for the calculation of sales

    Hi All,
    if I make a posting by F-02 using a "Posting Key" relevant for the calculation of sales, I wonder: in which table SAP registers the data of sales?
    Is there the way to modify the relevance for sales of that posting?
    Thanks

    Hi
    As far I know, sales figures are getting updated in the following summary tables:
    KCN1 for Customer related.
    LFC1 For Vendor realted.
    Regards

  • Account posting keys involves for process of third party order

    hi
        pls tell me the process of third party order and whos account stock will be debited and tell me the account posting keys involves in this process and how it operates
    regards
    Ram
    Edited by: Ian Wong on Aug 13, 2008 7:06 PM

    THIRD PARTY SCENARIO
    In third-party order processing, your company does not deliver the items requested by a customer. Instead, you pass the order along to a third-party vendor who then ships the goods directly to the customer and bills you. A sales order may consist partly or wholly of third-party items. Occasionally, you may need to let a vendor deliver items you would normally deliver yourself.
    Process Flow
    The processing of third-party orders is controlled via material types. Material types define whether a material is produced only internally, can be ordered only from third-party vendors, or whether both are possible. For example, a material that is defined as a trading good can only be ordered from a third-party vendor. However, if you manufacture your own finished products, you may also want, from time to time, to be able to order the same type of product from other vendors.
    Processing Third-Party Orders in Sales
    Third-party items can be created automatically by the system, depending on how your system is set. However, you can also change a standard item to a third-party item during sales processing manually.
    Automatic third-party order processing
    If a material is always delivered from one or more third-party vendors, you can specify in the material master that the material is a third-party item. During subsequent sales order processing, the system automatically determines the appropriate item category for a third-party item: TAS. To specify a material as a third-party item, enter BANS in the Item category group field in the Sales 2 screen of the material master record.
    Manual third-party order processing
    In the case of a material that you normally deliver yourself but occasionally need to order from a third-party vendor, you can overwrite the item category during sales order processing. For a material that you normally deliver yourself, you specify the item category group NORM in the material master.
    If, as an exception, you use a third-party material, change the entry TAN to TAS in the ItCa field when processing the sales document. The item is then processed as third-party item.
    If address data for the ship-to party is changed in the sales order in third-party business transactions, the changed data will automatically be passed on to purchase requisition and also to the purchase order ,if one already exists. In the purchase order, you can display the address data for the ship-to party in the attributes for the item.
    You can only change the address data for the ship-to party in the sales order for third-party business transactions, and not in the purchase order.
    Processing Third-Party Orders in Purchasing
    When you save a sales order that contains one or more third-party items, the system automatically creates a purchase requisition in Purchasing. Each third-party item in a sales order automatically generates a corresponding purchase requisition item. During creation of the requisition, the system automatically determines a vendor for each requisition item. If a sales order item has more than one schedule line, the system creates a purchase requisition item for each schedule line.
    Purchase orders are created from purchase requisitions in the usual way. For more information about creating purchase orders, see the Purchasing documentation. During creation of the purchase order, the system automatically copies the delivery address of your customer from the corresponding sales order. In a sales order, you can enter purchase order texts for each third-party item. When you create the corresponding purchase order, the texts are automatically copied into the purchase order. The number of the purchase order appears in the document flow information of the sales order.
    All changes made in the purchase order are automatically made in the sales order as well. For example, if the vendor confirms quantities and delivery dates different from those you request and enters them in the purchase order, the revised data is automatically copied into the sales order
    You process third-party items by creating a normal sales order. In overview for the order, you can then overwrite the default item category (TAN in the standard system) with the special item category for third-party items: TAS
    Billing Third-Party Orders
    If relevance for billing indicator for the item category has been set to B (relevant for order-related billing on the basis of the order quantity) in Customizing, the system includes the order in the billing due list immediately. If, however, the indicator has been set to F (relevant to order-related billing on the basis of the invoice quantity), the system does not include the order in the billing due list until an invoice from the vendor has been received and processed by the purchasing department. In the standard system, item category TAS (third-party order processing) has been given billing-relevance indicator F.
    In the first case, the third-party order is considered to be completely billed only when the invoiced quantity equals the order quantity of the sales order item. In the second case, each time a vendor invoice is received, a customer invoice is created for the quantity in the vendor invoice and the order is considered to be fully invoiced until the next vendor invoice is received.
    If you have activated billing-relevance indicator F for item categories in Customizing, billing can refer to the goods receipt quantity instead of the incoming invoice quantity.
    You can control whether the invoice receipt quantity or the quantity of goods received is relevant for billing in Customizing for copying control for billing at item level.
    FOR YOUR PROCESS Individual Purchase Orders WELL GIVE THE RIGHT SOLUTION
    Individual purchase orders are used when your customer orders goods from you that are not in stock and must be ordered from one or more external vendors.
    Process Flow
    During sales order entry, the system automatically creates a purchase requisition item. The purchasing department creates a purchase order based on the requisition and the vendor ships the goods directly to you (unlike third party order processing, where the vendor ships directly to your customer). You then ship the goods to your customer. While the goods are part of your inventory, you manage them as part of the sales order stock. Sales order stock consists of stock that is assigned to specific sales orders and cannot be used for other purposes.
    Goods receipt will be posted when ever the vendor ships the goods to our customer.
    We will do this transaction in SAP using MIGO.
    Invoice receipt is done when the Vendor sends us the invoice.. ( I.e Billing ).
    It can be done using MIRO.
    THe above two steps are standard and manual. There are many other ways that the actual process can happen. If the client follows EDI standards then the Goods receipt and Invoice receipt can be done through IDOCs automatically.
    Process Flow for 3rd Party Sales
    Customize the third party sales in summary:
    Prerequisites for 3rd party sales,
    Purchasing org,
    purchasing group,
    assign the Purchase org to company code
    assign Purchase org to plant,
    should not maintain the stock in material, it should be trading goods,
    1. Create Vendor XK01
    2. Create Material – Material Type as "Trading Goods". Item category group as "BANS".
    3. Assign Item Category TAS to Order type that you are going to use.
    4. A sale order is created and when saved a PR is generated at the background
    5. With reference to SO a PO is created (ME21N). The company raises PO to the vendor.
    6. Vendor delivers the goods and raises bill to company. MM receives the invoice MIRO
    7. Goods receipt MIGO
    8. Goods issue
    9. The item cat TAS or Schedule line cat CS is not relevant for delivery which is evident from the config and, therefore, there is no delivery process attached in the whole process of Third party sales.
    10. Billing *--
    SD - 3rd party sales order Create Sales Order
    VA01
    Order Type
    Sales org, distr chnl, div
    Enter
    Sold to
    PO #
    Material
    Quantity
    Enter
    Save
    SD - 3rd party sales order View the PR that is created with a third party sales order
    VA01
    Order Number
    Goto Item Overview
    Item ->Schedule Item
    SD - 3rd party sales order View the PR that is created
    ME52N
    Key in the PR number
    Save
    SD - 3rd party sales order Assign the PR to the vendor and create PO
    ME57
    Key in the PR number
    Toggle the "Assigned Purchase Requisition"
    Execute
    Check the box next to the material
    Assign Automatically button
    Click on "Assignments" button
    Click on "Process assignment"
    The "Process Assignment Create PO" box , enter
    Drag the PR and drop in the shopping basket
    Save
    SD - 3rd party sales order Receive Goods
    MIGO_GR
    PO Number
    DN Number
    Batch tab , click on classification
    Serial Numbers tab
    Date of Production
    Flag Item OK
    Check, just in case
    Post
    Save
    SD - 3rd party sales order Create Invoice
    MIRO
    Invoice Date
    Look for the PO , state the vendor and the Material
    Check the box
    Click on "Copy"
    Purchase Order Number (bottom half of the screen)
    Amount
    State the baseline date
    Simulate & Post
    Invoice Number
    *Invoice blocked due to date variance
    SD - 3rd party sales order Create a delivery order
    VL01N
    In the order screen , go to the menu Sales Document , select "Deliver"
    Go to "picking" tab
    State the qty and save
    SD - 3rd party sales order Create a billing document
    VF01
    Ensure that the delivery document is correct in the
    Enter
    Go to edit -> Log
    Save
    Third party order processing is as follows:
    Assume three companies X, Y and Z
    X - The company,
    y - The customer
    Z - Vendor
    When ever X gets a PO from Y to supply some goods, X has an option of either manufacturing those goods or procuring those goods.
    If he is procuring the goods, there are two methods that are generally followed:
    Method 1) After receiving the PO from Y, X creates a sales order against Y.
    Now at the same time he also creates a PO to a vendor Z to produce the goods
    Z produces the goods and supplies to X
    X receives the goods from Z
    Then X delivers the same goods to Y.
    After that X invoices Y and Z invoices X.
    Note : Here there is no direct/ Indirect relation between Z and Y.
    This process is known as Trading Process. and the Material here is created with Material type HAWA.
    The other method is a Third party order processing method:
    Here the glaring difference is that instead of Z supplying the material to X and X in turn supplying the same material to Y.
    X authorizes Z to supply the material to Y on his behalf and notify him once the delivery is complete.
    Now Z supplies the material to Y and acknowledges the same to X.
    Z will send a copy of delivery acknowledgement and invoice to X.
    After receiving the delivery confirmation and invoice from Z, X has to verify the invoice and this process is known as invoice verification and is done in SAP through Tcode MIRO.
    The next step for X is to create an invoice and submit to Y
    Only after the invoice verification document is posted then only X can create an invoice for Y.
    This is the business flow that is followed for third party order configuration.
    There are few steps that have to be configured to enable the system to function as mentioned above.
    Step1)
    If you are always following a third party process for a material then you have to create the material using item category group BANS.
    The procurement type should be marked as External procurement (F) in MRP 2 view of the material master record.
    if you are not always allowing third party order processing then u can create a material master record with item category group as NORM and the procurement type should be marked as ( X) meaning both types of procurement ( in house manufacturing and external procurement).
    Step 2)
    the item category in the order should be manually changed as TAS.
    For that you need to configure the item category determination
    Order type + item cat Group + Usage + High level = Item cat + Manual item cat
    OR + NORM + + = TAN + TAS
    OR + BANS + + = TAS
    Step 3)
    make sure that during the item category configuration for TAS you need to mark relevant for billing indicator as F
    step 4)
    The schedule line category for this type should be CS.
    make sure that you mark subsequent type as NB - purchase requisition in this schedule line category as this will trigger the purchase requisition order immediately after the creation of the sales order and the PO to vendor is created against this purchase requisition.
    Award if Helpful,
    Regards
    Priyanka.P

  • Reg. Maintain the posting keys necessary for transaction EXD.

    Dear friends
    I am getting the below error message when I release the billing in VF02
    Error in account determination: table T030K key NCCA EXD
    Message no. FF709
    Diagnosis
    In the chart of accounts to be posted to, no accounts are defined for the tax code you used.
    Procedure
    Contact your system administrator.
    Define the accounts to which a tax posting is to be made with the tax code entered in Customizing for taxes on sales/purchases.
    To do this, choose Maintain entries (F5).
    Please help me.
    Thanks
    Rajakumar.K
    Edited by: Raja Kumar on Jun 4, 2011 2:02 PM
    Edited by: Raja Kumar on Jun 4, 2011 2:53 PM

    Hi,
    In VKOA maintain G/L account for NCCA + EXD combination
    Kindly take help of FI Consultant for this
    Kapil

  • Msg no F5598(Posting keys for acnt determ for transac. ERS do not exist

    A. Posting keys for acnt determ for transac. ERS do not exist
    B. Error in acnt determination(:table T030K key INT1 MWS Msg No FF709)
    C. How to carru out TOR?

    I am facing the same problem as below :
    ==================================================================
    Posting keys for account determination for transaction ZZZ do not exist
    Message no. F5598
    Diagnosis
    The posting keys necessary for account determination for transaction ZZZ have not been set.
    System Response
    Because the posting key is missing, the system cannot generate any automatic postings.
    Procedure
    Maintain the posting keys necessary for transaction ZZZ.
    ====================================================================
    Any idea how to resolve it.
    Njoy
    Siva

  • How to mention posting keys for line items in IDOCS for fb01 posting

    Hi all ,
    I am using IDOCS for fb01 posting with posting keys 15 and posting keys 40 for line items .The data is in legacy file . I am using IDOC <b>ACC_GL_POSTING_01</b> for posting . Is there any way that I can mention the posting keys in the segment parameters of the IDOC.If there is anyone who have done fb01 posting with IDOCS,please help me with the code .Please treat the question as urgent .
    Thanks in advance

    Hi Arshad,
    There is no fecility to enter Posting keys explicitly.. It is determined automaticall by the Credit/Debit amounts u enter in GL data in the segments E1BPACGL08 and E1BPACCR08 and also it depends on the Customer and Vendor no.
    Sreedhar

  • Posting Keys for Account Determination do not exist

    This doubt in STO scenario:
    STO - between 2 plants - different company codes under same client
    Created STO from  Receiving Plant in ME21N with document type NB
    Based on that STO, Created Delivery in VL10B from supplying Plant
    Tried PGI in VL02N from supplying Plant.
    Received the Error Message as below:
    Posting keys for account determination for transaction BUV do not exist
    Message no. F5598
    Diagnosis
    The posting keys necessary for account determination for transaction BUV have not been set.
    System Response
    Because the posting key is missing, the system cannot generate any automatic postings.
    Procedure
    Maintain the posting keys necessary for transaction BUV.
    kindly give the solution and advance thanks.
    Vaidee

    Hi Vadee,
    Account Determination for BUV has not been setup for PGI.
    So , go to transaction OBYC and assign the account by double clicking BUV  and give u r chart of accounts and check whether the account has been maintained. If not maintain.
    If account has been maintained , select your account/valuation class and select posting keys push button and maintain the posting keys.
    Regards,
    Nani

  • Posting keys for account determination

    Hi all
    I'll try to post an sales ticket from Retail modul to SD module.
    I have this message error : Posting keys for account determination for transaction ZST do not exist                                                                               
    Message no. F5598                                                                               
    Diagnosis                                                                               
    The posting keys necessary for account determination for transaction Z
        have not been set.                                                                               
    System Response                                                                               
    Because the posting key is missing, the system cannot generate any   
        automatic postings.                                                                               
    Procedure                                                                               
    Maintain the posting keys necessary for transaction ZST. 
    In VKOA transaction, I check and for me the account determination has been set.
    So I was wondering what's goes wrong with this.
    Appreciate your expert advise..

    HI,
    Please check wther In the pricing procedure ZXXX some conditions have account key ZXX.
    But in table T030B there is not any record with KTOSL = ZXX.
    Check note 1273471,1128659
    Regards
    Ravinagh Boni

  • Background FI Posting with clearing, posting key control, etc - How?

    I have the requirement to post FI documents with clearing, with defined posting keys, where some of the fields come from file, some of them defaulted. It should happen in the background.
    I used BAPI BAPI_ACC_DOCUMENT_POST. I had the posting key problem, however with Badi ACC_DOCUMENT using EXTENSION2 I managed to generate the FI docs with the right posting keys.
    Now I have problem with clearing. It seems with this BAPI it's not possible to trigger clearing.
    I found some threads about FM 'POSTING_INTERFACE_CLEARING', however I don't think I can have any influence on the posting key and generated line items. So it doesn't help to me.
    FM BAPI_PAYM_ITEM_POST_CLEARING is for payments.
    Using program RFBIBL00 would be difficult, as far as I can see it can only use file in the specific format as an input.
    I should read my file and generate another file and call this program. This wouldn't be really the best approach.
    In this moment the only solution I can think of is transaction recorder/call transaction approach. Unfortunately this solution would be really release-customizing dependent and not performance-optimized.
    Any other idea?
    Thanks in advance,
    Peter

    Hi Rob,
    Thanks for your answer.
    In one of the sap standard batch program I found FM FI_PSO_DOC_DIRECT_INPUT. I'll give a try, it might help also.
    Best regards,
    Peter

  • How posting key is taken up when we generate accounting document

    hi ,
    i am trying to bill a customer using billing type RE which is credit for returns. but when i generate posting document instead of crediting the customer account its getting debited  ie) it is taking up the posting key 01 instead of 11 .
    how this posting key is determined when we generate accounting documnet .
    if u have any questiin or clarification kindly ask me.
    thanks

    hi,
    start with checking OBXW, here you check the customer item outgoing invoice, where you will find posting keys assigned for debit and credit. Might be its configured wrongly here.
    Second, Check T.code OB40 this is where we tell what type of accounts are affected with this posing key and is the effect a debit or credit. You have radio buttons for it.
    But remember these are all standard SAP config settings and i guess there would really be a need to change them here if not while practising.... Make the settings as required and do consult an FI guy on this.
    regards
    sadhu kishore

  • Automatic Payment Run (F110) posting key setting

    HI,
    I would appreciate very much if someone could advice me about the posting key setting for Automatic Payment Run (F110).  Where is the config done?

    Hi Vani,
    I am of the view that the solution to this issue would be :-
    Moving  to  transaction FBKP.
    Posting Key Allocating/checking.
    Defination of each posting key and it field status
    PL ASSIGN POINTS, IF USEFUL
    Regards
    Vivek Sahni

  • Invoic01 cost center / posting key

    Hello gurus.
    We are implementing a new process which requires us to use inbound IDoc INVOIC01.  These invoices don't go against any purchase order or other pre-existing documents -- they're expense reports from our various employees.  I think I have everything setup correction but I'm having two issues:
    1) Posting keys:  In transaction F-43, we use posting key '31' for the first item and '40' for all others.  Where should this be in the IDoc?
    2) Cost center: Similar to posting keys.  We have a cost center on our inbound application for each line.  Where should this be in the IDoc to map properly?
    Thanks in advance for any help!!

    Ok, I figured out the cost center issue (thanks to OSS note [150120|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=150120]).  Now I just need to figure out how to handle the posting key.  I have setup transaction 'OBCE' but I'm still missing the first value (from first screen of transaction 'F-43' for example).
    Thanks in advance for any help!

  • Query relating to posting key

    hii all
    i am new in sap. I have a very basic question. my  question is when we post any transaction, how the system determine the posting key determine automatically?
    Suppose I am posting a customer invoice  through f-22. where system autumatically determine posting key 01 for invoice. my question is, in posting key 01(Invoice) debit indicator is set for the customer account type. where posting key 02 (reverse credit memo) is also belongs the same nature as posting key 01.
    My question is how the system determine the posting key 01 by default at the time of invoice creation. why not posting key 02 ? please eleborate
    Moderator: Unfortunately, basic questions are not allowed on this forum. Search before posting

    Try using  -RestrictToSingleComputer parameter when creating service account with New-ADServiceAccount.
    Gleb.
    Hi Gleb
    Thank you for your help, it is appreciated.  That did the trick.
    All the best.

  • Posting keys

    Hi,
    Iam asking for posting keys (40 and 50). How are there posting keys determined for GL account determined from VKOA.
    1 )I need to know if the system determines GL account xyz. how the system knows that xyz nneds to be debited through posting key 40 or xyz needs to be credited through posting key 50.
    can you pls tell me the config path for the posting keys and the integration with account determination.
    2) Is the debit(40) and credit (50) also dependent on the type of document. That is if we make an invoice , the system debits GL account xyz through 40 posting key as an example and if we make a credit note with ref to invoice  and use the same GL account xyz, the system uses the account key 50 and credits the gl account xyz. Is this the inerchange of posting key is done automatically or any config is required from FI side ?
    regds

    Hi,
    Check Transaction OBYC for MM side.
    Here  in this transaction a  for a particular transcation type : chart of account and account determination is assigned.
    if you check after chart of account the posting keys are also assgined.
    and enteries are made on valuation area and valuation class,
    Valuation class is assigned in Material master.
    Sales :
    ->Chart of accounts
    -> Sales organization
    ->Account assignment group for payer
    (This allows you to divide customers into different groups, such as domestic
    and overseas customers.)
    -> Account assignment group for material
    (This allows you to divide materials into different groups, such as services
    and retail goods.)
    -> Account key
    (Account keys are assigned to condition types in the pricing procedures, so
    that conditions, such as freight conditions, can be posted to special freight
    revenue accounts.)
    You must ensure that the configurations you make for account determination
    match the configurations in FI and CO.
    Account determination is carried out using the condition technique.
    Depending upon the billing type, an account determination procedure is assigned
    for G/L accounts.
    This determination procedure contains one or more condition types to which an
    access sequence is assigned.
    This access sequence is composed of individual accesses in the form of condition
    tables.
    The condition tables contain the fields and field combinations upon which revenue
    account determination depends.
    The key fields are filled with document data, so that the system can search for a
    corresponding G/L account for the relevant combination.
    If an access determines a G/L account, then it is set in the accounting document
    and the search is terminated.
    I hope this will help.
    Regards,
    Nisha

  • Special gl posting key

    Dear Forum,
    To post special gl transaction, why the normal posting key cannot be used? i mean the range of debit and credit posting key for vendor and customer.
    in fbkp, it is set to debit and credit to use what code and i see there is dedicated posting key meant for special gl posting.
    why normal posting key for vendor and customer cannot be used?
    thanks

    Hi,
    While defining the posting keys to special gl indicator we'll define the following as well.
    1. Whether this  gl indicator is related to noted items or not
    2. Transactions related to this indicator should consider for credit limit check or not.
    3. Commitment warnings-If you posted any down payments to particular vendor, system prompts when this advance amount when you post the invoice to this vendor.
    4. Special GL transactions type Down payment/Others/BOE.
    The above settings also consider for special gl indicator.
    And finally SAP delivered this posting keys especially for special gl items as standard.
    Rgds
    Murali. N

Maybe you are looking for

  • Need help in tuning a query

    Hi, I have the following query/report that takes hours to complete. Application version is 11.5.9 and database is on 9.2.0.6 {code} SELECT   c.inventory_location_id,             c.segment1          || '.'          || c.segment2          || '.'       

  • How to set the horisontal offset for a node relative its parent in JTree?

    When using large icons for nodes in a JTree the whole tree looks very compact. I found a method setRowHeight(int height) to set the row height that got med some space between the rows. But I couldn't find a simular method to increase the offset betwe

  • Cannot open file in Onenote client from within OneNote Web App

    I am facing a peculiar problem with One note. Environment: - SP2013 Enterprise with separate Office Web Apps server I can view/edit onenote files on OneNote web app without any issue but when I click "Open in OneNote" button, I get the error that "on

  • Create a Distribution Certificate as a p.12 file in Keychain Access not working?

    I need to create a Distribution Certificate as a p.12 file. I downloaded my ios_distribution.cer file from iOS Provisioning Portal/Certificates/Distribution/Download but this file will not install on my Keychain Access Certificates. Once installed I

  • How to add non English characters

    I install weblogic 10.3.3.0, SOA Suite 11.1.1.2, and SOA Suite 11.1.1.3 on Windows 2008 (English version). The Location of Regional and language option is set to local place. I also add non-Unicode. I can add new holiday rules using non English chara