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

CLB2 upload - input file format

Former Member
0 Likes
640

Hi,

I am trying to upload batch characteristics through CLB2 trannsaction.

Neither tab delimited file nor '.dat' file format is working fine. The program is filling characters to its maximum data length.

For Ex:

Tcode char 20 : ##023##00000000205

In the above example, am passing empty value to tcode but it is filling with other field values till it reaches length 20.

This is same with other fields also.

Please let me know the exact file format to upload characteristics values.

Thank you in advance.

Best Regards,

Abirami

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
464

Hi,

I am able to resolve the above issue by giving fixed length value.

For ex:

Tcode class type

           023

tcode will be filled 20 space characters as its length is 20.

Now it fills the value exactly to fields.

The standard program RCCLBI03 is not recognizing tab character. (No split logic inside the program.

It considers fixed length of field as separator).

But when huge volume of data comes, it will be difficult to prepare test file by counting length and filling spaces.

Is there any alternatives or best appraoch to prepare the input file for CLB2.

Do anyone faced above issue?

Best Regards,

Abirami

1 REPLY 1
Read only

Former Member
0 Likes
465

Hi,

I am able to resolve the above issue by giving fixed length value.

For ex:

Tcode class type

           023

tcode will be filled 20 space characters as its length is 20.

Now it fills the value exactly to fields.

The standard program RCCLBI03 is not recognizing tab character. (No split logic inside the program.

It considers fixed length of field as separator).

But when huge volume of data comes, it will be difficult to prepare test file by counting length and filling spaces.

Is there any alternatives or best appraoch to prepare the input file for CLB2.

Do anyone faced above issue?

Best Regards,

Abirami