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

Problem in using Auto-generated Table in Program

Former Member
0 Likes
608

Hi experts,

I'm using some auto-generated table in my program. But the Problem is program is not activated due to non-existance of any type of table or structure or view of that Table type in the development server. i.e. table name in development is FMFMOADE12200014 and same in Production is FMFMOAPE14000018.

How can I solve this problem to active the program and transport it?

Thnaks in advance.

Goutam

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
560

1. Is it possible to retrieve determine the logic for the generated name?

2. In a customizing table (one of your own to be created), maintain the name of the structure per system. Based on this name, dynamically create internal table based on this structure (name).

3. If the fields of the table are the same, just create a new structure with those fields.

I don't see any other options at this point.

Read only

Former Member
0 Likes
560

Hi Friend ,

If an Auto-generated tables inside your program ,then you should not use that table directly as internal table type .

In that case you have used the Dynamic structure in your program .

tips is you should check first the table is there in the database through your programing using the standard function module for checking the table exsisting , then use the field symbols for dynmaic creating of program strucuture ,including field creation to tat strcuture . this will make your program more lines in that case you can write subroutine for creating the fields and adding inside the dynamice strucure .

simple example please see this link : [http://www.sap-img.com/ab030.htm]

becasuse we do have the same auto-generating table concept in Finance base on the Operating cencern out table name & fields inside will be changing ,Our program has to support world wide Rollouts . so we used dynamic structuring inside Our program .

Regards,

Read only

Former Member
0 Likes
560

Solve by self. Used dynamic namespace for that table.