‎2010 Feb 09 6:26 AM
Hi All,
Please Suggest the Solution, I am getting sy-subrc = 4 while Import the data from RT table.
CALL FUNCTION 'PA03_PCR_READ'
EXPORTING
F_ABKRS = 'U2'
IMPORTING
F_CURRENT_BEGDA = LV_BEGDA
F_CURRENT_ENDDA = LV_ENDDA.
SELECT SEQNR FROM HRPY_RGDIR INTO LV_SEQNR
WHERE ABKRS = 'U2' AND
FPBEG = LV_BEGDA AND
FPEND = LV_ENDDA AND
SRTZA = 'A'.
CONCATENATE '10000016' LV_SEQNR-SEQNR INTO LV_ID.
ENDSELECT.
IMPORT RT = RT[] FROM DATABASE PCL2(RU) ID LV_ID.
Regards,
Vinod
‎2010 Feb 09 7:21 AM
Hi,
You can try doing like:
import RT = RT from database Table Name(XX) id i_formname.
Hope it helps
Regards
Mansi
‎2010 Feb 09 7:25 AM
Hi,
Please check whether the export structure and the import structure are the same. if they are not similar, the import statement returns sburc value 4.
Also check whether the Memory ID is present in the data cluster.
Regards,
Daz.
‎2010 Feb 18 7:39 AM