cancel
Showing results for 
Search instead for 
Did you mean: 

CSV Content conversion

Former Member
0 Kudos

Hi all,

My SENDER Message Type sturcture is

MT_FI_SEND ( 1 TO 1)

Record ( 1 to 1)

Row ( 0 TO UNBOUND )

doc_header ( 1 to 1)

details1

details2

details3...

Account_gl (0 to 1)

Item ( 0 TO UNBOUND )

field1

field2...

Currency_amount (1 to 1)

item ( 0 TO UNBOUND )

field1

field2...

I am using this structure for Sender/Request Mesg Type for

BAPI_ACC_DOCUMENT_POST

-->> What are mandatory fields I need to populate.

--->>> I need help on sender Content Conversion paramentres for this structure.

Regards,

Ramesh.

Accepted Solutions (1)

Accepted Solutions (1)

sunilchandra007
Active Contributor
0 Kudos

Hi,

As Shab suggested FCC supports only one level heirarchy. So, either redesign the structure or look for a workaround as explained in this blog. /people/riyaz.sayyad/blog/2008/05/20/xipi-convert-flat-file-to-deeply-nested-xml-structures-using-only-graphical-mapping

I would have preferred to redesign the structure, if it is possible.

Regards,

Sunil chandra

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi all,

>

> My SENDER Message Type sturcture is

>

> MT_FI_SEND ( 1 TO 1)

> Record ( 1 to 1)

> Row ( 0 TO UNBOUND )

> doc_header ( 1 to 1)

> details1

> details2

> details3...

> Account_gl (0 to 1)

> Item ( 0 TO UNBOUND )

> field1

> field2...

> Currency_amount (1 to 1)

> item ( 0 TO UNBOUND )

> field1

> field2...

>

> I am using this structure for Sender/Request Mesg Type for

>

> BAPI_ACC_DOCUMENT_POST

>

> -->> What are mandatory fields I need to populate.

>

> --->>> I need help on sender Content Conversion paramentres for this structure.

>

> Regards,

> Ramesh.

you would ahve to redesign your source structure.

Note that standard content conversion only supports a one level heirarchy.

Do ref:

http://help.sap.com/saphelp_nwpi711/helpdata/en/44/6713ec3f914ddee10000000a1553f7/content.htm

Former Member
0 Kudos

I am Glad for your reply..

This is how BAPI sturcuture is .

Account GL and Currency_amount has Item level data.

for those can I consider like this

Account_gl (0 to unbound )

field1

field2...

Currency_amount (0 to unbound)

field1

field2...

If I need to map those field ,can you suggest how should I build the structure.

Regards,

Ramesh.

Former Member
0 Kudos

Hi,

Have you refered

File Content Conversion for Multi Hierarchical Structure

/people/karthiknarayan.kesavan2/blog/2007/08/22/file-content-conversion-for-multi-hierarchical-structure

/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns

/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

Thanks

Swarup

Former Member
0 Kudos

HI all,

I have option to change the structure.

Can any one help me in doing so.

If any body worked with same BAPI , pls share the structure for request.

regards,

Ramesh

Former Member
0 Kudos

Hi,

I think you can go for the structure as below,


MT_FI_SEND ( 1 TO 1)
Row ( 0 TO UNBOUND )
doc_header ( 1 to 1)
details1
details2
details3...
Account_gl ( 0 TO UNBOUND )
field1
field2...
Currency_amount ( 0 TO UNBOUND )
field1
field2... 

you can map these fields with your BAPI structure

Then the FCC parameters will be similar to the above mentioned blogs

Thanks

Swarup

Former Member
0 Kudos

Hi swarup,

To given sturcture..

can you tell me how to build my test CSV file..

Regards,

Ramesh.