cancel
Showing results for 
Search instead for 
Did you mean: 

File content conversion

Former Member
0 Kudos

HI XI experts,

Im doing a file to proxy scenario, where the file has header ,data and trialer.

For header & trailer we have key filed name for identifying but for data there is no key field name so please suggest as how can i handle this.

Im doing some validation of the heade and trailer part as well using ABAP mapping.

please give your valuable suggestions.

Regards

Archanaa

Accepted Solutions (0)

Answers (2)

Answers (2)

pradeep_nellore
Participant
0 Kudos

For data field you can specify length of filed in FCC parameters.

Former Member
0 Kudos

hi,

But if i just mention the fields for Data part its asking for the key field name.

Regards

Archanaa

aashish_sinha
Active Contributor
0 Kudos

Hi,

Have a look into these blogs. and check out the configuration and the steps involved in it.

File to Proxy --> Thise blogs is a good starting point,

If you are looking at proxy to file,

Also, to activate ABAP Proxies on your SAP system,

Hope this will help you.

Regards

Aashish Sinha

Former Member
0 Kudos

Hi Aashish ,

In my scenario, graphical mapping is not allowed only through ABAP mapping we have to seggregate the data.

Regards

Archanaa

Former Member
0 Kudos

Hi,

FCC is not support multiple structures without keyfield value.

i think using AF modules you can able to achive this.

1.using MessageTransformBean convert the text file into single structure xml file have the all the fields.

Like,

<Message>

headerfields

itemfields

</Message>

[http://help.sap.com/saphelp_nw70/helpdata/EN/57/0b2c4142aef623e10000000a155106/content.htm]

2.Using the xslt mapping in adapter framwork change the payload as you required.

<Message>

<header>

<Fields>

<item>

<Fields>

</Message>

[https://weblogs.sdn.sap.com/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken]]

In communication channel need to give MessageTransformBean before the adapter module.

Regards,

Prakasu