‎2008 Jul 01 2:07 PM
Hi experts,
can u pls clasrify the following doubts:
1) what is the diff b/w Idoc , idoc type & basic idoc type.
2)if i want to generate an idoc when executing Transaction (Like VA02) how we can link idoc to this transaction or what is the procedure to do this ?
pls do the needfull
Points will be reworded.
‎2008 Jul 01 2:59 PM
Hello Sharan,
First I ll explain 2nd point as I know it properly.
follow this steps directly as u can understand easily
Goto NACE
select application (V3 if suppose)
click output types
Select output type (ZD1 if suppose)
Partner functions -> select Distribution ALE
Processing routines -> if it is standard program is RSNASTED and form routine is ALE_PROCESSING.
if it is custom u just give ur prog name and form name
Note: the form in ur prog is dynamic program and should contain two parameters ret_code and int_screen.
Make ret_code as 0.
Fill all general values and save it.
check in nast table where one entry should be added with all these details what we filled.
Now this will be triggered and IDOC will be created whenever the task is done (U can assign this output type to the required task).
IDOC number is the unique number created in runtime.
IDOC type contains the segments with all the required data to send through IDOC
it can be basic type or extension type
U check in EDIDC and u can understand. Generally for the standard IDOC will be updated by using extension IDOC.
This might not be clear to u I hope. Better to go the existing SAP help.
Regards,
Subbu