MIRO - Automatically generated expense line items
Dear CO gurus, we are planning to use W/Tax tax posting with MIRO, where the credit gets posted to a B/S Account but the debit gets posted to an expense account (requiring a cost object). These are automatically generated posting based on the W/Tax configuration. I can use OKB9 to direct the postings to one single cost object per company code but it doesn't help. We want the cost object (whether cost center or order or wbs element) from the GR/IR account, which has the correct cost object, to be populated to this automatically generated expense posting.
We appreciate if you can help us with any User-Exit or any other way, this can be accomplished. We are on ECC 5.00 and are using document splitting.
Thanks,
Joe Teli
Hi
Can u check the following exits
EXIT_SAPLG_GLFLEX_EXITS_003.
Similar Messages
-
Profit Center in Expense line item
Hi
We have a scenario where at month end we are destroying goods which were returned. We credit and inventory account and debit the Return goods destroyed account.
In the inventory account, we have a profit center which is appearing from material master. In the expense line item too same profit center was getting posted. Somehow from this month when we did the write off postings, we got the dummy profit center in the expense line item. Inventory acount was correctly being posted.
It seems that some system is not able to find the profit center for the expense line item. We are not sure what happened.
Just need some insights on what could be the issue..?
what we already checked:
OKB9 - Profitability segment is there for expense line item
3KEH/3KEI - Expense account not maintaine there too.
We looked for any enhancements but does not seem to exist in this case.
Many thanks for your help in advance.
Regards
NeerajAjay
Many thanks for your quick reply.
answer to your questions below.
1. Cost element was created long time back and was never changed.
2. I checked the earlier posted accounting documents and profit senter was same as in material master but now it is dummy profit center.
3. CO docs were generated earlier as well as now with profitability segment as cost object.
Let me know if you need any further information.
Regards
Neeraj -
Automatic Payment program -line item cleared not displaying in table
automatic Payment program -line item cleared not displaying in table
i have re run the APP program DUSR1 same earlier it has run twice but table dose not show double payment to vendors how to resolve the issue.
Can some one please guide me on this.Hi Priyanka,
First, which table are you referring to. If your fist APP run clears the line item, it will no longer be available in the open item.
Please be more specific on the problem so that we can try to help you. If possible, please provide screenshots.
Regards,
Ganesh -
Exit for automatic creation of line items in VA01
Hello All,
I have a requirement wherein I need to create next blank new line item (with predefined line item no) upon creation of one line item. When user opens sales order creation screen there should be default line item (say line item no 10) created. If user fills data in item 10 & press enter exit should create next line item (say item 20) automatically.
Currently line item get created after user enter item details. I want this to happen before user enters data.
Regards,
Abhijeet moreThere is a customizing for this. You can also make it using MV45AFZZ but really difficult coding. You must debug what system do while you create a line item manually then u need to use every routine which system uses and even there is no error message it's still possible that you'll face with inconsistencies in billing.
I don't suggest you to try this using exit, unless you have 2-3 years SD experience. Best thing to do is inspecting customizing part.
Edited by: Gungor Ozcelebi on Jul 15, 2009 9:20 AM -
Generate 2 line items with posting keys in same table while using FM .
Dear Expert ,
For T-code f-65 ,I have to park a FI Document .i tried with PRELIMINARY_POSTING_FB01 for parked Document . But i am not successfully park the document .
with the help of F-65 the data Segregate between Tables VBSEGS and VBSEGD with respecting Posting key . but with this Fm entire entry is displaying in table VBSEGS .For example it generated two line items with posting keys '15' and '40' and these both are displayed in VBSEGS whereas posting key '15' has to be displayed in VBSEGD.
when i check this Document in FBV0 Error reflect " G/L Account 0012000 1001 Does not Exist ".
Here my code -
DATA: XT_BKPF LIKE BKPF OCCURS 0 WITH HEADER LINE ,
XT_BSEG LIKE BSEG OCCURS 0 WITH HEADER LINE ,
XT_BSEG1 LIKE BSEG OCCURS 0 WITH HEADER LINE ,
XT_BSEC LIKE BSEC OCCURS 0 WITH HEADER LINE ,
XT_BSET LIKE BSET OCCURS 0 WITH HEADER LINE ,
XT_BSEZ LIKE BSEZ OCCURS 0 WITH HEADER LINE ,
XT_BKORM LIKE BKORM OCCURS 0 WITH HEADER LINE ,
XT_THEAD LIKE THEAD OCCURS 0 WITH HEADER LINE ,
XT_SPLTTAB LIKE ACSPLT OCCURS 0 WITH HEADER LINE ,
XT_SPLTWT LIKE WITH_ITEMX OCCURS 0 WITH HEADER LINE .
DATA : XTEXT_UPDATE LIKE BOOLE-BOOLE VALUE SPACE,
XTEXT_ITEM_UPDATE LIKE BOOLE-BOOLE VALUE SPACE,
XI_UF05A LIKE UF05A,
XI_XCMPL TYPE XFELD VALUE 'X',
XFS006_FB01 LIKE FS006 ,
XI_TCODE LIKE T020-TCODE VALUE 'F-65',
XI_PARGB LIKE RF05A-PARGB ,
XI_TCODE_INT TYPE TCODE .
DATA P_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
XT_BKPF-BUKRS = 'CP01'.
XT_BKPF-GJAHR = 2011.
XT_BKPF-BLART = 'DZ'.
XT_BKPF-BLDAT = SY-DATUM.
XT_BKPF-BUDAT = SY-DATUM.
XT_BKPF-MONAT = '06'.
XT_BKPF-CPUDT = SY-DATUM.
XT_BKPF-WWERT = SY-DATUM.
XT_BKPF-USNAM = 'ABAPER'.
XT_BKPF-TCODE = 'F-65'.
APPEND XT_BKPF.
XT_BSEG-BUKRS = 'CP01'.
XT_BSEG-GJAHR = '2011'.
XT_BSEG-BUZEI = '001'.
XT_BSEG-BSCHL = '40'.
XT_BSEG-KOART = 'S'.
XT_BSEG-SHKZG = 'S' .
XT_BSEG-GSBER = 'CPLN'.
XT_BSEG-BUPLA = 'CP01'.
XT_BSEG-WRBTR = 10000.
XT_BSEG-PSWSL = 'INR'.
XT_BSEG-ZUONR = 'CH. 123456'.
XT_BSEG-HKONT = '241000'.
APPEND XT_BSEG .
CLEAR XT_BSEG.
Vendor line item - required even for header only - BSEG table
XT_BSEG-BUKRS = 'CP01'.
XT_BSEG-GJAHR = '2011'.
XT_BSEG-BUZEI = '002'.
XT_BSEG-BSCHL = '15'.
XT_BSEG-KOART = 'S'.
XT_BSEG-SHKZG = 'H' .
XT_BSEG-GSBER = 'CPLN'.
XT_BSEG-BUPLA = 'CP01'.
XT_BSEG-WRBTR = 10000.
XT_BSEG-PSWSL = 'INR'.
XT_BSEG-ZUONR = 'CH. 123456'.
XT_BSEG-HKONT = 'PC04000001'.
APPEND XT_BSEG .
CLEAR XT_BSEG.
CALL FUNCTION 'PRELIMINARY_POSTING_FB01'
EXPORTING
TEXT_UPDATE = XTEXT_UPDATE
TEXT_ITEM_UPDATE = XTEXT_ITEM_UPDATE
I_UF05A =
I_XCMPL = XI_XCMPL
FS006_FB01 =
I_TCODE = XI_TCODE
I_PARGB =
I_TCODE_INT =
IMPORTING
XEPBBP = CHECK_A
TABLES
T_BKPF = XT_BKPF
T_BSEG = XT_BSEG
T_BSEC = XT_BSEC
T_BSET = XT_BSET
T_BSEZ = XT_BSEZ
T_BKORM =
T_THEAD =
T_SPLTTAB =
T_SPLTWT =
EXCEPTIONS
ERROR_MESSAGE = 1.
P_RETURN-ID = SY-MSGID.
P_RETURN-TYPE = SY-MSGTY.
P_RETURN-NUMBER = SY-MSGNO.
APPEND P_RETURN.
p_return-MESSAGE_V1 = XSYMSGV.
IF SY-SUBRC = 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
ENDIF.
WRITE :/ sy-subrc , sy-MSGV1 .
Thanks ,
Ashish GuptaHi Raghuram,
I found a very important SAP Note 103051, details are below.
An IDoc processed by function module IDOC_INPUT_INVOIC_MM (of category INVOIC01) must not refer to the same purchase order item in several invoice items. This is also valid if for a goods receipt-related invoice verification several delivery notes belong to the same purchase order item.
Depending on the system settings and the situation, various error messages can occur (for example, FD240 'Order item ... selected more than once' or M8050 'Balance not zero: & debits: & credits: &').
In this situation module IDOC_INPUT_INVOIC_MRM generates error message M8321 'Document contains same order item more than once'.
For example, this situation occurs if you work with individual batch valuation and the SD billing document executes a batch split for different batches which belong to the same purchase order item and delivery.
Other terms
INVOIC, SAPLIEDI, M8047, M8, 321
Reason and Prerequisites
This is because of the program design.
Solution
There is no solution for IDOC_INPUT_INVOIC_MM.
Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active.
Owing to this symptom, billing documents for single batch valuation with batch split cannot be settled in MM-EDI inbound processing. The settlement generates exactly the situation described (several invoice items for the same purchase order item). In this case, the only solution is to deactivate the billing of the batch sub-items in SD Customizing and to calculate the main item only.
Hope this helps.
Reward if helpful.
Thanks -
Assignment field in expense line item FB60 missing
Hi
I got a problem like, in Quality client, TCODE:FB60 has "assignment field" for expense line item(not in vendor line item). But in Development client this field is missing. How to get the field in development.
VVRHi murali,
Thanks for the reply.....But, this is not the problem after i entered the GL . Before giving any GL, on just opened screen, iam not able to see the assignment field at all .......is there any variant needs to be select for that.
As you said for checking the FSG...but that is only for the particular GL which you have entered...but before entering the GL iam not able to see the field...
Hope you got clear about the probelm.....
(in Menu...options...screen variant is there but it is so confusing )
VVR -
Stamp Tax on Expense line item
Hi,
I'm trying to find a way to calculate the tax based on the expense line in the vendor invoice FB60. So, I can get
DR. Expense 110
CR. Vendor 100
CR. Stamp Tax(10%) 10
(to record the expense of $100 plus tax $10)
Your advice is appreciated in advance!
Regards,
AlyHi aly,
The first one , you like to add the Stamp Tax to your expense line item , it can be done in the tax procedure, by changing the Account key you used against the condition.
Follow the path
IMG - Financial Accounting - Financial Accounting Global Settings - Tax on Sales/Purchases - Basic Settings - Check and Change Settings for Tax Processing
in this select the posting key you used against the condition type (fr ex, MWAS use Account Key MWS) , in the accounting key there will be a posting indicator,
1 No posting required
2 Separate line item
3 Distribute to relevant expense/revenue items
You select 3 which will post that 10$ to your expense account.
The other one how to post to stampduty account again, i will check and comeback to you.
Thanks and regards
Praveen.J -
Workflow not triggering after undletion of expense line item after release
Hi Experts.
There is one issue in which a PO contains inventory line item (an item without account assignment category) and expense line item (an item with account assifnment category).The user releases the PO through workflow.The user then deletes expense line item and after a span of time he undeletes the same line item.Now the business requirement is after undeletion of expense line item the workflow should trigger again.I have consulted with technical team they say that it is not possible by coding and is possible trough customization.Hi,
Please check that Change Version for PO is active.
IMG: SRM -> SRM Server -> Cross-Application Basic Settings -> Switch On Version Control for Purchasing Documents
Regards,
Masa -
Automatic Payment Run - Generate Extra line items
Hi All,
We need to create extra line items when automatic payment (F110) is run because we need sub-fund entries.
For example:
Automatic payment will create:
Vendor a/c Dr.
Unpresented Cheque a/c Cr.
We need:
Vendor a/c Dr.
Sub-Fund a/c Dr.
Unpresented Cheque a/c Cr.
Sub-Fund a/c Cr.
This is a requirement specific to our organisation. We need to add these extra line items while F110 is running and before document is posted. We have checked all the user-exits for transaction F110 and didn't find anything to add this.
Any suggestions/ideas is highly appreciated.
Regards,
Sougata.Hi Sougata.
Need to create Substitution rules (transaction OBBH) and within those rules you can define user exits (ZGGBS000 for e.g.). In those user exits, you can split the lines based on Document type (ZP, ZV) for automatic payment clearing.
This is a customization + ABAP intensive approach, but is a approach that is supported by SAP and I have used it in the past to split document lines at any stage in their processing. It has been a while though and I don't have any examples to give you.
Hope that helps!
Rishi -
Automatic deletion of Line item at GR level
Hi All,
I have a requirement,
The client will hire security service from the vendor, they will create service PO with 12line item and each line item cost will distribute to 5 cost center. they want a report which shows the pending quantity month wise for which month its has been delivered and pending.
So we create a Service PO with 12 line items for one year each line item will be delivered every month and service period is defined at PO level for each line item and each line item cost is distribute to 5 cost center. we are able to achieve the Report as per the client requirement.
The issue is at GR level, we can see 60 line item as we defined each line item cost is distributed to five cost center at PO level.
and we have remove 55 line item manually in GR level to receive one line item qty.
So is their any option where, we can get the line item based on the Date which we have provided at PO level.
NOTE: Client do not want from Contract process.
Thanks & Regards
AfsarHi,
In attributes of system Message setting for PO try to add message no.06 115 as error and assign the same to users.Moreover this message comes as a standard setting and prevents from deleting the PO line if Gr is made .But this will not restrict if MIRO is done after GR.
Dhruba -
System is generated extra line item of G/L while clearing throgh F-44
Dear Experts ,
When we processing clearing through F-44 , system is generating one extra line item of G/L , due to this system is not allowing for clearing as the message " Posting is only possible with zero balance ; correct document " is served by system.
Actually while clearing , i am including TDS clearing document (posted via F-54) also .
please suggest.
Thanks & Regards
ShaileshHi
1. First of all i have given advance to vendor with deducting TDS (@10%) via F-48
2. after that i have raised one invoice for same vendor with deducting TDS via FB60
3. vendor TDS clearing via F-54
4. now when i going for vendor clearing via F-44 with taking reference from above F-54 document
i got below error : -
Posting not generating TDS line items
Hi SAP Gurus,
After configuring the TDS in company code xxxx, while posting the conversion charges using f-43, the line item for TDS is not generated . For that I selected withholding tax check box in the vendor master n also assigned the withholding tax to company code in the customization
Answer will be appreciated by adding good points.
Regards,
KrishnaDear Krishna
Check the tax GL account which u have assigned and tick the
line item display in Control data.
Also re-check if have u defined the tax codes,tax type and tax keys correctly?
Regards
Ravi -
MIRO enhancement for modify line item
dear all:
i want to modify the miro line item, anyone can tell me the enhancement?
thanks
monsonHi
Check this badi:INVOICE_UPDATE.
The foillwing user exits availbale:
Enhancement/ Business Add-in Description
Enhancement
LMR1M001
User exits in Logistics Invoice Verification
LMR1M002
Account grouping for GR/IR account maintenance
LMR1M003
Number assignment in Logistics Invoice Verification
LMR1M004
Logistics Invoice Verification: item text for follow-on docs
LMR1M005
Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006
Logistics Invoice Verification: Process XML Invoice
MRMH0001
Logistics Invoice Verification: ERS procedure
MRMH0002
Logistics Invoice Verification: EDI inbound
MRMH0003
Logistics Invoice Verification: Revaluation/RAP
MRMN0001
Message output and creation: Logistics Invoice Verification
If helpful rewards points
Regards
Pratap.M -
Quantity should come automatically in MI04 line items
Hi,
Suppose there are 10 line items in MI04. In 1st five line items against material, we insert the Quantity but not for last 5.
We want that in last 5 line items, Quantity must pick automatically from system. Means in last 5, Perpetual Inventory quantity should come automatically.
please let me know, how it come automatically or pick from system.
Regards..
Edited by: @ABAP@ on Oct 5, 2009 6:03 PMcertainly not.
Get user and auditors together. this may already make this request obsolete.
Edited by: Jürgen L. on Oct 5, 2009 3:10 PM -
Sales Invoice is not generating 2 line items?
HI,
My SD consultant has created Sales Order and did the billing and released that to accounting.Now the problem is - system is generating only customer account -Debit and system is not generating the Sales account as credit.
what could be the reason.how can i solve this.
Thanks
Prathimahi,
Please check the configuration in VKOA - Acct Key
hope its useful
regards,
R.Ramakrishnaraj
Maybe you are looking for
-
Wht are the function modules for download upload excel files in bdc.
hi all, this question seems to be silly but i had open office excel files i am getting problems to upload or down loading. can you tell which function modules can upload or down load open office excel files. another dought this is not need full but
-
I recently downloaded and then deleted a couple of apps. I now have run into a small problem with inserting the P/W for Apple Support Communities. Before I would go to SplashID and copy the P/W and then Ctrl V to insert it. That function no longer wo
-
Signatures and Saving PDF forms
I purchased AdobeExport in July 2012. I was able to type info into a pdf form and save it, and sign a document (insert a signature image file), save it and print it all out. These features are no longer available. My account was automatically rene
-
my 4g ipad touch talks to me whenever i touch something but i cant scroll or turn page and i have to double touch to enter a button on the screen what do i do?
-
Notification bubbles stick on screen
Hi there, I've got a problem with Notification Center in Mac OS X 10.8.3 that popped up just recently: Notification just stick on the screen after I click on them. The clicked button stays pressed, nothing else happens. I cannot dismiss these notific