Validation for accounting document during MIGO
Hello experts,
I would like to force the user to choose document type: FR while trying to post a credit memo via MIGO.
How can I do it ?
Thanks a lot.
Hi, sorry, I wrote for miro.
But for migo you can use badi MB_MIGO_BADI, method CHECK_HEADER.
Also you can try ob28, but the main problem is how to know movement type.
And 'post a credit memo via MIGO' - you mean move type 102?
Similar Messages
-
Sync of Material document and accounting document during MIGO
Hi Friends,
Can we synchronize the Document numbers between Material document (WE) for GR (101) and Accounting documents created for the MIGO transaction????
We have 50 is assigned to WE. But, we have a gap in numbers of Material document number and Accounting document numbers??? though the document type WE is common for both.
I have seen that "Buffer" is the culprit. But, not sure how to fix that.
Appreciate your help in this regard.
Dev.When the document type is same (WE) for both, how come the accounting doc has continuous numbers and Material doc has breaks ( from buffer)????
document type WE is same for GR for material document and accounting docu but number range are stored diffrentely.
OMBT is where u store the number range for material document
and this number range is assigned to group of materia doc we wf wo ww
OMBA is where u create diffrent number range for accounting document hear U assign WE to ur transaction code and in turn WE is assigned a number range what is created in OMBA, this number range is nothing to do with number range u have created in OMBT.
when ever u post the docunemt in system
SAp hav efixed the document type for GR that is WE
it goes in OMBA in the group of Material documents for goods receipts
check what is the year and number range assigned and current number so it assignes this number first
than it go to OMBA cheks what is the Tcode u are using and what is document type u have assigned to that tcode and it can be any WE or what ever u have assigned to that tcode
taking that doc type it goes and see what Number range is assigned say 50 and then checks company code and year for this 50 and get the number for accounting doc
so i think its is clear that material and account are 2 diffrent ranges
skiping of numbers might be due to buffer
also go throught following post it will be helpfull
GR NO SEQUENCE - MISMATCH
hope this helps -
Accounting document during MIGO or MIRO
hi
all an accounting document is generated ,when it is generated during MIRO or MIGO ?
can we able to view these in MB51 ?
Regards
Leo Thilak.MSHi,
While posting stock posting movement in MIGO - accounting document has generated .
You can view the material document in t.code MB51 - Material document for a material
MR51- Accounting document for a material
MBAL -Archieved material document
MBSM-Cancelled Material document
MB03- Material document list
MIRO- accounting document posting
All the stock update in your plant accounting document has generated except 101K, 541, etc
FB03 - There choose List option, you can view the accounting document for the MIRO posting by select document type RE-Invoice
Fiscal year, Material etc
Thanks,
Thiru
Edited by: thiru on Jan 18, 2011 11:33 AM -
BADI/EXIT for MIGO for accounting document posting
Hi
I am using MIGO where SAP post Mat Document and Accountying document.
This Uses FM 'MB_POST_GOODS_MOVEMENT < Include LMIGOKG1>, once this FM executed both MKPF and BKPF data gets filled . I can see tha data for MKPF in debug but I am not able to see data for Accounting Document.Even I cant see the Acc. document no assigned by SAP
I need to change some fieds for Acc. Document <BSEG-VBUND>
Can any one help me to find in which structure or table I can get data for Accounting documentam using the method POST_DOCUMENT,
am writing the code like..
sample code..
DATA: wa_mseg type mseg,
wa_mch1 type mch1,
wa_ausp type ausp.
loop at it_mseg into wa_mseg.
*select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
and charg = wa_mseg-charg.
if sy-subrc is initial.
*select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
and klart = '023'.
if sy-subrc is initial.
if wa_ausp-atwrt EQ 'ACCEPTED'.
continue.
else.
if wa_ausp-atwrt EQ 'REJECTED'.
call function 'popup_to_display_text'.
endif.
endif.
endif.
endif.
endloop.
when i debug ,i find no data in the mch1 table ..
any help..
thanx -
Revision: 10441
Author: [email protected]
Date: 2009-09-20 16:23:43 -0700 (Sun, 20 Sep 2009)
Log Message:
Add support for strict validation of VAST documents during parsing.
Modified Paths:
osmf/trunk/libs/VAST/org/openvideoplayer/vast/parser/VASTParser.as
osmf/trunk/libs/VASTTest/org/openvideoplayer/vast/parser/TestVASTParser.asHi, everything in the "Quick Reference" section should be commented out with ;
You should change those settings further down in the php.ini file.
Example:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
Last edited by adrianx (2013-07-26 12:32:02) -
Addition of G/L items in Accounting Document during creationof Material Doc
Hi All
I am looking for User exit or BADI that allows me to add additional G/L line items (offsets) in Accounting Document during creation of Material Document. I wish to do this when I save Material document in MIGO, MB01 or MIRO.
Has anyone done this before? Is there any user exit, badi or function module to do this. Please share insight on this situation.
Thanks in advance
SunnyHi,
check out BADI MB_DOCUMENT_BADI this would trigger before and during update task while posting Material documents i think you can ful fill your requirement with this.
Regards,
Himanshu -
Hi,
When we are seeing the accounting document in migo (display mode) or FB03, it shows the entries line item wise. If there are 100 items in a PO along with other po conditions where migo is done, then it is vary difficult to analyise.
Is any way to bring this into consolidated form rather than line item wise?
regardsHello Neeru,
I am not sure if this will help but you can utilize the FS10N and FBL3N to review the account line item in a more consolidated form. The assignment field on the layout can sometimes store the purchasing document number along with line item if you want to try to consolidate/group line items together. If your accounts are not set to open item managed (e.g. inventory), then these reports would not suffice. Then you are left with viewing the data within the FB03 but still have the option to pull in more fields on your layout for analysis. -
Consignment Fill up vallid for accounting document
Hello,
I want to create accounting document during Goods issue in Consignmentt Fill up.
Actually We want to bill customer at time of consignment fill up.
Please suggest for required settings for the same.
Regards
AmitDear Amit
Conceptually and Practically also consignment fill up order is not supported with commercial billing and when the consigement fill up stocks move out of a manufacturing plant to make excise invoice we create proforma invoice in consignment fill up and proforma invoice doesnot update or impact accounting
Hope this clarifies your doubt
If you sell a customer a material A on consignment fill up say 100 units that means you are keeping your valuated stocks at his premises thinking that he will use that and so that we can make sale
This is consignment fill up no commercial invoice the ownnership belongs to us
If he takes 50 units out of this then it is Consignment issue this is supported by commercial billing as we make a sale here
The balance 50 units is taken thro Consignment pickup again there is no commercial billing here as we take back our stocks only no sale
Suppose after some time the customer returns 5 units which was sold thro Consignment issue then it is Consignment returns which is supported with commercial billing as we give credit memo for that 5 units
Regards
Raja -
MV50AFZ1 - Change Accounting Document During PGI
Using MV50AFZ1 User - Exit ,can i change accounting document during PGI.I want to change the Business Area.
If not ,please tell me which User Exit can help me in this.
Thanx,
ViruHi
business add-in LE_SHP_GOODSMOVEMENT for ur requirement
Discuss with the abaper and proceed according to ur requirement and be very specific so that it should not influence the others.
This badi during processing of PGI u can change the data related to accounting document.According to ur requirement the business area can be changed during PGI.
Edited by: sameer basha on Mar 25, 2009 7:41 AM -
Table for Accounting Document of Invoice Document
Dear All,
We have accounting doc. table of material document as BKPF(HEADER) & BSEG(ITEM).
In the same way, can any one share, whats the accounting doc table for Invoice/MIRO??
Regards
Mahesh
ReHi Dear
actually what table you have mentioned in your thread that table is for Accounting document, it doesn't matter whether the accounting document is created during good receipt or Invoice receipt
hence BKPF and BSEG is accounting table for invoice as well
Thanks -
Exit/Badi for Accounting Document
Dear Friends
Is there any user exit/BADI for accounting document. My requirement is quite simple which you would also faced in many implimentation. Client wants number ranges business area/plantwise. I was just thinking as plant/business area is a line item field it may be little difficult to have different number range controll at that level, so I thought we could use user id as the import parameter. But these is possible once I get any user exit/badi for number range change. We dont want to create so many document type also.
Thanks and Regards
Pankaj GuptaHi Marta,
Check these notes
SAP Note 1259505 - FAQ: New cancellation procedure in SD,
SAP Note 400000 - FAQ: Transaction VF11: Cancellation of SD billing documents
See with attention note 1259505 question 4. It says
Most of the userexits in the SD-FI interface (see note 301077) will not be
performed.
So, try to do it with BTE's
Sorry, try with USEREXIT_PRICING_COPY in program RV61AFZA.
I hope this helps you
Regards
Eduardo
Edited by: E_Hinojosa on Nov 21, 2011 9:15 AM -
Change profit center for accounting document on item line
HI
I need to change profit center for accounting document on item line, for that purpose I have used user-exit EXIT_SAPLV60B_004, but my new profit center gets latly overwritten in FM CO_DOCUMENT_CHECK (which is called from FM AC_DOCUMENT_CREATE). It gets overwritten from COBL. Is there any way to solve this?HI,
possible reasons are :
In GR document profit center pulled from PO Material :
If you have ordered with material code, must check profit center assigned into material by mm03/Plant Data2
If you have ordered without material code, than check cost center assigned Profit center by 1KE4 -
BAPI for Accounting Document Posting
What is the name of BAPI for Accounting Document Posting and how can I run it?
Hi ,
Can you send me the code how to use the BAPI_ACC_DOCUMENT_POST.
Regards,
L Srikanthan. -
When does incompleteness of foreign trade matters for accounting document?
Hi,
When creating billing from an SO without delivery, the accounting document is created even though foreign trade data is incomplete.
While when creating billing from a delivery, the accounting document is not created since foreign trade data is incomplete.
My question is, When does incompleteness of foreign trade matters for accounting document?
Please advice.
Thanks!Hi,
I donu2019t have an exact answer but I take a guess that, when creating billing from a delivery, the accounting document is not created since foreign trade data is incomplete - it might be because the necessary information for delivery is not maintained, for instance mode of transport for Foreign Trade, Domestic mode of transport (you can see them in billing doc u2013 header u2013 foreign trade/customs) most of the data maintained in material master.
Whereas for order related billing, these data might not be necessary as it has no delivery.
Note: This is just a guess.
Also take a look at the below link. It might be useful for you.
Re: foreign data incomplete appearing after deactivating
Good luck
Sats. -
No. range for accounting document
Hi Friends,
I want to assign a new no. range for the accounting document. Can you tell how can I do this.
Regards,
Wasim.Dear Check below transaction for accounting document types and defining number ranges as per document type and period.
OMBA-Document types
OBF4-Change document types
FBN1-define number ranges
SNRO - Object type number ranges
Cheers
KK
Maybe you are looking for
-
Partial footage/black screen when replacing footage in PPro CS5
Let's see if I can get all the relevant info down here. Started off with a project in PPro CS5; using two source files (one an MP4 from a Flip cam - not the footage I am having an issue with) the other a direct-stream feed from a 3D application, conv
-
I have to press so many times the home button
Trouble in Home button. I have to press more then one time to work
-
After 4.2 upgrade iPad keyboard not working where it used to
Before installing 4.2.1 on my iPad I was able to go online and play soduku on the Times website Now I cannot get the keyboard to appear I did download the Times app, it was complementary with my subscription, that doesn't seem to have soduku in it. W
-
Moving proxy implementation to Production
Hi Can anyone tell me the best way of moving proxy implementation from dev/test to production system? Is there any sequence while exporting SLD objects, IR/ID objects and abap objects from dev/test to production environments? How will production XI b
-
If I unplug my time capsule will I lose data?
want to hide the time capsule before leaving home for a few days. Hard to hide it when it's plugged in and running. If I unplug it, do I lose data, and how difficult is it to start back up?