Finding Function Module in IDOC
Hi All,
I am creating business partner and inbound IDOCs are being posted.I want to find out the following lists from the IDOC.Please help me out:
1.Function Module involved
2.Partner function
3.Process Code
Thanks in Advance.
Hi,
Check the following tcodes.
1.Function Module involved : check WE19
2.Partner function : we20
3.Process Code : we41 and we42
reg,
siva
Similar Messages
-
How to find standard function modules for IDOCs
Hi,
Can anyone tell me is there any way to find the standard function module for IDOC. I have checked BD60 but it's not available. For example Idoc type WPUBON01 and I need to know the function module. Can anyone tell me the way out.
Secondly, if anyone can provide me the code to map the file fields and idoc segements.
RegardsUse WE82 to find message type associated with Idoc type.
Then use this message type as a search string to find the FM.
The associated FMs are.
POSED_FILL_OVERVIEW_ENT_WPUBON
POSED_INIT_DATA_WPUBON
POSED_LOCK_DATA_WPUBON
POSED_OVERVIEW_ASSIGN_WPUBON
POSED_READ_DATA_FROM_DB_WPUBON
POSED_READ_TR_DATA_WPUBON
POSED_SAVE_DATA_WPUBON
POSED_SEARCH_STRING_WPUBON
POSED_STORE_DATA_WPUBON
POSED_UNLOCK_DATA_WPUBON
POSED_UPDATE_DATA_WPUBON
POSED_UPDATE_TR_DATA_WPUBON
Thanks,
Utsah Garg. -
Problem to trigger breakpoint in function module of idoc
Hi,
We have requirement to write the additional code in function module in IDOC to fulfill the one of business requirement. To write the code in the function module we put the breakpoint in function module but the function module is not triggering the breakpoint after saving the billing document.
IDOC we are using is INVOIC02
Function Module we are using is IDOC_OUTPUT_INVOIC
i found the relevant for answer for my question in above link -
[[http://blog.csdn.net/xyfchris/archive/2007/10/04/1811389.aspx]e]
I process the same way as explained in the above link, but still the function module is not triggering the breakpoint and showing the information message as -
0 number of outputs were processed in total and zero are successfully, zero are incorrectly
Please help in this
Regards
Goutham
Edited by: goutham p on Dec 30, 2008 8:00 AMHi,
Please ask the ABAPer to just use P0105-PERNR within Z-report.
It should work.
Please refer to the following WIKI page for reference:
http://wiki.sdn.sap.com/wiki/display/ERPHCM/HowtoCreateaDynamic+action
Regards,
Dilek -
Inbound function module for IDoc type INFRECMASS01
Hello everybody,
What is the inbound function module for IDoc type INFRECMASS01?
I tried IDOC_INPUT_INFREC (as for IDoc INFREC01), but I got the following message (B1 044): Incorrect function module IDOC_INPUT_INFREC called up
Thanks in advance
RolandThe only difference between INFRECMASS01 and INFREC01 is that repitition of the same segments. However, the standard function module is hardcoded with IDOC type INFREC01, so if you want to use the MASS IDOC copy the standard one and put in the logic to loop around and process the info records one by one.
There is no standard funtion that can process mass idoc of the info record.
Regards,
Ravi
Note: Please mark the helpful answers -
hi all,
how to find out particular function module suitable for this requirement.
how to findout fmHi Narendra,
Apart from above replies, you can find function modules this way:
1) Go to SE37
2) From Menu, click <b>Utlities</b> and select <b>Find</b> option.
3) A repository info system to find function modules will be opened.
4) Use wild cards in function module box or short description to find function modules.
PS: You can use this way to find programs in se38
Regards,
Vivek -
Out Bound Function Module For IDoc Types CODCMT01
Hi Experts,
Can you please tell me the Out Bound Function Module For IDoc Types CODCMT01,CODCAGN01,PRCDOC01.
Thanks..
Debi.Hi Debi,
You can use FM MASTER_IDOC_DISTRIBUTE to distribute outbound IDoc CODCMT01, CODCAGN01 and PRCDOC01.
Regards,
Ferry Lianto -
What is outbound function module for IDoc type INFRECMASS01
Hi,
What is outbound function module for IDoc type INFRECMASS01? This is for purchasing info record.
Thanks
KamalHi Kamal,
Have you looked standard program <b>RBDSEINF</b> or transaction code <b>ME18</b>?
This program will call function module <b>MASTERIDOC_CREATE_REQ_INFREC</b> to generate purchasing info record IDoc.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
How to find Function Module & Program Name Used by IDOC
hii Experts,
i want to find program name & function modules used in IDOC. I have Idoc type, Message type & extension type.
Help meHi Vinod,
Go to transaction WE64, click on the <b>search for message type</b> or press <b>shift+F6</b>. A popup will be displayed and here enter the message type for example 'QUOTES', u will be taken to the process codes available for the message type u have entered. click on the process code and data related to that process code will be displayed in the right hand side. Now double click on the process code, a pop up with function module name will be displayed. copy that and search for where used list in SE37.
Hope it helps.
Regards,
Phani. -
Debugging customized function module when Idoc is triggered via ALE
Hi,
Whenever we save the billing document, an outbound idoc is triggered via ALE. The logic for the data to be included in the idoc is written in a customized function module.
However we are making some changes and would like to include some more data in the idoc. But we find that when we put a breakpoint in the function module, on saving the billing document, the flow does not stop at the break point. We are 100% sure that the code in the function module gets executed based on the data in the idoc.
How do we get into debug mode and break the flow in the function module so that we can debug in the function module?
Any help would be greatly appreciated.
Thanks in advance,
MickHi Mick, this might be of some help 4 u.
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE - for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 - Create Model View
Tcode BD82 - Generate partner Profiles & Create Ports
Tcode BD64 - Distribute the Model view
Message Type MATMAS
Tcode BD10 - Send Material Data
Tcode WE05 - Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE - for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 - Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 - Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 - Create Model View
Tcode BD82 - Generate partner Profiles & Create Ports
Tcode BD64 - Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE - for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 - Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 - Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 - Send Material Data
Tcode WE05 - Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
cheers,
Hema. -
Outbound function module for IDOC WMMBID02
Hi,
Do we have any outbound function module for basic IDOC type WMMBID02 (Stock movements from ext. systems) which has message type WMMBXY.
I searched with hot keys OUTBOUND_WMMBXY in SE37 but unable to find a standard FM. My task is to extend that FM by a user-exit so as to populate my extended IDOC which is of basic type WMMBID02.
Any help would be greatly appreciated.
Regards,
HarshHi Kamal,
Have you looked standard program <b>RBDSEINF</b> or transaction code <b>ME18</b>?
This program will call function module <b>MASTERIDOC_CREATE_REQ_INFREC</b> to generate purchasing info record IDoc.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
Trying to find Function modul for requirement capacity in work center
Hi Colleagues,
I have tried to find a function modul: Import - Work center , Export - requirement capacity.
but havn't succeed with.
I will be glad for any help.
tnx & best regardsI need a FM that export the requirement capacity of a Work center.
Report CM01 has the same functionallity, however, by debugging it I coudn't find any useful function, morever, I have found a thread in the forum with the same issue but it wasn't helpful.
an example for my needs is as followed:
Function: CAPACITY_REQUIREMENT_FOR_WORK_CENTER
IMPORT:
1. Work Center = MG1602
2. Plant = 1000
3.date from = 01.04.2011
4. date to = 01.05.2011
EXPORT:
1. Capacity Requirment (Total) = 240 [Hours]
2. Capacity Requirment (period) = 22 [hours] -
How to find function module in se37
hello friends,
i am supposed to extract revesion level, matnr, plant from sap to an excel sheet.
matnr and plant we can get from marc or mara, but i could not find revision level on these tables.
the technical name is REVLV
i searched for function modules in se37 i got 3 function modules, but there was no documentation,
how does anyone get tpo know which function module works for them , with out having documentation.Hi,
What is your requirement actually and what purpose I did't get you
any how I got these below FMs which is having the field REVLV
you can go through below FMs.
/SAPHT/DRM_MAT_BOM_READ
API_DOCUMENT_MAINTAIN2
API_DOCUMENT_SAVE_BOM
BAPI_DOCUMENT_CHANGE2
BAPI_DOCUMENT_CHECKIN2
BAPI_DOCUMENT_CHECKIN_REPLAC
BAPI_DOCUMENT_CHECKOUTCANCEL
BAPI_DOCUMENT_CHECKOUTMODIFY
BAPI_DOCUMENT_CHECKOUTSET2
BAPI_DOCUMENT_CHECKOUTVIEW2
BAPI_DOCUMENT_CREATE2
BAPI_DOCUMENT_CREATEFROMSRC2
BAPI_DOCUMENT_CREATENEWVRS2
BAPI_DOCUMENT_GETLATEST
BAPI_DOCUMENT_GETLATEST2
BAPI_DOCUMENT_GETSTRUCTURE
BAPI_DOCUMENT_WHEREUSED
BBP_PROD_REVLV_CHECK
C14SX_BAPI_DOC_CREATE2
C14SX_BAPI_DOC_CREATE2_EXIT
CAD_DISPLAY_BOM_WITH_SUB_ITE
CAD_ECM_READ
CDESK_CALL_CHECKOUT_WIZARD
CDESK_CHECKOUT_WIZARD
CDESK_CHECKOUT_WIZARD_RFC
CDESK_GET_STRUCTURE
CDESK_WHERE_USED
CM_DI_PROCEED_MAT_PROV
CO_SD_BOM_SELECT_DIALOG
CSAP_DOC_BOM_CREATE
CSAP_DOC_BOM_DELETE
CSAP_DOC_BOM_MAINTAIN
CSAP_DOC_BOM_READ
CSAP_MAT_BOM_CREATE
CSAP_MAT_BOM_DELETE
CSAP_MAT_BOM_MAINTAIN
CSAP_MAT_BOM_OPEN
CSAP_MAT_BOM_READ
CSEP_MAT_BOM_READ
CS_RT_DIALOG_CALL
CV115_ECN_CHECK
CV115_ECN_REVLEVEL_SET
CVAPI_DOC_CHANGE
CVAPI_DOC_CREATE
CVAPI_DOC_MAINTAIN
DMU_DOC_BOM_EXPLODE
DMU_DOC_BOM_READ
DMU_MAT_BOM_EXPLODE
DMU_MAT_BOM_READ
EXIT_SAPLQAAT_002
EXIT_SAPLQBCK_001
EXIT_SAPLQBCK_003
EXIT_SAPLQPL1_001
MB_CHECK_MPN_RELATION
MB_CHECK_MPN_VALIDITY
MB_MPN_CHANGE_READ_DATA
MB_SEARCH_HTN_MATERIAL
MEPO_CONFIRMATION_PAI
MEPO_CONFIRMATION_PBO
MEX_CHECK_REVISIONSSTAND
ME_CONFIRMATION_MAINTAIN
ME_SEARCH_REVISION_LEVEL
MMPUR_Q_INFORECORD_DISPLAY
QAAT_CHECK_QM
QBCK_INSP_TYPE_LIST
QBCK_INSP_TYPE_NEXT
QBCK_QINF_LIEF_ZAEHL
QBCK_QINF_QUANTITY_CHANGE
QBCK_QINF_READ
QBCK_QM_DOCUMENT_TEXTS
QBCK_QM_GR_CHECK
QBCK_QM_PUR_CHECK
QBCK_QM_PUR_MNG_UPD
QBCK_QM_SYSTEMS_COMPARE
QBCK_VB_QINF_PLOS2_POST
QBCK_VE_QINF_STATUS
QELA_QINF_SELECT
QPAP_PLAN_SELECT
QPL1_CHECK_CREATE_POSITION
QSS1_QINF_SHOW
QSS2_REVLV_F4
RFC_DISPLAY_BILL_OF_MATERIAL
ZQM_CREATE_05_INSPECTION_LOT
Regards
Ganesh -
How to find function module's and tables used for the particulat screen or TCODE?
Hello Nation,
I would like to know how to find the function modules and tables used for the particular screen or TCODE or program.
Example : I would like know the function module used in the program RDBGFT?
How can i find that?
Thanks in advance ,Awaiting your reply.Make use of Find function with the keyword "CALL FUNCTION".
Make use of the same find function with the keyword "Select" to know the database tables used.
Regards,
Philip. -
Report to find function module names
Hi all,
My requirement is to get generate a report with the list of obsolete function modules and the SAP recommended function module equivalent to it. i have identified the table to get the obsolete function module . I m not able to get the function module equivalent to tithe obsolete function module.
Thanks
sivaHi Sivaprasath,
U might have referred RODIR table for finding out function modules which are obsolete.
To find the replacement of obsolete function modules check OSS notes in service.sap.com with search string as the name
of the function module.
U will get Related notes where u can get the alternative FM.
Also check the documentation of obsolete FM,Else check the short description.It might be mentioned there itself for Alternative Function Module.
Regards,
Lakshman. -
How to find function module exit name when i know the Include
As per my requirement i should change the existing exit. I know the include name but i want to
know exit name. How to find out exit name based on include name. I tried Where-used list but it
is not giving the exit and function module name.Please let me know.
Regards
RajithaHello Rajitha,
1. You can do a "where-used" for the include & get the corresponding name of the exit function module.
2. Goto table MODSAP & in the field MEMBER pass the name of the function module & you will get the Exit Name in the NAME.
Hope this helps.
BR,
Suhas
Edited by: Suhas Saha on Mar 16, 2009 3:08 PM
Maybe you are looking for
-
When I plug my phone into the computer nothing happens. The phone doesn't respond the computer doesn't show anything and ITunes doesn't show anything!
-
Different schema group for one vendor
Dear all, We come across scenario,Where a vendor import material for us and at same time he also acts as a dealer.Here it requires two schema groups for a vendor. One possible solution is two different vendor codes for same vendor. Here i come across
-
Hi everyone, I am creating a inbound delivery using BAPI BAPI_GOODSMVT_CREATE, assigning HU through BDC and then creating a Transfer Order through BDC. Immediately after creating TO, I am trying to confirm it through BDC but I am getting an error sa
-
How does everyone else do it then?
Argh. Perhaps some of you can help me. I've been in a heated discussion today with my boss and the head programmer about the necessity for normalizing the database. I was hired a few months ago to put a web front end on a very large legacy system run
-
Is it possible to list list files/folders by date created rather than date modified?