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

bdcdata

Former Member
0 Likes
1,030

Hi can somebody let me know wats the bdcdata that should be populated to fill the field vbak-taxk1 in orders> header> billing . i couldnt figure out exactly what data should be passed to fill in that field.

thanks,

kiran.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,010

Hu Kiran:

Why don't you use <b>SHDB</b> transaction to record the BDC sequence?

Greetings,

Blag.

9 REPLIES 9
Read only

Former Member
0 Likes
1,012

Hu Kiran:

Why don't you use <b>SHDB</b> transaction to record the BDC sequence?

Greetings,

Blag.

Read only

0 Likes
1,010

i could have done that if i have complete idea of creating an order. im not strong in functional things and never created a order. thats y just asking for help.

Read only

0 Likes
1,010

frederic,

im using the concept of filling a field in userexit which is not getting populated . so wrote the logic as below. but its not working. dont know where the problem is... can u just have a look at it plz.

loop at i_xvbak.

clear dxbdcdata.

clear bdcdata.

bdcdata-program = 'SAPMV45A'.

bdcdata-dynpro = '4002'.

bdcdata-dynbegin = 'X'.

bdcdata-fnam = 'VBAK-TAXK1'.

bdcdata-fval = i_xvbak-taxk1.

append bdcdata to dxbdcdata.

endloop.

thanks

Read only

0 Likes
1,010

Hi,

you need to create several lines :

one for the dynpro :

bdcdata-program = 'SAPMV45A'.
bdcdata-dynpro = '4002'.
bdcdata-dynbegin = 'X'.
append bdcdata.
clear bdcdata.

and the others for each fields :

 bdcdata-fnam = 'VBAK-TAXK1'.
bdcdata-fval = i_xvbak-taxk1.
append bdcdata.
clear bdcdata.

Rgd

Frédéric

Read only

0 Likes
1,010

press F1 in the field, tech attribute, u c the screen field name. That is the variable which u can use in ur user-exit...

Regards,

Bikash

Read only

0 Likes
1,010

just need some info regarding this. when im doing this its getting populated into the bdcdata internal table. but its not showing up in the order. one more concern is that im using this in an customer exit (include LVEDAF0F) and the logic is executed every single time it enters in fiiling out different screens. how can i restrict it to single time process. is there any way to do it.

thanks a lot

Read only

0 Likes
1,010

So play with the memory :

export w_flag_modif to memory id ...

and to get the value

import w_flag_modif to memory id ...

to set the flag when you do the job, and to check if the job is not already done.

Fred

Read only

FredericGirod
Active Contributor
0 Likes
1,010

Hi,

use the transaction SHDB to record the batch-input of your transaction. That will show you how to populate data into bdcdata, and could create the abap code.

Rgd

Frédéric

Read only

Former Member
0 Likes
1,010

Look at table TSKD.

Rob