Hi,
My requirement is that I have to read the file from the application server, change the existing values of functional area with the new SAP functional Area & then submit it to standard SAP prg RFBIBL00.
OPEN DATASET V_FILEPATH FOR INPUT IN TEXT MODE ENCODING DEFAULT
MESSAGE V_MSG.
DO.
READ DATASET V_FILEPATH INTO T_INPUTFILE.
IF SY-SUBRC <> 0.
EXIT.
ELSE.
Perform to get the SAP Functional Area.
PERFORM GET_FKBER.
ENDIF.
APPEND T_INPUTFILE.
CLEAR T_INPUTFILE.
ENDDO.
IF T_INPUTFILE[] IS NOT INITIAL.
SUBMIT RFBIBL00 WITH DS_NAME = V_FILEPATH
WITH FL_CHECK = SPACE
WITH CALLMODE = 'B'
AND RETURN.
ENDIF.
My query is that the all my changes are reflected in t_inputfile. But I cannot submit the t_inputfile for DS_NAME, it is giving me error. What should I do so the my changes reflect in the actual physical file ... ?? What should I give in DS_NAME ?? .. so that when I run SM35 changes are seen there.
Thank You,
SB.