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: 

Add new columns to FBL5n

Former Member
0 Kudos

i have a problem with add 3 columns in t code FBL5n, i used BTE and the fields appear but without data . which table or code i will use to in FM to display data in transaction.

thanks all for help

7 REPLIES 7

former_member404244
Active Contributor
0 Kudos

hI,

I hope you have added the fileds to the two structres RFPOS and RFPOSX .Once it is done you need to execute the program RFPOSXEXTEND . You need to use BTE 1650, and in the custom function module you need to pass the values to E_POSTAB strucre.

Regards,

Nagaraj

0 Kudos

Thanks for your responce ,

i'm really do all of that but the data not appear .

my code in FM 1650 is ...

DATA : VAR_VTWEG TYPE VBRK-VTWEG ,

VAR_KUNAG TYPE VBRK-KUNAG .

SELECT SINGLE VTWEG FROM VBRK INTO VAR_VTWEG WHERE VBELN = E_POSTAB-VBELN.

SELECT SINGLE KUNAG FROM VBRK INTO VAR_KUNAG WHERE VBELN = E_POSTAB-VBELN.

IF SY-SUBRC EQ 0.

LOOP AT GT_VBRK INTO GS_VBRK.

E_POSTAB-VTWEG = VAR_VTWEG.

E_POSTAB-KUNAG = VAR_KUNAG.

ENDLOOP.

ENDIF.

I_POSTAB = E_POSTAB.

thank you.

0 Kudos

Hi,

If you have done what i tild then ,In the code why there is a loop.I don't think loop is required. please check are you getting correct data or not..I mean debug and see.

Regards,

Nagaraj

0 Kudos

i make a break point in FM and run FBL5N to enter debuge but there is nothing done . is that another way to debuge code

thank you

0 Kudos

Hi,

Have you added product , process and your cutom function module in BF44 and customer product in BF24.

You need to do these customizing steps.Once done then only you can debug the function module as it will be called internally.

For more information you can search SCN related to BTE'S.

Regards,

Nagaraj

Former Member
0 Kudos

dear all

i have the same problem and also i do all the last requirement i did't know what is the problem

1-i add fields to the structure

2-execute the program.

3-add product

4- add function with 1650.

the debugger not enter to the function module when run fbl5n but the function run correct when i run it individualy please how can i solve this problem and is there is another way to add column without using BTE.

thanks

Former Member
0 Kudos

dear all

i have the same problem and also i do all the last requirement i did't know what is the problem

1-i add fields to the structure

2-execute the program.

3-add product

4- add function with 1650.

the debugger not enter to the function module when run fbl5n but the function run correct when i run it individual please how can i solve this problem and is there is another way to add column without using BTE.

thanks