Skip to Content
0
Jun 26, 2009 at 12:49 PM

Problem while creating IDOC

15 Views

Hi Friends..

I have created IDOC through program.

IF Shipment = 'X'.

perform shipment. -


>Shipment report

perform shipping. -


>Idoc creation form

PERFORM ftp2.

PERFORM move_ftp_entries.

perform shipment_display.

*

ELSEIF Receipt = 'X'.

perform Receipt. -


>Receipt Report

perform Receiving.----


>Idoc creation form

PERFORM ftp1.

PERFORM move_ftp_entries.

perform receipt_display.

ELSEIF Test = 'X'.

perform Test. -


> Test report

perform testdata.----


> Idoc creation form

PERFORM ftp.

PERFORM move_ftp_entries.

perform test_display.

ENDIF.

if I follow the above condition Idoc created for every report perfectly.But when I come to the following logic no idoc was created...

perform shipment. -


>Shipment report

perform shipping. -


>Idoc creation form

PERFORM ftp2. -


>FTP generation form

PERFORM move_ftp_entries.

perform shipment_display.----> Display form

perform Receipt. -


>Receipt Report

perform Receiving.----


>Idoc creation form

PERFORM ftp1.

PERFORM move_ftp_entries.

perform receipt_display.

perform Test. -


> Test report

perform testdata.----


> Idoc creation form

PERFORM ftp.

PERFORM move_ftp_entries.

perform test_display.

I want to generate IDOC for all my three reports.

Thanks

Gowrishankar