cancel
Showing results for 
Search instead for 
Did you mean: 

How to call a t.code basing on file

Former Member
0 Kudos

Hi Experts,

   I had an requirement,

   1.File is stored in temp directory

    2.PI picks up the file

   3.then it will cal a t.code ff.5,then that should be placed in the filed of  'STATEMENT FILE'.

    4.Now execute the transaction.

   5. if success then give a success email alert

    6. if failure then give a failure message with the file as attachment.

  how can we achieve it?

thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Where is the file stored? Is it possible for ECC server to access the file? I think it would be easy to write a program in ABAP and schedule it to pick up the file, execute the transaction and send notifications. You need not pick up the file from PI.

If the file is placed on some ftp server then you might need PI for security reasons otherwise it would be easy to do this in ABAP itself.

Regards,

Beena

Former Member
0 Kudos

Hi Beena,

  

       Thanks for your reply,

Answers (0)