Application Development and Automation 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: 
Read only

Wildcards?

Former Member
0 Likes
457

Hi,

What is wildcard in LSMW?

What is the use of that?

How can we can datas from various files in LSMW?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
398

If your files are stored in several sets of files, you can add a wildcard ('*') to the name of

your file. The possible values for '*' can be specified under "Values for wildcard".

5.8 Use Wildcards in File Names

Example for the usage of wildcards in file names: Let's assume that the legacy data is stored in the

following four files:

· File 1: D:MigPurchase OrdersPO Header 1.txt

· File 2: D:MigPurchase OrdersPO Position 1.txt

· File 3: D:MigPurchase OrdersPO Header 2.txt

· File 4: D:MigPurchase OrdersPO Position 2.txt

Two files each (*1.txt and *2.txt) form a "set", i.e. file 2 contains the position data for the header

records in file 1, file 4 contains the position data for the header records in file 3.

When reading the data, files 1 and 2 shall be processed before files 3 and 4.

This is achieved by means of the following settings:

2 REPLIES 2
Read only

Former Member
0 Likes
399

If your files are stored in several sets of files, you can add a wildcard ('*') to the name of

your file. The possible values for '*' can be specified under "Values for wildcard".

5.8 Use Wildcards in File Names

Example for the usage of wildcards in file names: Let's assume that the legacy data is stored in the

following four files:

· File 1: D:MigPurchase OrdersPO Header 1.txt

· File 2: D:MigPurchase OrdersPO Position 1.txt

· File 3: D:MigPurchase OrdersPO Header 2.txt

· File 4: D:MigPurchase OrdersPO Position 2.txt

Two files each (*1.txt and *2.txt) form a "set", i.e. file 2 contains the position data for the header

records in file 1, file 4 contains the position data for the header records in file 3.

When reading the data, files 1 and 2 shall be processed before files 3 and 4.

This is achieved by means of the following settings:

Read only

Former Member
0 Likes
398

Hi

the Charcters Star(*) and the Question mark(?) are mostly used Wildcard charcaters in SAP or LSMW

they are used to represent a series of files in LSMW.

if you wants to upload data from different files

say:

C:/ Podata1.text, C:/ Podata2.txt, C:/Podata3.txt

you can mention C:/Podata*.txt

Regards

Anji