cancel
Showing results for 
Search instead for 
Did you mean: 

How to get File name in Proxy program

Former Member
0 Kudos

Hi,

According to my business scenario, one XML file name comes from Legacy system and stores in a predefined directory. Now XI has to pick up that XML file and needs to call BAPI's which in turn updates the Target system ( SAP Tables).

Now my problem is , XML File name is a combination of three fileds those are DATE , OBJECTKEY AND WORKFLOWNAME.

Ex : YYYYMMDD_1234565789_WORKFLOWNAME.XML

DATE_OBJECTKEY_WORKFLOWNAME.XML

In proxy i need to get the file name and split into three fields ( those are DATE , OBJECTKEY AND WORKFLOWNAME ) which needs to send as import parameters in BAPI's.

So please let me know from anyone in this group how to get the file name in the proxy program.

Thanks & Regards

K. naveen Kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member279310
Discoverer
0 Kudos

I have same problem. Does anyone else know? I can't find the answer in above blog. Thank you very much.

Message was edited by:

Aaron Wang

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

have a look at my new weblog:

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

to see how you can access filename

Regards,

michal