We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-abap] ABAP Code for Multiple Fields to Single InfoObject

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
Ben Meijs Ctac  

achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language