Skip to Content
avatar image
Former Member

Query Master Data of InfoObject in Expert Routine (DTP)

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    Add comment
    10|10000 characters needed characters exceeded