Enhancing standard IDOC for invoice posting
Dear All,
I have a requirement where IDOC_INPUT_INVOIC_MM, which a standard inbound function module to post invoices through PO, is used. In addition to the standard functionality, now the requirement is that, if PO is blank then PO would be created using BAPI_PO_CREATE, followed by goods movement by BAPI_GOODSMVT_CREATE, finally invoicing posting would be done using BAPI_INCOMINGINVOICE_CREATE. Pls suggest how to add this functionality in the given standard Inbound IDOC.
Regards
Anand
Hi Anand,
U can create a Z function module copy of that IDOC_INPUT_INVOIC_MM.
Here put the condition
If PO is blank
ucan call PO Creation BAPI,GM BAPI and Invoice BAPI
Else.
Normal process
endif.
Assign ur Z functionmodule to Processcode.
It will resolves ur Problem.
Regards,
Venakt.
Similar Messages
-
Which kind of IDOC for invoice posting ?
I have a requirement where I have to look at the incoming IDOCS send by vendors through EDI. Now if the IDOC posting fails to create invoice, I have to create a custom report for all the failed invoices posting (status 03).
My question is when the vendor will send invoices via EDI IDOCS, will that be INVOIC01 or INVOIC02. Because I will be reading segment data of these invoices to create the report.
Also, can someone guide me through as how to create data for incoming INVOICES IDOCS for testing purpose ?
Regards,
Rajesh.Solved myself
-
Standard IDocs for Inbound Sales Invoice
Hi All,
Beginner in the forum.
I have a requirement to develop an IDoc interface for Sales Invoice. I am not sure about the Basic IDoc Type, Message Type and Inbound Function Module to be used.
I can see Basic Types INVOIC02/01 and Message Type INVOIC. And the Function Modules IDOC_INPUT_INVOIC_FI and IDOC_INPUT_INVOIC_MM assigned in WE57. As my requirement is in SD perspective, I am little confused which one to use.
Any pointer would be helpful.
Thanks in Advance,
KhanshiSales invoices are generated referencing existing orders and deliveries through VF01 or VF04. Most if not all data for creating the invoice comes from the existing order/delivery documents (except may be freight costs etc which are know only during invoice time). So there is no standard IDoc (as most data for creating sales invoice is already there in SAP in the form of reference delivery/order) to create a Sales invoices. Sales invoices created through VF01/VF04 are outbound and can trigger INVOIC message type IDoc through IDOC_OUTPUT_INVOIC which is sent from SAP to the customer for billing purposes.
The IDOC_INPUT_INVOIC_FI and IDOC_INPUT_INVOIC_MM are for creating inbound vendor FI invoice (like that created by FB60) and MM vendor invoice (like that created by MIRO) respectively.
If you want to create a sales invoice through BAPI the below modules are available but I am sure there isn't a standard IDoc function to post a inbound INVOIC IDoc to customer/sales invoice. These BAPIs will of course require you to input the reference document (delivery or order) to create the invoice.
BAPI_BILLINGDOC_CREATE
BAPI_BILLINGDOC_CREATEFROMDATA
BAPI_BILLINGDOC_CREATEMULTIPLE
Best regards,
Vishnu Tallapragada -
Standard datasource for Invoice master data
Hi ,
Can anybody please tell me , Is there any standard datasource for Invoice masterdata.
Right now in my company there are using 0FI_AP_4 datasource as an Invoice masterdata.
This Invoice masterdata is getting data from 0FI_AP_4 datasource.
But I have a requirement like I need to enhance this 0FI_AP_4 with other tables (PAYR,REUGH).
Is there any simple way to follow.Please help me.
Thanks in advance.
Pints will be rewarded.
Vamsi.Resolved
-
Best practice for invoice posting inSRM
Dear expert,
what is the best practice for posting an invoice? Is it in SRM system or MM system? In SRM, the system allows one to use approval procedure for invoice posting; wheras in MM, one cannot use the apporval procedure to post an invoice. similar is the case, in SRM-SUS and MM-SUS scenario?
I would appreciate if you can feedback on the industry practice.
thanks and regards,
RanjanRanjan,
As a SAP customer we use invoice entry in ERP using MIRO and FB60 as these are the most efficient for our busines.
1. Invoice entry using MIRO tcode is faster as it can be done with minimal use of the mouse. Invoice entry is slower in SRM as browser response and interactions with the backed ERP system slows the systems reponse to the user input. Repeated use of a mouse in the SRM browser is detrimental to fast input.
2. Not all types of invoices can be handled in SRM e.g. Invoice without PO.
3. We process approx 20,000 invoices per month with multiple input operators, SRM could not handle that sort of load.
4. SRM is really a procurement application and although invoice entry is included it is probably more for users who wish to use SRM in a stand alone scenario. We use extended classic so all our financial transactions take place in the ERP backend.
Your choice also depends upon the number and quality of the invoices you plan to process, and the need for the operators to be trained on one or two systems.
Hope these personal observations assist with your decision
Regards
Allen -
Baseline date not default in MIRO for Invoices posted against STO Pu.Order
Hi All,
Baseline date doesn´t default in MIRO for Invoices posted against an STO Purchase Order.
We are trying to post an Invoice in MIRO with reference to a STO Purchase Order for planning delivery cost.
Delivery cost in PO has not got the Vendor number because conditions are customized not possible to process manually so in MIRO the system asks to enter the Invoicing Party and then the baseline date.
The client requires that when the invoicing party is enter manually in MIRO, the term of payment should be pick up from Vendor Master Record.
Could someone confirm if this possible ?
Thanks and regards,
LauraHi Laura ,
The payment terms in Invoice are taken from PO only .
Refer SAP Note : 177224 for more details.
Regards
Ramesh Ch -
How to mention posting keys for line items in IDOCS for fb01 posting
Hi all ,
I am using IDOCS for fb01 posting with posting keys 15 and posting keys 40 for line items .The data is in legacy file . I am using IDOC <b>ACC_GL_POSTING_01</b> for posting . Is there any way that I can mention the posting keys in the segment parameters of the IDOC.If there is anyone who have done fb01 posting with IDOCS,please help me with the code .Please treat the question as urgent .
Thanks in advanceHi Arshad,
There is no fecility to enter Posting keys explicitly.. It is determined automaticall by the Credit/Debit amounts u enter in GL data in the segments E1BPACGL08 and E1BPACCR08 and also it depends on the Customer and Vendor no.
Sreedhar -
IDOC for Invoice/Billing document
Hi Experts,
Some of our customers want us to send electronic but no paper invoice to them in the coming week.
I've investigated the process, steps are:
1. Do some configs for message type of billing document
2. Create KU partner profile and set outbound parameters, include Port / Basic type / Message type / Process code.
If you have experience about this (IDOC for Invoice/Billing document) ? please kindly share the detail for me.
Thanks in advance.
Regards
SamHi,
Please check [https://supplier.intel.com/static/ap/forms/imp_gid2.doc|https://supplier.intel.com/static/ap/forms/imp_gid2.doc] this.
This might help you.
Thanks,
Abhijit -
Withholding tax for Invoice posting
My client has WHT set up for payments in Mexico but they also want to set that up for Invoice posting, should I create new Tax type and code for that? And also to which accounts I need to define that type & code?
I am confused. Please help.
Thanks,
STHi S T
Withholding tax can be at two types
* Withholding tax at the time of invoice posting
* Withholding tax at the time of payment
As you have withholding tax at the time of payment, if you want WHT at the time of invoice also, then you have to create type and codes under that
Kindly let us know if you need any help further
Thanks
Prasad -
Any standard IDOC for Goods Issue and Goods Receipt ?
Hi ALE/IDOC Experts,
Seeking the experts advise on the following questions.could someone help us please..
1. We are in need to post an IDOC which should do a Goods Receipt against the open PO - We are struggling to identify the right IDOC and its process code - Do we have any IDOC for that?
2. We have to do a Goods Issue by posting an IDOC.Please help me in finding out the right IDOC (with Process code) for GI posting.
We also have a plan to use ORDERS05 IDOC for GI posting by writing the customized process code (considering the future use of ORDERS05 to create SO). You could throw some light on this if possible.
Thanks in advance,
RGds,Vasanth.Hello Gajendra,
Thanks for the timely input.I am thinking why not use ORDERS05 idoc and to have a custom code for that to do both GR/GI posting.Taking into account of future use of ORDERS05 in mind.
I know for sure we can do that for GI.would it be possible to do the same for GR too
If you can provide your suggestions on this that would be useful as you have already done that.
Thanks in advance.
RGds,Vasanth. -
What is the standard IDOC for substation management??
hi friends..
could you please tell me standard idoc for substation management ?
and also tell me standard BAPI for substation management??
please help me..
thanks and regards
regards
ramHi michal..
thank you very much for your quick response.
i got source xml file like this
<?xml version="1.0" encoding="utf-8" ?>
- <MonthlyEnergies xmlns="http://aaaaa.org/MonthlyEnergy.xsd">
<Values Power_Produced="22" Reduction_Power_Consumed="1203.92" Ancillary_Power_Consumed="1056.08" UOM="KWH" Date="2006-09-30T00:00:00" />
</MonthlyEnergies>
i am trying to convert this into SAP .
for this i need IDOC .
Power_Produced = RK40C_KBXXN-STAGR (RK40C_KBXXN is structure)
Reduction_Power_Consumed = RK40C_KBXXN-STAGR
Ancillary_Power_Consumed = RK40C_KBXXN-STAGR
UOM=RK40C_KBXXN-MEINB
date = BUDAT
guide me..
thanks and regards
ram -
Standard IDOC for WORK CENTER Master
Hi,
Please suggest the standard IDOC for work center master.
I have tried PWKC.Got DUMP when executed.
Tried on SAP-Market place for help.Suggested not to use PWLC.
Please suggest alternative.Will you please explain in a bit detail if LOIWCS01 or LOIWCS02 are transaction (as i tried to execute) or programs or please explain how to use these.(I executed from command prompt and SE38 but didnt helped)
-
Standard Idoc for Goods Issue from MIGO and standard BADI to do the MIGO-GI
Hi Gurus
What is the standard IDoc for Goods Issue from MIGIO and standard BADI that takes care of Goods Issue from MIGO?
ThanksBADI :
MB_MIGO_ITEM_BADI
MB_MIGO_BADI
Idocs:
/ISDFPS/GOODSMVT_SAPCREATE01
/CWM/MBGMCR01 -
Standard Idoc for Work order?
Hi,
Can you please let me know what is the Standard Idoc for Work order?
Thanks
POINTS WILL BE AWARDEDHello,
Standard IDOC type for Work Order is LOIPRO01.
Thanks,
Venu -
Standard Idoc for Purchase order?
Hi,
Can you please let me know what is the Standard Idoc for Purchase order?
POINTS WILL BE AWARDEDHi Guest
You can use it, if all your required field are in that Idoc basic type.
http://sap.ittoolbox.com/documents/popular-q-and-a/extending-a-basic-idoc-type-2358
http://abapprogramming.blogspot.com/2007/11/abap-idocs-basic-tools.html
Award points for helpful answers
Maybe you are looking for
-
my Mac is telling me that my disk is full. I have bought an external hard drive and watched a youtube tutorial on moving iTunes library to external hard drive. Will I still be able to use iTunes on my Mac for new media or will this now only work thro
-
GL A/c numbering logic for chart of accounts BAIN
Hi, Will any expert pl let mek now What is the GL A/c numbering logic for chart of accounts BAIN (BAIN is standard ch of A/c for India apart from CAIN)? Regards Anand
-
Hi, I want to find out how many orders do we have in the live cache by orders. I have BAPI_MOSRVAPS_GETLIST3 to get Planned/Production orders together. But I want to get the number of Planned orders and Production orders seperately. How can
-
This is a very small but curious issue. With the following code in my process: HTMLDB_MAIL.SEND( P_TO => p_send, P_FROM => p_user_email, P_BODY => 'To: '||p_name||chr(10)||chr(10)||:P20_TEXT||chr(10)||chr(10)||'Your slots for leave bidding are as fol
-
Uninstall CS5 after upgrade to CS5.5 Production
I have recently upgraded to CS5.5 production and would like to know if I should remove CS5 now that I am running 5.5? Or is there any reason to keep both on my computer? Is there any special method of uninstalling the old suite.