Ansicht
Dokumentation

05138 - Create a directory in AL11

05138 - Create a directory in AL11

General Data in Customer Master   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Create a directory in AL11

GROOVY

Gotta see and check with my BASIS guy, if he wants to implement that.

Yes, the confusion came about through some comment about AL11 and
checking if one (I) can the /QNTC there. It took a while for the coin to drop
that all this really is, is alias definition. Now unfortunately the drill down
and seeing all the neat files with their contents just happens to be what
someone wants. Especially nice for data loads and the like.

Though I am an old green screen and DOS prompt fart and if I could, all the
pretty pictures would just disappear, but then that is me and I am still
faster with my fingers then others with their mousies.

Thanks a bunch Rick, maybe we squeeze the code in!!!

Martin
----- Original Message -----
From: githman3
To: DoNotReply@consolut.eu
Sent: Tuesday, February 19, 2002 2:23 PM
Subject: Re: 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




Have a look to our homepage at: http://www.consolut.net
DoNotReply@consolut.eu

Your use of consolut is subject to http://www.consolut.net





[Non-text portions of this message have been removed]


Durban Tours - Südafrika Safari

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 3112 Date: 20240221 Time: 184114     sap01-206 ( 3 ms )