Functiopn module associated with basic type of idoc without process code
can i know the function module assciated with basic type of idoc if i do not know the process code for the same
hi saurabh,
download.oracle.com/docs/cd/B10464_05/integrate.904/b10299/intro.htm
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = wa_edidc
TABLES
communication_idoc_control = it_edidc
master_idoc_data = it_edidd
EXCEPTIONS
ERROR_IN_IDOC_CONTROL = 1
ERROR_WRITING_IDOC_STATUS = 2
ERROR_IN_IDOC_DATA = 3
SENDING_LOGICAL_SYSTEM_UNKNOWN = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDIF.
ENDMETHOD.
i think this will help u
regards,
sindhu.
Similar Messages
-
What is Basic type in IDoc?
Hi all,
What is Basic type in IDoc? Please explain me in layman terms. How to see the details of basic type ALEREQ01? Please point me to related files or threads.
Thanks,
Charles.Hi,
<b>IDOC Basic type means, IDOC type delivered by SAP</b>. When you want to modify the IDOC provided by SAP, you create an Extension IDOC of Basic type.
<b>This is what SAP says about "Basic Type".</b>
IDoc type supplied by SAP (standard format for data communication). Basic types can be modified by customers to create a new, upward-compatible IDoc type. Basic types can also be defined by customers and modified at a later date. Basic types and subsequent modifications created by customers are not necessarily upward-compatible.
<b>To check detail of any IDOC, user transaction <u>WE60</u>.</b>
Check area Menu <b>WEDI</b>. Its a Area menu for all IDOC related transaction. Enter command WEDI ( where you enter transaction code - Top left of screen ). Also, this command only works from very first screen of SAP. This is SAP eacy access screen you see when you logon into SAP. Since WEDI is area menu, you can only execute from very first screen.
Here is the list of other area menu.
WEDI - IDOC and EDI Basis
BALE - ALE Administration
Let me know if you need any other information.
Regards,
RS -
Doubt in IDOC Regarding Process codes
Please check the link
http://idocs.de/www5/books/IDocBook/cook_A5.pdf
In page no: 32 (Topic: 8.5 Assigning a processing function ) ,FM is assigned directly to Message type and Idoc type combination.
But in the next page, Process code is created for that FM and Asigned that process code to message type and Idoc type combination.
What's the differece.
Another thing is in which transaction we assign Process codes to Message type and Idoc type Combinations
Above tutorial looks like old version. In my system Transactions are looking different ,than they are in Tutorial. I am working in version 5.0. If possible, Please provide me perfect material.Hi
Process code always points to a Function module
Means it calls the fun module
In We41/42 you creata process code and assigns to a Message type
so means that Process Code, Idoc Type and Message type are interlinked
Even you can check in WE20 partner profile
in the Outbound
double click on the Message type and press message control , it shows the process code attached
and double click on the process code it shows the fun module attached to it.
Reward points if useful
Regards
Anji -
Doubt in IDOC's - Process Codes
Hi,
Currently i am working on an object related to IDOC generation. This is my first object in IDOC's. I am doing it from the scratch including creation of segments, IDOC type, message type, process codes...
In this process, I am developing a function module that should be assigned to the process code. My doubt here is, is there any standard interface to the function module that we have to assign to the process code?
I am also giving the flow which i will be using in developing the Function module. Please go through it and kindly let me know if I am doing it in the right way or not?
1. Extract data from data base based on the entry in NAST
2. Filling IDOC DATA & Control records
3. Calling the FM MASTER_IDOC_DISTRIBUTE to generate the IDOC
Please suggest me whether i am doing it in the correct way or not?
Thanks in Advance,
Best Regards,
PhaniHi,
For outbound u need to attach ur FM to the process code in WE41 tcode..I think u r using message control method for ur requirement.please look at the configurations for outbound using message control method.we use we41 (outbound process code) and we use this in the message control tab in the partner profiles.
The transaction codes that are required for this method are
We81
We30
We31
We82
We21
We20
Bd64
Nace
Me22n (purchase order), va02 (sales order) etc.
Ex: purchase order.
Message type: ORDERS
Idoc type: ORDERS05
Outbound process code for purchase order: me10
Regards,
Nagaraj -
Trigger workflow when IDOC Status 51 & with Basic Type "ORDERS003"
Hi Experts,
Can any one explaine how to create worlflow for "When Idoc status is 51 with the combination of Basic Type "ORDERS003" . If this condition will satisfy i need to send a mail using worklflow. For this one Bussiness type is BUS2102".
Can you explaine any one please i am new to Workflow.
Regards,
SriHi,
Please refer to the below thread. Hope it helps.
Triggering workflow upon idoc fail
Regards,
Sridhar -
Trigger WBS idoc with basic type PROJECT01 when ever saved
Hi
I have requirement where idoc has to trigger each time the field value is changing to replicate changes to master data through a new document. And also only WBS elements with Project Type = 'TS' (Time tracking level). I am new to Idocs. Please hlp me how to do this. I have to use PROJECT01 idoc type.
Regards,
LohithaHi,
Please refer to the below thread. Hope it helps.
Triggering workflow upon idoc fail
Regards,
Sridhar -
Enter a valid basic type - BW IDoc type RSSEND is not same as the SS IDOC
Hi,
I am connecting the ERP system to BW system, and am getting error:
CHECK(context menu source system):
@5C@ BW unknown in source system RSAR 8
@5C@ The BW IDoc type RSSEND is not the same as the source system IDoc type RSAR 371
RESTORE(context menu source system):
Information: Enter a valid basic type
Information help:
Enter a valid basic type
Message no. E0434
Diagnosis
An entry with the key /BD2CLNT100/LS//RSSEND//// is to be inserted in
table
EDP13.
The value 'RSBEND' is not valid for field IDOCTYP.
Procedure
Check whether basic type RSBEND exists.
help requiredHi,
Please find the below link may useful.
http://wiki.ittoolbox.com/index.php/Re-Connect_R/3_and_BW
Reg,
Venkat -
hi iam having z-basic type how to find what is the standard idoc type(for ex MATMAS,Creamas) for that
Step1. Go to WE30 and give the extended IDoc name
Step2. Check the extension button and click on display
Step3. Click on header button (Top 3rd left button)
Step4. In Technical Attributes, you will get the name under "Linked Basic Type"
Hope it solves your query...
Regards,
Prasoon Sahay
Edited by: Prasoon Sahay on Sep 2, 2009 2:18 PM -
Getting path to application associated with file type
Hello,
I'm looking for a platform-independent way to get path to application associated with given file type. Desktop API introduced in JSE 1.6 seems to do this, but it only lanuches the app.
Any suggestions will be apprecietedOkay then, how can I open the file in it's associated
application AND get the Process object of app's
instance?If it doesn't bother you that the app will only work on windoze, then you can use the shell "start" command on the file.
Process proc = Runtime.getRuntime().exec(new String[]{"cmd", "/C","start",filePath});However waitFor() will only wait for the process to be launched, not completed. Since your program doesn't know what Windoze will choose to launch, this makes sense. -
C programming used in defining Basic type of IDOCS
Wow , when I go in WE60 and see the basic sturcture for IDOC for ex: MATMAS05, I find its using C programming language ?
Example:
#define E2CUCO
typedef struct{SAP just provides multiple ways to view the definition of the IDoc. These are used to assist external applications to import IDoc structures. The IDoc itself actually exists as numerous table entries within SAP.
-
IDOCs - Simple doubt in INBOUND DELVRY. IDOC-DELVRY03, Process code isDELV?
Hello Experts,
Our SAP system receives the Inbound IDOC for Delivery from Gentran.
Further details are,
Process code: DELV
IDOC type: DELVRY03
Message type: SHPCON
Message code: TOC
Parther profile: Account # of Ship To party
So, my requirement is that,
If this Inbound Delivery IDOC contans the Message Code as TOC, I need to insert/add my logic
so, let me know that,
1) Request u that, let me know How to go ahead, becoz am new IDOCs, like, Is I need to look for the any Usre Exit? I mean, At Wht point I need to add my code in this whole process?
thank you
Edited by: Srinivas on Jun 29, 2008 11:15 PMHi Srinivas,
Use the below user exit for creating a STO order.
CALL CUSTOMER-FUNCTION '003'
EXPORTING
IDOC_CONTROL = IDOC_CONTRL
IDOC_DATA = IDOC_DATA[]
DELIVERY_HEAD = S_KOKO
DELIVERY_ITEM = T_KOPO[]
PACKING_HEAD = T_VSEK[]
PACKING_ITEM = T_VSEP[]
PROCESSING_STATUS = F_STAT
IMPORTING
WARNING_IGNORE = F_FLAG
CHANGING
PROCESSING_PROTOCOL = T_PROT[]
EXCEPTIONS
OTHERS = 0.
Because by the time you get to this point, the delivery document is created. I believe you need to create the STO order only once the delivery document is created.
Thanks,
Mahesh. -
Hai Friends
I created new CUstom idoc for BETMAS01.
Please give response to the following topics.
1)What is the process code or TCODE of BETMAS01 (Site master).
1)How to raise the outbound idoc automatically when the site data was created?.
Advance Thanks to all.
WIth regards
KrishnaHai Friends
I created new CUstom idoc for BETMAS01.
Please give response to the following topics.
1)What is the process code or TCODE of BETMAS01 (Site master).
1)How to raise the outbound idoc automatically when the site data was created?.
Advance Thanks to all.
WIth regards
Krishna -
Transaction code to create IDOCs without Processing them. Just to create.
Hi All,
Would like to know if there are any tcodes to just create Idoc.
I need Idoc# created and not processed.
Whenever i create it using WE19, idoc# is generated only after processing.Would like to know if its possible to just create IDoc i.e Idoc with Idoc# generated. But not processed.
I would like to process it separately later.
Appreciate ur help.
Thanks
DhilipanHello Gowri,
Thanks a lot for throwing some light..
Checked with the Partner profile, it was set to trigger immediately. When i change it to trigger by background program.
and thn try creating idoc in WE19, it just creates it without processing.
Thanks a lot for the support.
Dhilipan -
IDOC with basic type INVOIC01 help !!!
Hi experts,
In this idoc type INVOICE01, where I can see the customer number?
I created a function module to process this inbound IDOC and trying to get sales orders by BAPI function module BAPI _ SALES_GETLIST , but I don't know how to get the customer number to fill in this function module.
Thanks,
GyHi,
I viewed the structure E1EDKA1.
I found out the value of this segment in my inbound IDOC. Its partner function code: RE, LF, PI.
Could you explain that, and tell me which the partner function can I get the value of field vendor number (LIFNR - Vendor number at customer location ) and assign to customer number?
Thanks,
Gy -
Hi,
In what table can I find relation between the<b> Plan Activity</b> and <b>Distribution Key</b> data assciated with a <b>Activity Type</b> field in Costing transaction KP26.
Please help.
Regards,
Rajesh.HI,
Please check these notes.
86613
688883 Confirmation with price 0: Message BK057
645811 Confirmation with plan price 0: No costs in CO
Plese assign points if it useful.
Regards
Ravinagh Boni
Maybe you are looking for
-
How to display icon status in table control
hi, i trying to display icon in table control its not displaying i given below statment. DATA: BEGIN OF WA_MARA, ICON1(4) TYPE C, END OF WA_MARA. INCLUDE <list>. MOVE ICON_GREEN_LIGHT TO IT_MARA-ICON1. APPEND IT_MARA.. when i de
-
Why does Adobe Premiere CC lockup on the launch?
Why does Adobe Premiere CC lockup on the launch?
-
My 5 years old M55-S3414 need M50 or M55 recovery disk. I heard a lot of M55 doesn't recognize the recovery CD, therefore I do not want to buy it from Toshiba for $24.95 and find out they are not working, plus the computer is too old and is not wor
-
Hi all, How can we schedule and monitor the process chains.How can we know that the process chains are executed correctly and where can we get the error messages for the failed processes? Also when i drag the attribute change run process after an exe
-
I would like to build a cube which allows hundreds of distributors with access to the cube. Each distributors only have access to own sales data. Using filter, I can block users of Distributor A from seeing sales data of Distributor B, but the users