Skip to Content
0
Former Member
Apr 19, 2010 at 02:34 PM

single RFC Lookup should return multiple values - but returns no values

170 Views

I have an RFC Lookup in my PID system that i had to change due to a test defect.

the FM i wrote was working on a single value and returning the correct entry... however it now needs to return multliple entries and map 0..unbounded....

i have made the changes, the FM works in ECD, however when i call the FM from the mapping, it does not return any values... now, i am asking my basis team to change the PIAPPLUSER to dialog user so i can throw a breakpoint for an external user...

has anyone done a single to multi value mapping on lookup? i am not sure that it is the FM that is incorrect as it is very simple code..

DATA: lt_jobtype TYPE zhr_lkupjobtype_t.

  CLEAR     lt_jobtype.
  REFRESH lt_jobtype.

  SELECT * FROM zhr_lkupjobtype
    INTO TABLE lt_jobtype
    WHERE zinterface_id = import-zinterface_id
    AND   zsap_jobtype  = import-zsap_jobtype.

  MOVE lt_jobtype TO export.

is there a way of checking the RFC part of an message mapping? i checked the full trace within graphical mapping but this shows no return....