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 BDC

Former Member
0 Likes
1,417

Hi all,

I have a requirement in BDC like I need to pass value for non-editable field from flat file.

But I am getting error like XXXXX is not an input field.

Is there any way to insert value for non-editable field through BDC?

Regards,

Ravivarma

10 REPLIES 10
Read only

Former Member
0 Likes
1,366

If the field is non editable, how can you give a value to it?

Read only

0 Likes
1,366

But I Should give the value for that field.

Can we handle through program?

Read only

0 Likes
1,366

You would see the same process in BDC what you see online in the transaction. If you are able to input value in the transaction online then you would be able to do the same in BDC. See if you could enhance the screen field for this specific case by setting a flag during BDC call and see if that flag  is set in the transaction. If the flag is set then enable the field. This would allow to make this field enable only during your BDC process.

-Kriss

Read only

0 Likes
1,366

If I give a check box then user can also edit that field.

But we should not give that option to the user.

Read only

0 Likes
1,366

If you provide the check box and pass the fixed value from BDC program with mode N

user will not able to edit that.

Read only

0 Likes
1,366

But later when he is doing that transaction manually,that time he can check that check box,

and then he can edit the field.

Read only

0 Likes
1,366

Well in that case do not give authorization to the user of that tcode.., and if you still want to give authorization, then probably its not possible both ways.

Read only

former_member192429
Active Participant
0 Likes
1,366

Want I meant was this flag field is only available as a global variable in the program but not part of the screen fields. For example how you export and import data, similarly you will export this flag from your BDC, only when the transaction have a value in this field after IMPORT , transaction will have this field input enabled.

-Kriss.

Read only

0 Likes
1,366

Thank you for our suggestion.

But if u don't have field on the screen how can you pass value to program through BDC.

But anyway I found other solution  like  updating that field using database update .

Regards,

Ravivarma

Read only

0 Likes
1,366

Update using separate function is a definitely a better approach.

As your questions if you want to only use BDC, you could enhance the transaction to enable the field if the imported flag is 'X'. Flag will only be set and Exported from your BDC program.