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

CURRENCY

Former Member
0 Likes
882

Good Day Folks ...

My application builds a DDIC Table dynamically. All works until I attempted a CURR Type.

I understand I need to provide a reference table and reference field and I kinda get the idea how it's done via SE11, but could someone list some code as to how this can be done when I create the structure for the table line.

THANKS !!!!

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
845

Hi,

I think you are using DDIF_TABL_PUT for dynamic creation of table.

I find the import table DD03P_TAB have the REFTABLE & REFFIELD fields , you can fill those before calling fm DDIF_TABL_ACTIVATE

a®

4 REPLIES 4
Read only

Former Member
0 Likes
845

Hi ,

did you given the currency reference in your table?whats the problem you are facing now?if u not givn the reference.

1.go to se11.

2.give the table name

3.go to change mode.

4.add a currency key(type cuky) field in your table(if u r not given)

5.click your currency field and click the currency/quantity button

4.give the reference table as your table name and give the reference fiedls as the currency key field(data type is cuky).

check syntax and activate the table

regards

shibu

Read only

Former Member
0 Likes
845

hi do this..,

double click on the field u want to give the reference field -> it will take u to the a pop up screen-->it will ask for the ref. field then u can give the refield like ANCUR ..

save the table and activate it..

regards,

venkat

Read only

former_member194669
Active Contributor
0 Likes
846

Hi,

I think you are using DDIF_TABL_PUT for dynamic creation of table.

I find the import table DD03P_TAB have the REFTABLE & REFFIELD fields , you can fill those before calling fm DDIF_TABL_ACTIVATE

a®

Read only

0 Likes
845

a®s ...

Having mulled this over during the weekend w/o my being buried in the code, I came to the realization one of the supporting tables necessary for activation would hold thease fields ...

I just want to say that w/ this issue and others I've used this forum to resolve, you've not only shared your thoughts but took the effort to research my issue.

I truely appreciate your efforts and in fact feel as though I have my own SAP / ABAP guardian angel watching over my efforts.

once again THANKS !!!

Dave