cancel
Showing results for 
Search instead for 
Did you mean: 

Is padding required while posting to SAP

Former Member
0 Kudos

Hi

Is padding really required for a number(ex: if a field has max length is 10, can it have only 3 out of it and left others) or string(ex: if a field has max length is 10 char, can it have only 4 out of it and left others)while posting as an IDoc to SAP from XI.

Can anybody please advise...

Kr

Ramesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks a lot for the inputs.

Kr

Ramesh

prabhu_s2
Active Contributor
0 Kudos

not exactly in all the cases...becoz when psoting an idoc to xi some of the fields are of character type and numerci type where the data is adjuested to fill the transaction fields. for the case even the quantity and currency fields are treated as strings when the data is uploaded. but incase u are making some query into a DB table then u might need padding as the convertion routines may have used in the domain level.

Former Member
0 Kudos

Hi ramesh.

Padding with zero is required in most of the cases related to scenarios involving BAPI and IDocs in case if numeric values are being transferred.

First, check how the numeric values are stored in your database table. If their data type is charectar, then they will be left padded with zeros.

Check their representation and go ahead accordingly

Regards,

Hari