Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

WS_FILENAME_GET ON SAP4.0

Former Member
0 Kudos

doin this

    • GET THE FILE THE USER WANT FOR THE TABLE

CALL FUNCTION 'WS_FILENAME_GET'

IMPORTING

FILENAME = YSPGEN1002-FILENAME

EXCEPTIONS

INV_WINSYS = 1

NO_BATCH = 2

SELECTION_CANCEL = 3

SELECTION_ERROR = 4

OTHERS = 5.

On sap 4.0 and it is always returning me SELECTION_CANCEL.

really not good for me!

Any advices

1 ACCEPTED SOLUTION

FredericGirod
Active Contributor
0 Kudos

Hola Stephan,

I have no SAP 4.0 here, but maybe try the function 'F4_FILENAME'.

Regards

Frédéric

2 REPLIES 2

FredericGirod
Active Contributor
0 Kudos

Hola Stephan,

I have no SAP 4.0 here, but maybe try the function 'F4_FILENAME'.

Regards

Frédéric

0 Kudos

Hola,

Thanks for this wonderfull solution!

Working good!

Another way would have to put the MASK! Requiered for this fm in 4.0

Rewarded you 10.

Thank