Copy mvt 561W with no accounting document posting
Hi all,
I want to copy movement type 561w (special stock - consignment) to a new one, but that mvt should not post any accounting document as this mvt will be used for processing consignment stock which does not need to be maintained price & value but quantity.
Please help!
Best,
if you sold the material already, then the material is owned by your customer, that makes it clear why it should not have a value in your books.
561W does not work because special stock W is stock that is owned by you, hence it is valuated.
here are some alternatives:
you can create a second material master (type UNBW) and receive the customer owned material to that new material.
you can create a vendor master as equivalent to your customer and receive the material as vendor consignment stock. this will as well create no accounting documents, except you use parts of the quantity for own purposes .
you create a return order and receive the material into return stock Return stock is non-valuated. When the customer finally has space to get the material, you just cancel the return delviery.
Similar Messages
-
Seperate Document Row with same account when post GL
Hello everyone
How I can seperate Document Row with same account when post GL
because If I post dcoument that have many rows but same account and difference detail. It will sum amount for same account in JE
and I found that will seperate if it has diference project code but it's not enough for me.
How I can config SAP B1 to seperate Doc row when post to JE if it has difference detail (as userfield or standard filed)
Sorry for my poor english
Thank,SeangHello Suthee,
Sorry to tell you, it is not possible to do so in current B1 without addon development.
There are 2 alternative.
1.Consulting Workaround:
Seperate the Item into 2 items, the account into 2 sub accounts.e.g.
Item A => Item A01 and A02
G/L Account 1001 => Sub Account 100101 and 100102
2.AddOn development to seperate the JE just after it is created document
You can update to JE to seperate just after JE are created by docuemnts.
Just Listen FormDataAdd Event.
Sample Code:
Private Sub FormDataEventHandler( _
ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, _
ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
'I just listen 133 - AR invoice here,
'You may add the target documents
'Before action = true, start the transation
If BusinessObjectInfo.FormTypeEx = "133" _
And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
Or BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) _
And BusinessObjectInfo.BeforeAction = True Then
oCompany.StartTransaction()
End If
'Before Action = false,
'Update the JE in document
'Succeed, commit, otherwise rollback
If BusinessObjectInfo.FormTypeEx = "133" _
And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
Or BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) Then
If BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.ActionSuccess Then
Dim xmlDoc As System.Xml.XmlDocument = New System.Xml.XmlDocument
xmlDoc.LoadXml(BusinessObjectInfo.ObjectKey)
Dim objectKey As String
objectKey = xmlDoc.SelectSingleNode("//DocEntry").InnerText
Dim oDocument As SAPbobsCOM.Documents = Nothing
oDocument = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
If oDocument.GetByKey(CInt(objectKey)) Then
Dim oJE As SAPbobsCOM.JournalEntries
oJE = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
If oJE.GetByKey(oDocument.TransNum) Then
'*Add you code to Update oJE lines here*
lRetCode = oJE.Update
If 0 <> lRetCode Then
oApp.MessageBox("Failed to update JE")
'roll back the whole transaction, including the document
oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
Exit Sub
Else
'Commit the transaction
oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
End If
End If
End If
End If
End If
End Sub
Hope it helps. Thanks.
Kind Regards
-Yatsea -
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 -
Invoice Posting with two accounting documents for Service PO
Hi Gurus,
We have created one service (GR based Invoice verification) PO for which we have assigned a costcenter which has been created for different company code(rather than what company code we have mentioned in PO).
Now during Invoice creation out of 6 invoice entries only one Invoice has been created with two accounting documents for two different company codes, when we found this and canceled the same only basic entries has been reversed.
I just wanted to know how this single invoice has been created with two different accounting documents for two different company codes.
Please guide me in this regard.
Thanks and Regards,
Ravindra C.MHi Aasif,
Thanks for your reply, if that would have been case then each Invoice created for that PO should have two accounting documents but out of 6 invoice created only one invoice has been created with two accounting documents.
I am completely agree with you that it has posted as inter-company transfer but why only one invoice has been created with two accounting documents.
In addition to the above I just wanted to know if for GR-based invoice verified PO if we create a Invoice before creating service entry sheet whether two accounting documents will be created as we have mentioned different company code costcenter.
Please guide me in this regard.
Thanks and Regards,
Ravindra C.M -
GR link with IR Accounting Document
Hi Experts,
We are facing problem to writing a code based on GR Number with us, we want IR invoice Number link with GR accounting Document Number.
when we do GR. the accounting Entry has been generate Inventory RM Domestic a/c 100 Dr. to GR/IR clearing A/c 100 Cr.
when we do Miro Vendor A/c Debit 100 Cr
to GR/IR clearing A/c Dr. 100
Note : we are not doing GR/IR clearing account Month end activity as well Year End Activity.
Kindly help from where we can give the link from which table and field name to fetch the value . on selection screen we want give Posting date and Plant.
Thanks
PranavHi,
I think there is no direct link between GR and IR. A PO can have multiple GRs and single IR, Single GR, multiple IRs, Single IR linked to multiple POs. What is your business scenario?
Please note that IR can be created with out even receiving GR.
Eg: In case of imports, we first receive IR and taxes to clear customs. Then only we get GR.
Table EKBE has entire PO history. Input your PO and item numbers, you would get all subsequent documents like GR, IR, Credit notes etc.
Hope this helps
Thanks,
V V -
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 -
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. -
How to use Bapi BAPI_ACC_DOCUMENT_POST for g/l account document posting
Hi all,
I am using BAPI_ACC_DOCUMENT_POST bapi for g/l account documents posting.as I am first time using BAPI in my program.can anyone give details about how to use this BAPI for document postings.what importing parameters need to be passed , which exporting parameters need to be passed and which tables need to be used.
Thanks in advance.
Regards,
HarshadaModerator message - Please search before asking - post locked
Rob -
How to add line items to Accounting Document posted through MIRO ?
I need to perform Additional posting when Posting through MIRO transaction..i tried with INVOICE_UPDATE BADI but this was not useful...Please let me know if there is any way to add additional posting to Accounting Document created through MIRO.
If any user exit , BADI ot BTE present?Hi,
Check the BTE's:
00001020 POST DOCUMENT: Prior to final checks SAMPLE_INTERFACE_00001020
00001025 POST DOCUMENT: Final checks completed SAMPLE_INTERFACE_00001025
00001030 POST DOCUMENT: Posting of standard data SAMPLE_INTERFACE_00001030
00001050 POST DOCUMENT: Accounting interface SAMPLE_INTERFACE_00001050
Thanks & Regards,
Harish -
Intercompany stock transfer with no accounting document
Hi,
During the Inter-company stock transfer,client needs only stock movements from supplying company code to receiving company code,but they does not want any accounting document during this transaction.
I have assigned Proforma invoice to delivery document type.Is there any other provision.
Kindly advise.
PradeepSuppose if billing is made with TYPE IV,then we could get completed message.
What is the setting makes this happen.
The reason is in copy control of VTFL between IV and NLCC at item cat NLC you maintain the Pos/ neg quantity field will have + which updates the status of the delivery once the target qty gets billed hence system shows status as completed.
For the same above scenario if you put blank system shows as being processed.
And coming into your scenarios you are maintaining the copy control between Delivery and Proforma invoice i think you have the same pos/neg quantity having "blank" which means it does not have any effect . This is the one of the reason you can create any number of proforma invoices.
So if you want to update the status as completed please put + in the field pos/neg quantity.
This should definitely work for you, i have tested in my system.
thanks,
Srinu. -
MB1C 561 with no Accounting Documents
Hi Gurus,
I created initial entry with MB1C 561 to bring into SAP legacy system figures, but no FI documents were created but the stocks are there, if I check MB52 I can see the value in there so the
value of all the stock match with the value that I have outside SAP, the problem is that at GL level there is no posting. When I see the material document in MB03 it does not have any
accouting documents.
I thought on giving reverse with 562 but when I do this, a FI document is created debiting from the accout of spare parts, this is correct in the system but in my scenario is not because
that account was not credited with the 561 movement. Now both 561 and 562 are working correctly and posting FI documents.
How can I take out the stock without impacting the GL account? Is there any way to Re-post the accounting document that should be created?
Root Cause Analysis:
1.I checked that Materials had a moving average price before the 561 movement, so zero price is not an issue.
2.I checke OMS2 settings for the material type and it had both quantity and value update clicked on.
3.I checked the settings in OMJJ for movement type 561 they have EXBWR, value updates and quantity updates.
4. I checked OBYC settings and it had the right accounts in GBB BSA
5. I checked OMWN settings and it has the right parameters.
Options Explored:
1. If I do a 562 movement a FI document is created debiting from spare parts so this is not an option,
2. Making the price 0 before doing 562 mvmnt also does not work because when I do a MR21 a FI document is created.
Please let me know any ideas to solve this issue.Thanks Jurgen, We are trying to explore all other options before manually creating the journal entries. This is the inventory account so we might have to make changes to the G/L account to make manual postings possible.
There were no update terminations so all the update tasks were processed correctly. I went through the sequence of update tasks and the tables which are updated.
MBEW - Updated correctly
CKMI1 - Updated correctly
bkpf - No Updates
bseg - No Updates
S031 - Updated correctly
S032 - Updated correctly
S033 - Updated correctly
Is there a configuration in SAP which will update material valuation (MBEW) but not update the accounting documents?
If I switch off the value update for material type in OMS2, there will not be any updates to MBEW and also FI. We are trying to get to the root cause of this issue and may be replicte it for reverse posting 562.
Edited by: SFC_KY on Jan 23, 2012 3:17 AM -
How to copy MIRO header text to account document line item automatically
HI Experts,
I really need your help or advices , my question is as follows, thanks.
After goods receipt , I do invoice verification at t-code MIRO , and it'll produce an account document by system.
at MIRO, I key in the purchasement description on the header text column (INVFO-SGTXT) ,
and after posting , the header text only appear in account document's account payable item ,
it's blank in GR/IR and tax item.
How to do could let the GR/IR and tax item have the header text too at column BSEG-SGTXT which produced by system?
p.s.
I have try to use BADI: AC_DOCUMENT , Method: CHANGE_AFTER_CHECK
and declare a couple of parameters to check the value, as follows
DATA: WA_HEADER TYPE ACCHD,
WA_ITEM TYPE ACC_DOCUMENT-ITEM,
WA_ITEM_AMOUNTS TYPE ACC_DOCUMENT-ITEM_AMOUNTS.
WA_HEADER = IM_DOCUMENT-HEADER.
WA_ITEM = IM_DOCUMENT-ITEM.
WA_ITEM_AMOUNTS = IM_DOCUMENT-ITEM_AMOUNTS.
but, in the parameters , I don't see any column to access INVFO-SGTXT value.....
Thanks a lot in advanced.
Best Regards,
YacoaHI SAPFICO,
Thanks for your advice,
I have follow the link , and create an function model named ZSAMPLE_INTERFACE_00001025(copy from SAMPLE_INTERFACE_00001025),
and also run the setting in FIBF....
I write some code in my function , as follows, but it doesn't work after I do MIRO
and it's still blank of the account document's line item.
p.s. even make a breakpoint at the function , it doesn't stop and stay at the breakpoint when I execute MIRO, so werid....
FUNCTION ZSAMPLE_INTERFACE_00001025.
""區域介面:
*" IMPORTING
*" VALUE(I_BKDF) LIKE BKDF STRUCTURE BKDF OPTIONAL
*" TABLES
*" T_AUSZ1 STRUCTURE AUSZ1 OPTIONAL
*" T_AUSZ2 STRUCTURE AUSZ2 OPTIONAL
*" T_AUSZ3 STRUCTURE AUSZ_CLR OPTIONAL
*" T_BKP1 STRUCTURE BKP1
*" T_BKPF STRUCTURE BKPF
*" T_BSEC STRUCTURE BSEC
*" T_BSED STRUCTURE BSED
*" T_BSEG STRUCTURE BSEG
*" T_BSET STRUCTURE BSET
*" T_BSEU STRUCTURE BSEU OPTIONAL
DATA: C_SGTXT TYPE BSEG-SGTXT.
IF SY-TCODE = 'MIRO'.
READ TABLE T_BSEG INDEX 1.
C_SGTXT = T_BSEG-SGTXT.
LOOP AT T_BSEG.
IF T_BSEG-SGTXT IS INITIAL.
T_BSEG-SGTXT = C_SGTXT.
MODIFY T_BSEG.
ENDIF.
ENDLOOP.
ENDIF.
ENDFUNCTION.
Edited by: Yacoa Chen on Mar 30, 2011 9:54 AM -
Accounting document posting enhancement
Dear All,
I am having requirement of exchange gain/loss should go only loss g/l account. since it is client level setting i cannot change this & it is required only for 1 of the group companies. other cos follow std process it gain/loss based on the transaction. Can anyone suggest is there any function module /exit which i can use & change the G/L account NO while posting accounting document automatically by system through hard coding of G/L at program level.
Early reply is helpfull .
Thanks
PramodHi Pramod,
note 127178 (and 126192) offers a solution with exit_sapliedi_001 to post to several G/Ls instead of only one.
regards Bernhard -
Hello All,
During MIGO GR against Production Order due to a dump in a customized BADI, the Material Document gets generated but Accounting Document Doesn't generated. Now we have solved the problem and dump is not coming. Now our requirement is to do account posting for the document( some 18 documents ) for which the material document is generated due to dump but Accounting document doesn't created. Can somebody tell me about the way to achieve this.
Thanks and Regards
Animesh SundriyalHi dear Animesh,
Yes there is a program that can allow this automatically
Please use SE38
Then program RGURECGLFLEX
Then, you can put the documents number in selection and can try first with test run, if it seems correct, run it in real mode
Hope this help
Regards
Tarek
Edited by: Tarek AYACHI on Sep 23, 2011 1:13 PM -
Question on account document posting...
Hi,
I am interfacing between 2 systems, one being ECC 6.0 and another the 4.6 system. I am calling the FM ALE_ACC_DOCUMENT_POST with document header containing the BELNR which i assume to be the invoice number (billing document number). Now this is passed to 4.6, and the BAPI BAPI_ACC_DOCUMENT_POST is called. When this posts (creates) the invoices in 4.6, the VBELN is blank and BELNR is getting the value as it was in ECC 6.0.
4.6 uses external number range for accounting documents.
I have a report in 4.6 which checks for bsid-vbeln which I assume to be the invoice number for open invoices. Right ? But this field happens to be blank for the invoices that got transferred from ECC 6.0. For all other invoices that were create in 4.6, the value in VBELN and BELNR are same.
I assume that BELNR needs to be set in VBELN too for the invoices passed from ECC 6.0. Am I right ?
I am not able to do that ALE_ACC_DOCUMENT_POST FM as there is no field to do so. So how should I achieve this. Hope I am clear.
thksAn accounting doc no is an invoice for particular doc types.
find that accounting doc type which is an invoice
use SD00 (Billing Document) to pass corresponding billing data to accounting.
regards
Arjun
Edited by: Arjun Subhash on Dec 18, 2008 2:45 PM
Maybe you are looking for
-
Servlet can't open a download window on IE, but open it on FireFox
Hello everyone, I created a attachment Pdf file by servlet. When I run at simulation, "inline" and attachment both worked fine. However, web application doesn't work on IE, either for "inline" or "attachment". When I tried Firefox, both work fine!
-
I'm trying to understand the difference between Photoshop Elements and Lightroom software.
Does one have things the other does not?
-
IMac random shutdown w/10.6.7 update
I'm also noticing some weirdness today after installing 6.7 yesterday. My 2006 iMac would not wake up from sleeping last night - requiring a hard reboot. I held the restart button in back down for an unusually long time before the white light in fron
-
Duplicate songs all over the place!
Ok, first let me give you the layout. 16 GB iPod Nano Dell Inspiron E1505 with Vista Home Premium Linksys WR310N (GigE switch) Sony Vaio running Windows Server 2003 I have ALL of my music located on a shared partition on my Windows 2003 server. I hav
-
Trigger alert modeler CRM IC based on SAP ISU information
Hi experts, My current client will start a trial with smart meters shortly. These meters will be registered in SAP ISU as devices with a specially reserved device type. Device type is not replicated to CRM, but the call center wishes to receive an al