Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Ben Meijs Ctac on Oct 13 at 7:04 AM Hi Imran, I already specified what you need to do: define a structure that contains all the fields (components) from the CSV with the same names as used in the CSV. Then split the CSV line into a variable that has this structure type. (split <source_fields> at separatorfield into myvariable. Don't remember what the separator value was) Or alternatively, don't rely on fieldnames but on indexes: Split <source_fields> at separatorfield into table field_values. Every row of this internal table should now match one of your fields. I would choose option 1. Met vriendelijke groeten / kind regards, Ben Meijs
| | | ---------------Original Message--------------- From: Imran Shafiq Sent: Sunday, October 12, 2014 11:52 PM Subject: ABAP Code for Multiple Fields to Single InfoObject Hi Ben, Yes in CSV field name in small so I correct it but the error is same: The data object "<SOURCE_FIELDS>" has no component called "PART2", but there is a component called "PART1". Now what to do to resolve this issue? Imran Shafiq Khan | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |