cancel
Showing results for 
Search instead for 
Did you mean: 

File to IDOC or Proxy ?

Former Member
0 Kudos

i have a scenario,where i get a flat file and that need to be loaded to SAP ECC.

i get a flat file with details of some project id,Company code,etc.....The movement XI gets the message,it should trigger a workflow in SAP ECC system (approver system).This is to approve the project saying go ahead with project.Approver might approve that request in a day or two.Till then,is it possible to have the message in XI system.If so how to trigger a workflow thru XI.once the approver approves,then it should be back to XI System and then proceed to SAP ECC system again.Please note Approver system and the SAP system is same SAP ECC system...once the approval is done then to SAP ECC..if the appover doesnt approve..then it should go back with some message why that is not being approved....do we need to go with BPM here or basic scenario will do......if it is with BPM,what are the steps to go with.if it a normal process how to go with.we are using SAP PI 7.0 SP 14.

any idea how to go ahead...

Accepted Solutions (1)

Accepted Solutions (1)

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>The movement XI gets the message,it should trigger a workflow in SAP ECC system (approver system).

For this the Message should get into SAP ECC.

>Approver might approve that request in a day or two.Till then,is it possible to have the message in XI system.

It is not advicable to wait in XI, If so try to store it in a external database

>Please note Approver system and the SAP system is same SAP ECC system.

Why can't you store the message in the SAP ECC itself than storing it in XI

>once the approval is done then to SAP ECC..if the appover doesnt approve..then it should go back with some message why that is not being approved

Since it is not real time Response it is not advicable to go ahead with Sync, Why can't you consider request & response as different interfaces

Regards

Agasthuri Doss

Former Member
0 Kudos

Why can't you store the message in the SAP ECC itself than storing it in XI ?

how to do that...can u brief it plz....

Former Member
0 Kudos

Hey

>>Why can't you store the message in the SAP ECC itself than storing it in XI ?

Thats pretty simple,you will split your scenario in 2 scenarios.

first one is File(sender system)->XI->File/Proxy(ECC system)

second scenario will kick in after two days and this will pick up the file from ECC system and based upon the approval/disapproval will send it to ECC again or completely discard the file,it will be Proxy/File(ECC system)->XI->Proxy/File(ECC,only if approved).

The first scenario is only done to store the file temporarily in some intermediate system,rather than holding it in BPM and clogging other mesages,this intermediate storage can be ECC,File system,JDBC etc.

Thanx

Aamir

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>store the message in the SAP ECC

Declare a Table and Store it and when ever you want Populate it

Regards

Agasthuri Doss

Answers (1)

Answers (1)

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>where i get a flat file and that need to be loaded to SAP ECC.

Since you requirement needs to trigger Work flow & Need to Store the message, Is it Mandatory that you want to pass the Message thru XI. Why can't you execute a report from SAP ECC and read the File.

Regards

Agasthuri Doss