Ansicht
Dokumentation
05137 - Create a directory in AL11
TXBHW - Original Tax Base Amount in Local Currency BAL_S_LOG - Application Log: Log header dataThis documentation is copyright by SAP AG.
Create a directory in AL11
Hi Martin,You don't seem confused enough yet so I just wanted to let you know
what I did!
1) copy RSWATCH0 to ZSWATCH0
2) insert the following lines before the endform statement for
the 'main' form:
* get name of directory with the error files
CALL 'C_SAPGPARAM' ID 'NAME' FIELD 'DIR_QNTC'
ID 'VALUE' FIELD SEARCHPOINTS-DIRNAME.
* force feed the value for QNTC into the variable
SEARCHPOINTS-DIRNAME = '/QNTC'.
PERFORM FLIP_FLOP(RSORA000) USING CFLAG.
WRITE: / 'DIR_QNTC', 30 SEARCHPOINTS-DIRNAME.
HIDE SEARCHPOINTS-DIRNAME.
CLEAR SEARCHPOINTS-DIRNAME.
* get name of directory with the error files
CALL 'C_SAPGPARAM' ID 'NAME' FIELD 'DIR_ROOT'
ID 'VALUE' FIELD SEARCHPOINTS-DIRNAME.
* force feed the value for ROOT into the variable
SEARCHPOINTS-DIRNAME = '/'.
PERFORM FLIP_FLOP(RSORA000) USING CFLAG.
WRITE: / 'DIR_ROOT', 30 SEARCHPOINTS-DIRNAME.
HIDE SEARCHPOINTS-DIRNAME.
CLEAR SEARCHPOINTS-DIRNAME.
3) When I execute ZSWATCH0, I have 2 new aliases (sic?) with which
browsing to / through QNTC and the root (not sure I really want that
but...) works.
4) doh!
Rick
Durban Tours - Südafrika Safari
ABAP Short Reference Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 1579 Date: 20240424 Time: 073010 sap01-206 ( 4 ms )