BAPI_ACC_INVOICE_RECEIPT_POST, Accounting Documents grouped?
Hi there,
Hope I'm posting this in the right place. There is a custom program which reads the file from AL11 and then uses BAPI_ACC_INVOICE_RECEIPT_POST to create the invoices.
It's creating the invoices but when we view them at tcode KSB1, the drill down of the accounting documents are wrong.
Normally a drill down will be a single Accounting Document, Cost Center and etc right? but I'm able to view ALL the accounting documents created.
Is it configuration or the program error?
Thanks for the advice.
Answered in another post. Thanks.
BAsically I just removed entries from OBJ_TYPE, OBJ_KEY and OBJ_SYS
Similar Messages
-
Sales group not filled form sales order header in PGI accounting Document
Hi all,
we are creating a sales order . when sold to and ship to is entered the sales group at the header level is fetched from the customer master automatically.
Now after changing the sales group,different from customer master,the sales order got saved as usual with a warning mesaage 'sales group is diiferent from customer master'.
After doing PGI and billing , the sales group fetched in billing document is same as that of sales order header,but when good issue delievry document is displayed , in accounting document of the material document (ie. in FB03),the sales group in profit segment tab is getting filled from customer master.
Now the requirement is to fetch the sales group from sales order header instead of customer master.hi
check your copy control settings and change if required -
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,
ARif 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 -
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,
NarayanHi 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 -
Need to find out the account group given the accounting document number
I am new to SAP. Please help.
Need to find out the account group given the accounting document number?If you are asking about account assignment group then that can be seen in billing document -> Header -> Accounting Data.
-
G/L account determination through material account assignment group
Hi ,
I would really appreciate any help on this . The scenario is .
We changed the account assignment group of maetrial to 01 just 2 days back.
We have old open sales order line up for this particular material . When I am trying to Bill these open orders , the system is not recognizing the account assignment grp change which happened 2 days back ,because of which I am getting a A/C determination error .
This is a I/C order and we have PO linked to it. I am suggesting to back out everything (Do Invoice reversal,MIGO cancellation,PO cancellation , then cancel invoice ,delivery and sales order ) so that we can create a new cycle and the system will recognize the account assignment grp change and determines the G/L whwn it comes to acounting .
1. Is this the right way
2. Is there any other way by which I can make the accounting happen
It was very obvoius that when I see the account determination analysis ,the system wasn't able to find the account assignment grp for the material .
Thanks
SridharDear Sridhar
First of all, I dont think, you will be able to change the Account Assignment Group of a material in sale order if any subsequent document is generated bcoz the said field will become uneditable. Moreover, via MASS, this is not possible as the field name of Account Assignment Group for material (KTGRM) is not available in MASS.
So the other option is via MASS, you can assign Reason for Rejection for existing orders. To assign Reason for Rejection in bulk is run T.Code MASS, input [BUS2032] as Object Type and execute. There block he Sales Order Item Data and click on Fields and block the field MASSVBAP-ABGRU and execute. Input the sale orders if possible otherwise leave it blank and once again execute. Now you can assign Reason for Rejection in mass.
Meanwhile, you have to create new orders for all those open items.
thanks
G. Lakshmipathi -
Link between Material Document number & Accounting document number
Hi All,
For material document there is a corresponding accounting document number generated.However this is not the rule in all cases.
Where is the link between the two(Material Document & Accounting Document) ?
In other words i want to list those material documents only, for which accounting documents are generated.
Regards
Piyush KothariSTEP 1
SAP query way to extract your information.
Create an infoset SQ02 with a single table MKPF. (include key fields in the field group)
Step 2
From Extras
Create an additional field called zawkey (like bkpf-belnr) which will concatenate the MM document number MKPF-MBLNR and MKPF_MJAHR. The sequencing shall be number 1.
You may use this code below and paste also (this needs authorization as well)
data: zzawkey like bkpf-awkey.
clear: zawkey, zzawkey.
concatenate mkpf-mblnr mkpf-mjahr into zzawkey.
zawkey = zzawkey.
Add another field called ACCDOCNO (accounting documnet number) with sequencing number 2 with following code.
data: zaccdocno like bkpf-belnr..
clear: zaccdocno, accdocno.
select belnr from bkpf into zaccdocno where
bukrs = ccode and
GJAHR = MKPF-MJAHR and
awkey = zawkey.
endselect.
accdocno = zaccdocno.
Step 3
Include the additional fields into the field group.
Step 4
Click on the selection tab and create a parameter called ccode with a description Company Code and against
LIKE BKPF-BUKRS
Extras OBLIGATORY
Step 5
Click on the selection tab and create a seelction criteria pdate with a description Posting Date for the field MKPF-BUDAT
Extras OBLIGATORY
Step 6
Save, Generate and assign the infoset to a user group.
Step 6
Create a SQ01 query under the usergroup with all the fields in the infoset. and Execute. Enter a company code and one date of a working day where you expect material transactions.
The result will be all the material documents and their corresponding accounting documents, if available. If you want to see only those material document that do not have corrsponding accounting documnet, then while you are in the selection screen say accounting document number is not equal to blank. -
Hi Experts,
We have created few new account assignment groups as per our customer requirement.....now if we want to update those new AAG for the already created documents like open sales order,sale order with delivery & open billing,how to proceed with that?.....any transctions do we have to execute this?.........Looking forward for your reply..........
Regards,
S.KumarHi,
You can change the account assignment group in completely open orders via tcode "MASS" by selecting object type BUS2032.
since the account assignment group will be picked from sales order, need not to be changed in open delivery or billing.
Also for partial processed order would advise pls do not change the account assignment group. Another option could be to close the open orders and creat equivalent qty new order with correct account assignment group.
Pls check & revert.
Regards
Sanjay -
Text in accounting document posted against Excise invoice
Hi,
We have a requirement that the accounting document posted against excise invoice ( J1IEX) should display a text ( Vendor name and PO No.).
We have tried entering the text at the time of capture and posting the excise invoice.But this does not reflect in the accounting document text field.
However we can maintain the same afterwards from transaction FAGLL03.
Is there any option that we can maintain the same at the time of capturing and posting the excise invoice.
Also,if I think of defaulting the same ( Vendor name and Po no) is ther any user exit OR BAPI.
Rajeshhi
yes is their in this go to spro->img->Logistics - General->Tax on Goods Movements->India->Basic Settings->Maintain Excise Groups
in this for your excise group in *migo settings please put the tick mark in post ei in migo the at the time of migo only the excise invoice will be posted. no need of doing the ji1ex here.
Thanking you -
Link between Accounting Document and Sales Order
Dear SD Gurus,
How to find the Sales Order number and Sales Order Item from the accounting document- like document types DZ, DG, ID etc.
Kindly specify the table links and fields to fetch the above details
Regards
VimalLink Between SAP SD, MM & FI
The link between SD and MM :-
1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
2. MRP and availibility check related data is also taken from MM although you control this data in SD also.
3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
There are many such links between SD and MM.
Now the link between SD and FI :-
1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
SD Integration points with other modules
SD module is highly integrated with the other modules in SAP.
Sales Order
Integration Points Module
Availability Check - MM
Credit Check - FI
Costing - CO/ MM
Tax Determination - FI
Transfer of Requirements - PP/ MM
Delivery & Goods Issue
Integration Points Module
Availability Check - MM
Credit Check - FI
Reduces stock - MM
Reduces Inventory $ - FI/ CO
Requirement Eliminated - PP/ MM
Billing -
Integration Points Module
Debit A/R - FI/ CO
Credit Revenue - FI/ CO
Updates G/ L - FI/ CO
(Tax, discounts, surcharges, etc.)
Milestone Billing - PS
Return Delivery & Credit Memo -
Integration Points Module
Increases Inventory - MM
Updates G/ L - FI
Credit Memo - FI
Adjustment to A/R - FI
Reduces Revenue - FI
SD Transaction Code Flow:
Inquiry / Document type IN
Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
Quotation / QT
Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
Purchase Order PO
Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
Sales Order OR
Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
Delivery LF
Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
Billing F2
Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
<b>The SD & FI link is established through mapping of appropriate G/L accounts through T.Code: VKOA</b>
Regards,
Rajesh Banka
Reward suitable points.
How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread). -
Accounting documents are not posted for Excise invoice
Hi,
1. The Excise invoice has been created with reference to F2 invoice but the accounting documents is not posted for excise invoice, what is the settings needs tobe maintained to post the accounting entries to excise invoice..?
2. where we will maintain number ranges for excise invoice..?
Thanks
Rao..hi
1. The Excise invoice has been created with reference to F2 invoice but the accounting documents is not posted for excise invoice, what is the settings needs tobe maintained to post the accounting entries to excise invoice..?
Not sure but can u try to relese this to accounting
2. where we will maintain number ranges for excise invoice..?
Excise invoice number range is depend on Excise series group.
T-Code : SNRO
Following is the No. Range Objects related to Excise, select the proper no. range object as per your requirement.
J_1I57FC - 57FC Number Range
J_1IARE1 - ARE1 Doc No object based on Series Group
J_1IARE3 - ARE3 Doc No object based on Series Group
J_1IBOND - Excise Bonding: Bond number object
J_1ICERT - Withholding Tax Certificates (India)
J_1ICHLNNO - Internal number range for challans
J_1ICONPLA - Consolidated PLA serial no. generation
J_1IDEPINV - Excise Invoice Number for Depot Invoices
J_1IEXCEXP - Export excise invoice number range
J_1IEXCINV - Excise invoice number
J_1IEXCLOC - Local excise invoice numebr range
J_1IEXCTST - Excise invoice with intervals
J_1IEXINEX - Excise invoice number for export
J_1IINTNUM - Internally document number to be generated
J_1IINTPR2 - Despatch serial number
J_1ILIC - Excise Bonding: License number object
J_1IPLA2 - PLA part II number range object
J_1IRG1 - RG1 Number range object
J_1IRG1_T - No. Range for RG1 - Excise group / Material
J_1IRG23A1 - RG23A part 1 no. range object
J_1IRG23A2 - RG23A part II number range object
J_1IRG23C1 - RG23C part I number range object
J_1IRG23C2 - RG23C part II number range object
J_1IRG23D - Folio Numbers for RG 23D
Check the link
Re: Excise Invoice Number Range
excise invoice and domestic invoice sharing same number range -
Accounting document not generating for excise invoice.
Dear all ,
my issue is
accounting document not generating for excise invoice
we are creating accounting document in J1iin
with refferance to billing document but the accounting docuemnt is not generating
the accounting document for billing document is generated
so why the accounting document for excise invoice is not genrating its showing the correct amount in BED ,cee and HE Secc.
please help
regards
SubratIMG -> In Logistics u2013 General -> Tax on Goods Movement -> India -> Account Determination -> Specify Excise Accounts per Excise Transaction
Check if the following is maintained or not
DLFC CR Credit PLAAED PLA AED account
DLFC CR Credit PLAAT1 PLA AT1 Account
DLFC CR Credit PLABED PLA BED account
DLFC CR Credit PLACESS PLA cess account
DLFC CR Credit PLAECS PLA ECS Account
DLFC CR Credit PLASED PLA SED account
DLFC CR Credit RG23AED RG 23 AED account
DLFC CR Credit RG23AT1 RG 23 AT1 Account
DLFC CR Credit RG23BED RG 23 BED account
DLFC CR Credit RG23ECS RG 23 ECS Account
DLFC CR Credit RG23SED RG 23 SED account
DLFC DR Debit MSUSP CENVAT suspense account
Also IMG -> In Logistics u2013 General -> Tax on Goods Movement -> India -> Account Determination -> Specify G/L Accounts per Excise Transaction
Check if for all Excise group u2013 DLFC u2013 Company Code combination GLs are maintained or not (especially in production client) -
How to grey out the Account Assignment Group Fld in Billing Doc Line Item
Hi SD Guru's
I have a small doubt.
I have maintained account assignment group in material master. Now when i create an order , the account assignment group gets picked from material master into this sales order.
Now i go to VF01 for doing the invoicing.
Now i can still go to billing document line item against the material and change its account assignment group before raising the invoice. When i change this field, i can still post to accounts.
I want to know is there any way in which we can restrict the way in which this field is greyed out and is made non-editable, so that only correct entries with account assignment group maintained in material master are posted.
Answers will be appreciated.
Kind Regards
RaviHi,
Sandeep can you please give me step by step process of using SHD0 in this case.
Now if i apply this to transaction VF01 and VF02, would it apply for all billing document types? I dont want that, i want it to work for a specific billing type
Kind Regards
Ravi -
No Accounting Document generated for goods issue in case of MTO scenario
Hi all,
I have MTO scenario & the industry is trading. So I have all trading goods. In SPRO - Sales & Distribution - Availability Check and Transfer of Requirements - Transfer of Requirements - Determination Of Requirement Types Using Transaction I have determined requirement type as KE.
In material master I have used strategy group as 20 for Make to order scenario. In the settings "Determination Of Requirement Types Using Transaction" I have determined the requirement type as "KE".
The requirement type "KE" determines a requirement class "040 - MkToOrdNoValW/o cons". Here the account assignment category is "E-Ind. cust. w. KD-CO".
Now I created a sales order, the system determined the requirement type as "KE". I saved the sales order, assigned the stock to the sales order & created a delivery.
I did the PGI also. But when I check in the document flow, for the material document the system has not generated any FI document where we see the accounting document for the "cost of goods sold" & "inventory" G/L accounts. The system gives a message "Material document 4900000023 does not include an accounting document".
Note:
1. When I create the sales order with normal MTS scenario, the system creates an accounting document for the material document at the time of goods issue.
2. The valuation class in the material is 3100 for trading goods.
3. The following settings have been made in OBYC.
for GBB, the G/L accounts have been assigned for general modifier "BSA", "VAX", "VAY" & "VKA".
Please suggest me as to where i am missing any settings.
With best regards,
Niyaz Sayyed.Dear Niyaz Sayyed
You need to check in the following areas:-
- check whether the material is defined as non-valuated stock
- go to OME9, select your Account Assignment and see whether you have checked the box "GR non-valuated". It should not have been checked
thanks
G. Lakshmipathi -
No accounting document for 561E via MB1C and MIGO
Dear All
We are in MTO Scenario.
we are trying to post initial stock against sales order through MB1C VIA 561E movement.
the material document is not having an accounting document.
Please help out.
I've checked all setting as follows:
1.) [OMJJ]
for Account grouping-561E - val update-qty update-val string(WA01)-Cn(2)-GBB-BSA
Account grouping-561E -val update-qty update-val string(WA01)-Cn(2)-PRD-PRA
2.)[OMJJ]
Update control / WM movement types
val qty
561 - - E In.ent.st.bal:slsOrd
561 - - E E In.ent.st.bal:slsOrd
561 - -/ E In.ent.st.bal:slsOrd
561 - -/ E E In.ent.st.bal:slsOrd
561 -/ -/ E In.ent.st.bal:slsOrd
561 -/ -/ E E In.ent.st.bal:slsOrd
3.)Logistics - General>Material Master>Basic Settings>Material Types>Define Attributes of Material Types
-->FERT Finished Product
-->Quantity/value updating
qty val
1001 FERT -/ -/
4.) [OME9] settings
for account assign cat 'E' account modifier 'VKA'
5.) [OBYC]
for GBB-BSA- chart of a/c-val class-G/L accounts
PRD-PRA- chart of a/c-val class-G/L accounts
are done and OK.
still we are not able to generate accounting document for initial posting via [MB1C]
WE HAVE EVEN TRIED TO POST VIA [MIGO], there also no accounting.
hence, we are also not able to get accounting doc for PGI via 601.
Please suggest me a solution at the earlist, I will be glad for the same.
N.B:- if posting through 561, it is ok.
Regards
MaheshoeMaybe your SO special stock is not valuated that's why you won't get the accounting document.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/4d/2b92b743ad11d189410000e829fbbd/frameset.htm
You can manage valuated or non-valuated sales order stock.
Edited by: Csaba Szommer on Mar 6, 2010 2:02 PM
Maybe you are looking for
-
Reporting action with a parameter
Hi, I am having an issue setting up a reporting action with a parameter. The report I am trying open is non-cube based database report. I tried a few syntax variations for the parameter value such as: UrlEscapeFragment( [Dimension].[Attribute].Curren
-
Sort in Report not working correctly
I have a report with many sorts selected as an option within the reports attributes. However, some of the columns does not seem to be sorting at all when Selected (Others do as expected) For example one column is a VARCHAR2 examples of values within
-
How to get the Component id (HTMLB id)
Hi all, I created an application that has two list boxes and one commend button. While clicking the button I need to know how many list items in the list box. Is this possible? Anybody can guide me for this. Helpful answer will appreciate. Thanks & R
-
Hello! I recently finished a project in iMovie and I sent it to iDVD. When I preview the movie in both apps, the video is crystal clear. But when I burn it to a DVD, the video looks terrible. It is pixelated, and dark areas are blocky. Would buring t
-
Help me- Challenging Task......
We Have a requirement like this. Consider P2P Cycle. In one Operating unit Purchasing Operations. Other Operating Unit Payables Operations.(Head Quarters) We dont have VPN connection we have 2 servers,Purchasing server(Lets say server1) and other wil