Inbound Idoc Function Module
Hi gurus,
I am new to IDOC's. My requirement is from some third party systems data come to IDOC.
For this I created Custom Z segments, Z Idoc and Z message type.
Now I have to develop one Inbound function module. Based on this function module two Z custom tables need to be updated.
Please can any one give me a valubale sugestion. Or send to me the step by step Procedure.
Thanks in Advance.
Thanks and Regards
Abinava Siri.
Hi,
Refer to the tutorial below. This will solve all your queries.
Its with all the spanshots available.
http://www.geocities.com/xplosion78/customised_ALE_IDOC_BY_SACHIN_DABHADE.zip
Please reward if you find this useful.
Pranu.
Similar Messages
-
Inbound Idoc function module for Cycle count with msg type WVINVE
Can any one tell me which is the standard function Module which processes Cycle count for message type WVINVE.
My requirement is to setup Inbound Idoc for cycle processing with message type WVINVE.Hi Mukesh,
Inbound FM is IDOC_INPUT_STORE_INVENTORY , and Process code is WVIN.
Yoou can check this in Tcode WE42 for process code WVIN.
Regards
Srikanth M -
IDoc Function Module(Invoices)
Dear All,
I want IDoc Function Module(Inbound) for T Codes FB60, FB65, FB70, FB75 for Invoices.
Actual Scenario is that i want to transfer data from JAVA system to SAP(Vendor Invoice,Customer Invoice,Credit Memo,Debit Memo) using IDoc.
Please give me the funcion module(IDoc Inbound and Outbound) can be used in above case.
thanks,
RPHi
They are several function modules.
Pls Go to SE37 and enterr idoc and press f4 then you are able to see
all the idoc function module.
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/functions.htm
Regards,
Ram -
Changing IDOC function module?
Hello everyone!
I would like to make changes to the function module responsible for creating Sales Order Idocs: IDOC_INPUT_ORDERS. How should I go about this procedure? Do I need to copy the existing function module and create a new one? If so, how do I point the IDOC (ORDERS05) to the new function module (for example, ZIDOC_INPUT_ORDERS).
Thanks in advance!
Warm regards,
Glenn> I would like to make changes to the function module responsible for creating Sales
> Order Idocs: IDOC_INPUT_ORDERS. How should I go about this procedure?
> Do I need to copy the existing function module and create a new one?
(1)This is one possible solution, another one is to use some (2)customer function exits for inbound Idoc these enhancements might be useful: MM06E001, VEDA0001or (depending on platform you are) you might go for e.g. (3)Implicit enhancement. In last two cases you probably dont need to create Z-FM and Z-process code.
> If so, how do I point the IDOC (ORDERS05) to the new function module (for
> example, ZIDOC_INPUT_ORDERS).
1) Copy FM to ZFM
2) Specify characteristic of FM BD51
3) Create Z-inbound process code: WE42 and assign a Z-FM to it.
4) Assign FM to message type WE57
>If you have any other information on how to properly edit the IDOC function
> module (for example, adding ABAP checking codes before populating the IDOC
> fields) it would be great if you could share them!
To add some checks at the beginning you might use all three possible solutions:
(1) in ZFM you might add you code at the very beginning and return some error message
(2) you might use on of the available customer function exits to do some checks
(3) you can do the implicit enhancement and also return some error code at the very beginning of standard FM
In both cases I recommend to go for approach no (2). Useful tcodes: CMOD and SMOD.
Regards,
Jakub -
How to debug outbound Idoc function module for invoice
I have to debug the outbound IDOC function module and UserExit for invoice message type INVOIC, process code SD09, function module is IDOC_OUTPUT_INVOIC and user exit for the function module LVEDF001.
I tried putting the break point in function module IDOC_OUTPUT_INVOIC and recreate the IDOC using WE19 but it creates the idoc but does not stop at the break point. I have also tried generation of idoc through VF02. It again creates the idoc but does not stop at the function module.
Please let me know if I am missing any thing and not doing it right.
Appreciate your help.
RohitHi Ali,
I faced the same problem. Thing is the break point is not getting triggered when i ran tha IDOC through WE19.
What i have done is i created a project for my exit in CMOD and kept some junk code in the exit and executed it through BD21. Then the Break point got triggered. See if it works.
Regards,
Uday S. -
How to find IDOC Function Module for Basic Type:ORDERS05
Hi,
What is the Transaction Code to locate the Function Module linked to the IDOC Basic Type & IDOC Message Type?
Appreciate Your Help.
Thanks,
Kannan.Hi Seshu,
Thanks for your reply. While creating a Custom IDOC, How do I link the IDOC Function Module and Basic Type. Appreciate Your Help.
Thanks,
Kannan. -
IDOC inbound processing ( Function module Rquired )
Hi,
I am working on IDOC inbound, I am looking for a standard FM for Production order confirmation which i need to assign in WE57 along with the standard Message type(Production order confirmation).
Could you please let me know where i can get the standard inbound function modules for the standard idoc types,
for eg: IDOC_INPUT_ORDERS for sales order.
Thanks.
KrishnakumarHi,
Go to WE42 for inbound processing codes and WE41 for outbound.
OR
We have WE19 which is a test tool for IDOC processing.
Provide the IDOC number then press F8, then in the next screen , you will have inbound function module.
Click that button. Then enter the text in search criteria.
Then you can get related function module.
Reward points if helpful.
Thanks and Regards -
Inbound custom IDOC function module
I have created a custom idoc and attached a process code to it. The proceesing function module, reads values from the idoc and inserts into a database table.
My question is will this function module be invoked simultaneously? If so, should I first lock the table before inserting and then unlock it?
Thanks in advance.Hi,
As soon as the idoc reaches SAP, it will trigger the function module you have connected through process code.
If the table is used only by your function module no need to lock the same.
It is always good to lock the table before updating the same.
Regards,
Baburaj -
Idoc/ Function module to create a Licence in GTS
Dear experts,
I have a situation where in I need to create Licence in GTS system based on the information from a 3rd party system. So, Is there any inbound idoc in GTS system to automatically create the licence (I'm using middle ware to convert the XML from 3rd party to an IDOC).
Or is there any function module, to create a licence in GTS system.
Thanks for the Info.
Sorry for the duplication of same question that i posted in GTS forum. I couldn't get a single reply from 3 days, so I reposted the same.
Thanks
-Amit.Hi Amit
I'm facing the same problem you had.
May I ask you how you created the function module?
Thanks in Advance
Ashwaan -
How to find the outbound idoc function module?(Urgent)
Dear All,
How to identify the outbound function module if there is process code assigned to message type.
For partner profile the mesasge type is assigned and idoc type .This is the only information maintained .
Now my question is how to identify the fucntion module which is getting trigger in the system is there any data maintained in the standard table or any t-code .
Points will be rewarded for right answers.
Thank You.
Regards,
Ravi GanjiHi,
If u know the message and basictype then we can know the process code for that message type in transaction code WE64.
if we know process codes then we can know the function modules in transaction codes WE41(Outbound process code) and WE42(Inbound process code).
Each process code is attached with a FM...
Reward if helpful
Regards,
Nagaraj -
How to trigger inbound custom function module?
Hello Experts,
Could someone help me with my dilemma?
I have created a custom process code which is linked to a custom function module for processing inbound IDocs. I have tested the function module successfully and I have set up the partner profile accordingly. The IDocs are coming in but get stuck at status "64". My function module never gets triggered even though in the partner profile it is set up to be triggered immediately. Any idea what I am missing?
Thanks,
MarlinHi marlin ,
just go for these checks and let us know the status ..
1.Check here .
Bd51 assignment of Inbound function module. Present or not
Check here .
2.Bd67 assignment of process code to inbound function module /present or not.
3.
Check here.
In the object for the message type u need to give the BUS object as the application object.
like bus2032
4.
Now place a break-point in ur function module and run it in debugging mode ..
Now check whether this one is getting into ur function module , next check the status record of the document number .
regards,
vijay.
take an idoc , populate it from we19 and then there call the function module in debugging mode in back ground ..
we'll see if this is actually picking the Fm or not.
Message was edited by: Vijay -
Hi Experts!!,
How to find out Function Module which system is using for Inbound Idocs ?
Thanks in advance.Anil,
If these are existing iDocs being processed in your system, I would recommend you run WE19 for an existing iDoc, click on 'Standard inbound', and make a note of the Function Module determined. That will let you know which FM is used for those specific conditions. You might also want to check transaction WE57, which shows FM assignments to iDoc & Message Types, also WE42 for Process Codes. Process Codes are selected in the WE20 Partner Profile, and point to an FM, therefore in theory you could use different FMs for different Partner Profiles.
Cheers, Paul. -
LOIPGR01 Inbound posting function Module
I need to post LOIPGR01 idoc into ECC. Is there any function module or BAPI to post this IDOC to application?
Thanks.I config inbound process using INBOUND_IDOC_PROCESS FM to handle LOIPGR idoc. But when I test the inbound LOIPGR idoc and it threw CX_SY_DYN_CALL_PARAM_MISSING exception and saying
When calling the function module "INBOUND_IDOC_PROCESS", one of the parameters
needed according to the interface description was not specified.
This parameter was "IDOC_CONTROL".
But I can saw IDOC_CONTROL parameter contains values in debugger. -
Hi all,
I have a idoc. In this Idoc i need to populate a segment which is not populated previously if it satisfies the selection criteria.
For this i have to write a function module and this function module should check theselction and populate this field in Idoc.
Can anyone help me in doing this.
<REMOVED BY MODERATOR>
Regards,
Saroja.
Edited by: Alvaro Tejada Galindo on Jan 31, 2008 11:28 AMYou can hook into a user exit in the IDOC and directly populate the segments at the time the IDOC is created or processed.
The process and user exit to use depends on:
- what IDOC are you using
- is it inbound or outbound
- what are the criteria for the population of the segment
Hope that helps,
Michael -
Code Inspector / Extended Check - Error in Inbound Custom Function Module
I have created a new cutom FM for Inbound IDOC Application Posting.
In the TABLE Parameter of FM the following Tables difined.
IDOC_CONTRL LIKE EDIDC
IDOC_DATA LIKE EDIDD
IDOC_STATUS LIKE BDIDOCSTAT
RETURN_VARIABLES LIKE BDWFRETVAR
SERIALIZATION_INFO LIKE BDI_SER
while checking with Code Inspector Tool I got an Error for BDI_SER.( Last Table Parameter of the FM)
Syntax check warning
"BDI_SER" can be enhanced. After a structure enhancement, the semantics of the
parameter transfer may change.
Internal Message Code: MESSAGE G_B
(The message can be hidden with "#EC ENHOK)
Type "BDI_SER" or the type of one of its subcomponents can be enhanced. The semantics of the parameter transfer may change after a structure enhancement.
For the execution of a Remote Function Call (RFC), the actual parameter and formal parameter do not have to be of the same type. In the case of structure types, the actual parameter and formal parameter can contain additional components at the end. These additional components are set to their initial values.
Check whether the enhancement category of the relevant type correct is set or whether the category "cannot be enhanced" should be used.
How to fix this error? other wise how to supress the Message by adding "#EC ENHOK
where I have to add the Comment "#EC ENHOK.
please help to give details .
Thanks in advance.
SharIn the source code you will have this in comment right, use the "#EC ENHOK.
Maybe you are looking for
-
Installed iTunes on Windows 7 64-bit - converted ALL programs to iTunes
Help. Installed iTunes on Dell Studio XPS running Windows 7, 64-bit. Prior to install, all programs showed their appropriate thumbnail and when you clicked on the program it opened said program. After installing iTunes, all programs (and thumbnails)
-
SAP Standard Workflow for REFUNDS in FS-CD
Hi We have a requirement to implement SAP Workflow in Financial Services Collections & Disbursements (FS-CD) module for REFUNDS Approval. Is there any SAP standard Workflow available to meet the requirement? How to find the Standard SAP workflows ava
-
Please help
-
Downloading CS6 Extended To New Computer
I am trying to install the CS6 Extended Software to a new computer. How do i go about installing it? I have my serial number. How do i get my license key to confirm that I have purchased the software already?
-
Hello Gurus, I wanted to use scale type D for one of my scenario The details are given below I want to divide the share of revenue betwen my client and his JV partner. I created a condition type ZBAS - for basic rate * quantity. This condition type i