Document Nr. of Material Document
Hi. This is question about Document Nr. of Material Document.
My customer plans to rollout his MM to several group companies.
And he wants to differenciate document number ranges per his each group companies.
However, from SAP's standard specification perspective,
document Nr. range of Material Document is not company code dependent.
And since its document number buffering is on, numbering gap can be happened.
I would like to know the background for this SAP's standard specification.
Could anyone explain me?
My assumtion is;
1)During the fiancial audit process, starting point is FI document.
And SAP FI document number range is company code dependent and ,
due to it does not allow document number buffering as a default,
numbering gap is not supposed to be happened.
And for this audit, since Material Document is support document of FI document,
its characteristics such as company code independent and existance of numbering gap are not issue.
Almost same to business audit process, staring point is PO and SO, then
Material Document is support document for PO and SO.
2)By buffering on for material document number range, it contributes to reduce processing time.
BR
Kimura
Hi,
You can not set different number range for your different company code as the number range is only defined at the client level against the material document type in std.
If you want diffreent number ranges then try with any development with the help of Technical team.
Similar Messages
-
Link to find Accounting document number from Material document number / PO
Hi
We are working on a custom report, in which we need to print purchasing details (from EKPO, EKKO & EKBE) as well as accounting details (from BSEG & BKPF). We need to hit BKPF/BSEG with the accounting document number, since it is the only key field (though PO number is there in BKPF, we can not use this because it is not a key field)
My question from which table we get the accounting document number ? We need to provide a link between purchasing & accounting through accounting document number, but how to find the accounting document number. ?
Thanks
Venkat.Venkat,
I guess you are trying to fetch Accouting Documents for goods receipt against PO.
To do this, you need to look at the PO History table (EKBE) and find out the Corresponding material document (VGABE = 1 for good receipt).
Get the value of BELNR and GJAHR.
Concatenate BELNR and GJAHR into your refernce key (like BKPF-AWKEY).
Then use this key to read table BKPF with the following key
AWTYP = 'MKPF' for Material document
AWKEY = reference key generated above.
AWSYS = the value of the logical system (if used) or blanks
This will get you quicker access as compared to what you've described below. In this case, the system uses a standard SAP Index "Index by application type and key" to fetch the relevant records.
Hope this helps. -
FI document amount of material documents of movement type 413
Hi
When I create a material document (413) transfer post from sales order stock to another sales order stock. SAP automatically generate a FI documents. So, my question is that the amount of FI document is how to be calculated?
thanks
HenryHi,
Please check below link which will provide solution for youe query. Thanking you.
How to get print out for MIGO doc with movement type 701, 702 and 551, 552 -
Display of FI document numbe and material document number
Hi,
I want to display both the material document number ( RBKP ) and the acccounting document number ( BSET ) together while posting the Invoice using MIRO transaction.
Pl provide with your valuable suggestions.
Regards,
R. Dillibabu.Hi Arif,
We wanted to generate a number during invoice verification based upon the order type of the PO, As you know it is not possible to generate a order specific material document number but it is possible to generate a order specific accounting document number provided we can select RE or ZE while processing invoice verification.
This accounting document number will be considered as a claim number for one of the customized business process ( Warranty Claim process ).
The user has to record the claim number on a daily basis. Currently it is being done by passig the RBKP-BELNR to the BKPF to get the accounting document number ( BELNR ) which is quite tedious.
Hope the business functionality is quite clear now.
Regards,
R. Dillibabu. -
Delivery document archived and material document has zero quantity
Hello Gurus,
This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008. Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
Is there any sap notes or any other way to fix this?
Please guide.
Regards
NileshNiles Raut wrote:
Hello Gurus,
>
> This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008. Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
>
> When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
>
> Is there any sap notes or any other way to fix this?
>
> Please guide.
>
> Regards
> Nilesh
Where is actually the problem, if one only reversed 0 quantity?
Why do you think you need to reverse this reversal again?
why with year 2010?
Dont you do anual inventories? Such stock counts have corrected your stock anyway. if you start cancelling older movements then you create stock inconsistencies again. -
Get Material Document Number and Material Document Year
Hi everyone,
Right now, i'm developed idoc program. I need material document number (MBLNR) and material document year (MJAHR). I have information only BAPI2017_GM_HEAD_01 and BAPI2017_GM_ITEM_CREATE. Is there any FM to get this value ? Thank you
Regards,
SatriaOk, i will explain with more detail about my problem
Here my pseudocode :
- Get data with type BAPI2017_GM_HEAD_01 from Idoc (let we say this X)
- Get data with type BAPI2017_GM_CODE from Idoc (let we say this Y)
- Get data with type BAPI2017_GM_ITEM_CREATE from IDoc (let we say this Z)
- IF Y-GM_CODE <> "06" THEN
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = X
GOODSMVT_CODE = Y
TABLES
GOODSMVT_ITEM = Z
ELSE IF Y-GM_CODE = "06" THEN
CALL FUNCTION 'BAPI_GOODSMVT_CANCEL'
EXPORTING
MATERIALDOCUMENT = ???
MATDOCUMENTYEAR = ???
GOODSMVT_PSTNG_DATE = ???
I know that material doc and mat doc year is in table MKPF. But the problem is they are the primary key, so how i use X,Y,Z in select operation to MKPF? or is there another way using FM ? Thank you
Regards,
Satria -
Reference Physical Inventory document number in Material document
Dear Experts ,
Where in material document posted through PI can i find the refernce PI document aginst which the postings have beend done .
Regards
AnisHi,
Try this report-s_p00_07000139 ,may be useful for the same,select the required field from layout.
Please confirm.
Regards,
Sandesh Sawant -
Modifying accounting document linked to material document in MB1B
Hi Everyone,
While doing transfer posting in MB1B with movement type 453 there is an accounting document generated.
The requirement is to split this accouting document to have accounting entry as :
Inventory G/L Dr (100%)
COGS G/L Cr (70 %)
Specific Reserve G/L Cr (30%)
Also need to check on the profit center determined in this accounting document to have a user defined logic for this determination.
If you have worked on or seen any such enhancement, requrest you to share how it was achieved- Customer Exits, BADIs, BTEs,or something else.
Thanks,
HemantHi Sai,
This movement (453)is done to take back the customer returned parts into the inventory and hence involves accounting entry.
The scenario involves customer service. Instead of crediting the COGS G/L completely, part of it needs to be credited as service reserves. Hence lets say inventory is going up by $ 100 upon reciept of the material the balancing credit needs to be posted to two G/L accounts with a proportation let say 70 :30. With that $ 70 should go to COGS G/L and $ 30 should hit service reserves.
Secondly the profit center determination in standard SAP is based on Plant/Material combination. It is required to populate this profiit center with a custom logic.
Hope this explains the functional requirement.
Thanks,
Hemant -
How to find the related PI document from a material document
Dear All experts,
If I know the materil document number, how to find the related PI document?
Thanks!
XinlingHello Xinling,
You can extract the details from table MSEG.
Regards
Kalpana -
How to Print a material document .
How to Print a material document . W#hat all configs/settings do i have to make .
I did the following ....
1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for GI/Transfer Posting Documents
5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the foll:
a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Tr medium is 1
b. Print Parameter is 7
6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Pr Det by Pl/StoLoc, maintain the Output device for all your Plants
7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
Now the settings are ready for Printing Material doc
8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
Then i went to MB90 and did the following ...
n MB90 output type is maintained as WE01
Transmission medium as 1
sort order as 01
procesing mode as 1
Material document year 2009
Material document 50xxxxxxxx
Excecute
system says
No messages for initial processing exist
Message no. VN108
Then i select the print icon
enter the output device
press enter
System throws a message " Formatting set to 'X_65_80'"
Sysytem comes to Spool request : Information screen
When i display spool request
The system says list contains no data .
What is missing??
Pls let me know ..
Regards
Anis
RegardsHi Anis,
For step - 4
4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain
Print Indicator for GI/Transfer Posting Documents
As your posting a GR, you need to maintain the settings in :
SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for Goods Receipt Documents
for 101 movement as 1.
Now post GR & go to MB03, select your document & check in messages tab if the message is generated.
Check & revert.
Regards,
Vivek -
Material document 4900000006 does not include an accounting document
Hi guys
I created normal sales order, delivery and and released it thr VF01.
Then I created the RE document without order reference and PGR. But while checking the accounting documents in VL02N it gives the error as follows
Material document 4900000006 does not include an accounting document
Diagnosis
The system cannot find an accounting document for the material document 4900000006.
Possible reasons for this are:
The goods movement has no relevance to accounting. Therefore, the system did not generate an accounting document for the material document.
The material document is a document that was posted before Release 2.1. Such documents must be converted so that the system can find the relevant accounting document.
The procedure for the subsequent calculation of value is not active in your system. For further information, refer to the documentation on the program for valuating goods movements: RM07MWBU.
Procedure
Choose Continue and then choose another function.
Find out when the material document was created. If the document was created prior to the Release changeover, ask your system administrator to carry out the conversion of the documents. The individual steps required for document conversion are described in the Release Notes for Release 2.1B
Please give me the solution
Thanks in advance
RahulHi Rahul,
Can you tell me how did you resolve this error indetail or step by step? I have a same error in test client. I am doing returns with stock catergory of E while PGI and then it throws error message.
Material document 4900000006 does not include an accounting document
Diagnosis
The system cannot find an accounting document for the material document 4900000006.
Possible reasons for this are:
The goods movement has no relevance to accounting. Therefore, the system did not generate an accounting document for the material document.
The material document is a document that was posted before Release 2.1. Such documents must be converted so that the system can find the relevant accounting document.
The procedure for the subsequent calculation of value is not active in your system. For further information, refer to the documentation on the program for valuating goods movements: RM07MWBU.
Procedure
Choose Continue and then choose another function.
Find out when the material document was created. If the document was created prior to the Release changeover, ask your system administrator to carry out the conversion of the documents. The individual steps required for document conversion are described in the Release Notes for Release 2.1B
regards
rc gopi -
Creation of material document number.
Hi All,
In the MIGO transaction, for a Goods receipt order, the transaction is calling MB_CREATE_GOODS_MOVEMENT and MB_POST_GOODS_MOVEMENT to create a material document and returns material document number.
I have created a new program that is using only the above two FMs and want to create the material document. But this thing is not working.
I am passing all the parameters, which the FM takes when called from MIGO transaction. It is giving me a material document number which is not tracable for the current posting data in any of the tables.
Also please tell me in which table can I get the details for the material document number other than AUFM and MSEG.
help will be rewarded.
regards.problem solved by myselves.
by using popup to inform function module i am able to throw error message
Edited by: Janagar Sundaramoorthy Nadar on Nov 19, 2009 7:01 PM -
Need help abt Purchase order and material document number
1)Is there any releation ship between Purchse order number and material document number?
2) I found aBAPI to get the goods receipt details. That is BAPI_GOODSMVT_GETDETAIL. But it is excepting Material document number and material document year as input parameters.Is there any BAPI to get goods receipt details by using purchase order number?hi kiran
check this thraed. this gives you relatinship between Purchse order number and material document number
Retrieving Accounting Document number based on PO numbers
BAPI to get goods receipt details by using purchase order number is
BAPI_GOODSMVT_CREATE
thanks
Sachin -
Billing Document and Material Document number and Date (Goods Issue)
Dear Experts,
Is there a way I can find the relationship between a billing document and a material document number and Goods issue date?
ThanksHi Abid
Is there a way I can find the relationship between a billing document and a material document number and Goods issue date?
You have to follow the flow from the billing document to the material document. This will only work if the billing document comes from a delivery note.
Billing document => Delivery
LIPS-VBELN = VBRP-VGBEL
and LIPS-POSNR-VBRP-VGPOS
So you have LIPS + LIKP with the LIKP-WADAT_IST as the goods issue date.
Delivery => Material Document Number
You can use the table VBFA with the delivery item as the preceding document number (VBFA-VBELV) and item (VBFA-POSNV) ; you will also have to define the preceding document type as J (delivery) and the document category of subsequent document as R (material document).
Because in SAP nothing is simple, there might more than one material document, because the goods issue (601) movement might have been canceled and issue again. So you will have to decide what to do in that case.
Best Regards,
Franck -
Function Module to get Material Document Number
Hi All,
I want to get the Material Document Number based on the Material, batch ,movement type and plant. Is there any function module to achieve this, without going to MSEG table.check this might help you..
Get Material Document Number and Material Document Year
Regards
Kumar
Maybe you are looking for
-
OBIEE 11g - How to create clean looking pivot tables
Hi, does anyone have a good way to clean up the appearance of pivot tables in OBIEE 11g? I'm a big fan of Stephen Few and firmly believe in the "minimize non-data ink" theory. Unfortunately, there seems to be a lot of stuff on OBIEE pivots that I can
-
Importing text file with variable spaces
Hi all I have a text file with a varying amount of spaces in it. Typical output from the file is attached. How can I separate the values into separate columns please? Thanks in advance.
-
I deleted some data to free up icloud and it still says full what can i do?
i have a 4s and my screen cracked i am goin to the apple store to get another phone but my icloud stated its almost full, i had a replacement phone since march and the backup was last 3/27/13 along with the new phone but my current phone has not been
-
Need help with HTTP keep-alive
Hi folks! I have this very simple web server and I would like to add keep-alive support. I've been trying to get my head around it for a while and could need some help (I found this question in the archive, but those replies didn't help)... This is m
-
iTunes 10.5.2 will not download on my Dell Latitude D620. Receiving error code 2330. I have tried over 10 times, both automatically & manually. Any suggestions?