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

Help using FM ddif_tab_put

Former Member
0 Likes
962

Hi ,

I am trying to create a DB table usnig the FM DDIF_TAB_PUT , i have to pass the parameters that are required to create the table such as tabname,shortdesc , tech settings etc ....

the prob is .

I Ccreated an internal table of type DD03P which has all the table parameters like (table name ,short desc , position , field name , dataelement , keyflag , domain name .......) . But i find two parametes which is CONTFLAG ( Delivery class) and DEVCLASS (Package name) is missing .

without those two parameters table cannot be created

Please tell me is ther any other way to do this or is there any other FM which is used to create a DB table exists.

CALL FUNCTION 'DDIF_TABL_PUT'

EXPORTING

NAME =

DD02V_WA =

DD09L_WA =

  • TABLES

  • DD03P_TAB =

  • DD05M_TAB =

  • DD08V_TAB =

  • DD35V_TAB =

  • DD36M_TAB =

  • EXCEPTIONS

  • TABL_NOT_FOUND = 1

  • NAME_INCONSISTENT = 2

  • TABL_INCONSISTENT = 3

  • PUT_FAILURE = 4

  • PUT_REFUSED = 5

  • OTHERS = 6

.

Edited by: karthikeyan.chandrasekaran on Nov 3, 2011 2:11 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
800

Hi,

Pass CONTFLAG ( Delivery class) and DEVCLASS (Package name) in exporting structure DD02V_WA.

Pass Field CONTFLAG ( Delivery class) in DD02V_WA-CONTFLAG.

Pass field DEVCLASS (Package name) in DD02V_WA-APPLCLASS.

Thanks,

Vijay

3 REPLIES 3
Read only

alok_patra
Product and Topic Expert
Product and Topic Expert
0 Likes
800

This message was moderated.

Read only

Former Member
0 Likes
801

Hi,

Pass CONTFLAG ( Delivery class) and DEVCLASS (Package name) in exporting structure DD02V_WA.

Pass Field CONTFLAG ( Delivery class) in DD02V_WA-CONTFLAG.

Pass field DEVCLASS (Package name) in DD02V_WA-APPLCLASS.

Thanks,

Vijay

Read only

0 Likes
800

Thankx,

But i find the APPLCLASS in the DDO2V structure seems to have length 4.

Is it that it can be only saved in local package $TMP ?

Please explain .