Skip to Content

Query Master Data of InfoObject in Expert Routine (DTP)

Apr 27, 2017 at 01:47 PM


avatar image
Former Member

I would like to read the Master Data of an InfoObject and copy one single value into another InfoObject during an Expert Routine.

This is my Master Data of InfoObject KYFD:

I want to read this 0,02 value and write into an InfoObject with DEC type.

How am I supposed to do that, I do no neccessarily need code, a description of the path already helps me to move on.

sap-masterdata.jpg (34.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jelena Perfiljeva
May 02, 2017 at 08:49 PM

[Nervously looking around for Matthew Billingham] Errr... No idea what is this "InfoObject" or "Expert Routine" or DTP you speak of, but I see Data Browser and keyword "table", so I'm guessing it's something along these lines:

WHERE /BIC/YKYFD = 'FACTOR" (or whatever the criteria is). IF SY-SUBRC IS INITIAL. <InfoObject with DEC type> = <something>.

Obviously stuff in <> needs to be replaced with proper variables. It looks like YSCALE is also DEC type, so should be no conversion issues.

Google -> write into infoobject and such for more info.

10 |10000 characters needed characters left characters exceeded