cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Program for idoc generation??

Former Member
0 Likes
2,295

when using ALE (change pointers method) to transfer data.

1) what is the Program that triggers IDOC generation

2) which program sends the data

please explain rather than sending documentation.

thanks

reddyashwini24@gmail.com

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Ashwini,

when using ALE, program RBDMIDOC initiates the process of generating idocs. Now depending on the type of data u want to transfer, this program will invoke respective function module. Kindly award points.

Thanks.

Former Member
0 Likes

1) RBDMIDOC generates idocs you said. but how does the idoc go to the recieving system . is there a way to send it?

2) are there other programs which create idocs?

3) what is the purpose of program RBDMOIND and RSNASTED???

Former Member
0 Likes

3)

RBDMOIND to confirm whether idocs have been successfully

dispatched to the receiver..and v can also use this program to change the status of idoc from 3 to 12....

RSNATED is the program used for triggering IDOC for the output type..where the output medium is 6.

And the subroutine that triggers the IDOC in the program is EDI_PROCESSING.

RSNASTED itself determines the associated IDoc outbound function module, executes it to fill the EDIDx tables and passes the prepared IDoc to the port.

You can call the standard processing routines from any ABAP, by executing the following call to the routine. You only have to make sure that the structure NAST is declared with the tables statement in the calling routine and that you fill the at least the key part and the routing information before.

TABLES NAST.

NAST-MANDT = SY-MANDT.

NAST-KSCHL = 'ZEDIK'.

NAST-KAPPL = 'V1'.

NAST-OBJKY = '0012345678'.

NAST-PARNR = 'D012345678'.

PERFORM einzelnachricht_screen(RSNAST00).

Calling einzelnachricht_screen determines how the message is processed. If you want to force the IDoc-processing you can call it directly:

TNAPR-PROGN = ''.

TNAPR-ROUTN = 'ENTRY'.

PERFORM edi_processing(RSNASTED).

~~Guduri