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: 

to transfer screen field values from user transaction to "FB60"

former_member185116
Active Participant
0 Kudos

HELLO ALL,

i have created a screen with all fields under BASIC DATA tab of transaction 'FB60'. using module pool program.

i have also created 2 buttons one TRANSFER other EXIT.

now my question is when i click TRANSFER button the data i entered in screen created  by me using(module pool)

should transfer to the corresponding fields of BASIC DATA tab of transaction 'FB60'...

is it possible to do like that...

if yes please suggest me the ways....

thank u all..........

9 REPLIES 9

former_member458055
Participant
0 Kudos

Hi,

try like BDC. Use

PERFORM bdc_dynpro

PERFORM bdc_field .

Pass the screen no and value of fields from your module pool to fb60 screen.

Please let me know if it works.

Thanks -

Makarand

PeterJonker
Active Contributor
0 Kudos

You can make a recording of the transaction and then create a BDC program that you fill with the data the user has entered. Then you can call this program from your program when the user clicks the button TRANSFER

TC SHDB

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/309cb157-738d-2910-7691-b74c4ddba...

0 Kudos

HI PETER,

as u said first i need transfer data in the fields(entered by user)

needs to be transferred to internal table in the RECORDING program,

so how can i do that....

bye...

0 Kudos

Hi,

I would suggest to use get parameter id and set parameter id instead.

It is a much simpler approach. And BDC has its own constraints. I dont believe it is apt for your scenario.

You can search SDN for how to use get parameter id and set parameter id.

0 Kudos

HI

most of the fields do not have PARAMETER ID''s,

do i need to create parameter id's for them...(and some screen fields are structure fields)...

..................

0 Kudos

Hi,

Have you checked the data elements for all the fields?

You cannot create parameter ids if its a standard data element.

What do you mean by some fields are structure fields.

If you dont have parameter ids, you can also use import export parameters.

0 Kudos

Dear Vinay,

I am sorry, but I am not going to explain how to use recording for a BDC program. If you don't know how to do that, I can't help you. You must have had some ABAP education before you became a programmer.

Former Member
0 Kudos

Dear Vinay.

It'd be better to  go with BDC for this issue. Just Record and perform the BDC interanll on action of Transfer button of Module Pool Screen.

Thanks.

Ram

0 Kudos

HI RAM,

how do i transfer data in screen fields(of module pool created by me)

to INTERNAL TABLE in Recording BDC program..

as u rightly said BDC is the only solution for this problem,

because i tried with SET/GET parameters but failed as

some fields do not have PARAMETER ID's...

thanks.....