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: 

BDC Currency field Recording

Former Member
0 Kudos
127

Hi,

How we can do mapping for the Currency fields in bdc recording. is there any special approach or like normal fields only. Can any body clear it.

Thanks......

6 REPLIES 6

Former Member
0 Kudos
59

First declare all Quality and Currency fields into Character

Former Member
0 Kudos
59

Anil

Remember that whenever you are doing the recording just try to pass the currency and quantity values in Character format .

This will minimise major discrepencies .

regards,

vijay

Former Member
0 Kudos
59

Hi Anil,

<b>For example, while recording you met with fields --> MSEG-DMBTR (Currency field)

  • Go to SE11 --> MSEG --> Search for DMBTR --> Double click on the Data Element i.e. DMBTR --> Double Click on the domain WERTZ --> You can see under the block Output Characteristics : Output Length = 16.

While declaring the TYPES Structure, make it CHAR(16).</b>

<b>The same way u search for u r currency field and declare the length of the field equal to output length of type char</b>

Same u have to follow for quantity fields .

former_member188827
Active Contributor
0 Kudos
59

hi,

declare the currency or quantity field as character in the internal table.the length shud b same as in currency or quantity field in dictionary....

hope it helps.

regards.

Former Member
0 Kudos
59

Hi

Use character type for these fields.

Regards,

Sunmit.

Former Member
0 Kudos
59

but then if 'abc' is written in currency field of the upload file, it will be uploaded. an error should be shown here.