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

session method

Former Member
0 Likes
314

hi all,

iam writing session method using tcode FMBB for budget transfer,i need to transfer the values into fmbb transaction.

i wrote the code for transfering values for fundcenter,commitment item,amount,distribution key,text for both sender and reciever(2 lines).

all values are populating in the screen but fundcenter and,commitment item,amount,distkey,text are not populating on the screen.

i wrote the code for this.

perform bdc_field using 'FMBW_S_ALV_MAIN-LINE_SIGN'

'-'.

perform bdc_field using 'FMBW_S_ALV_MAIN-FUNDSCTR'

IT_FILE_UP-FUNDSCTR.

perform bdc_field using 'FMBW_S_ALV_MAIN-COMMITEM'

IT_FILE_UP-CMMTITEM.

perform bdc_field using 'FMBW_S_ALV_MAIN-TVALUE'

IT_FILE_UP-TVALUE.

perform bdc_field using 'FMBW_S_ALV_MAIN-DISTKEY'

IT_FILE_UP-DISTKEY.

perform bdc_field using 'FMBW_S_ALV_MAIN-TEXT50'

IT_FILE_UP-TEXT501.

perform bdc_field using 'FMBW_S_ALV_MAIN-LINE_SIGN'

'+'.

perform bdc_field using 'FMBW_S_ALV_MAIN-FUNDSCTR'

IT_FILE_UP-FUNDSCTR1.

perform bdc_field using 'FMBW_S_ALV_MAIN-COMMITEM'

IT_FILE_UP-CMMTITEM1.

perform bdc_field using 'FMBW_S_ALV_MAIN-TVALUE'

IT_FILE_UP-TVALUE1.

perform bdc_field using 'FMBW_S_ALV_MAIN-DISTKEY'

IT_FILE_UP-DISTKEY1.

perform bdc_field using 'FMBW_S_ALV_MAIN-TEXT50'

IT_FILE_UP-TEXT502.

can any body tell me what is the problem for this.

if any body know other way to do this.

answer will be rewarded

praveen.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
276

hi,

it is not possible to understand the BDC code by seeing it, i will suggest you one way,

Just execute your BDC in foreground, and see which fields are filing and which are not, then debud the program and see each and evey perform statment whethe the correct value is passing to the correct Scrren variable. so will get why those fields are not populating,

i think you are not give the fields name correctly or you are not given the Scrren no correctly

Regards

Sudheer

1 REPLY 1
Read only

Former Member
0 Likes
277

hi,

it is not possible to understand the BDC code by seeing it, i will suggest you one way,

Just execute your BDC in foreground, and see which fields are filing and which are not, then debud the program and see each and evey perform statment whethe the correct value is passing to the correct Scrren variable. so will get why those fields are not populating,

i think you are not give the fields name correctly or you are not given the Scrren no correctly

Regards

Sudheer