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

Read Screen Value through BDC

Former Member
0 Likes
1,646

Dear Friends,

I have one BDC Program in which I am passing some field values, one of them is Amount.

Amount value passing through the text file which is populated on the screen at the time of BDC, but user can change that amount value in between BDC execution. I want to restrict user that he should not be able to change or replace passed value.

I dont want to be grayout that field.

Is it possible for me to read that changed value from screen value and compare with Text file amount value so that I will give you the error that Amount value is not matched and exit.

Or.

Can I grayout this Amount value only for this BDC program (zProgram).

Please suggest something if u have solution for this.

Regards,

Mukul

8 REPLIES 8
Read only

Former Member
0 Likes
1,093

Dear Friend,

BDC for F-47.

Amount field is WRBTR.

Regards,

Mukul

Read only

Former Member
0 Likes
1,093

Hi,

If you are BDC is running is the foreground then what ever changes used had done that cannot be tracked while running.

Even you cannot grayout the field of the BDC. What ever you see in the Recording that cannot be changed.

If you want user interaction to be restricted then run the BDC in No screen mode.

Mode = 'N'.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,093

>

> Amount value passing through the text file which is populated on the screen at the time of BDC, but > > user can change that amount value in between BDC execution. I want to restrict user that he should > > not be able to change or replace passed value

Hello Mukul,

What do you mean "user can change the amount value during BDC"? I have never heard of any BDC which is run in online mode.

Are you using CALL TRANSACTION for F-47?

BR,

Suhas

Read only

Former Member
0 Likes
1,093

Hi,

Yes in F-47 BDC, user want in forground mode thats the main issue.

and during BDC execution, if sombody change Amount value then it should restrict that.

Main problem is I am unable to read changed value in my Z BDC program.

Please suggest.

Regards,

Mukul

Read only

Former Member
0 Likes
1,093

Hi Friends,

Is any other method like.. Create parameter for WRBTR field and Get paramter in the program?

Suggestions are welcomes.

Regards,

Mukul

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,093

Hello Mukul,

Does not make sense to me. Suppose the file has 10,000 entries then this is not feasible solution at all.

Anyways i donot think that you can restrict the user from changing the values (e.g., make that field non-editable). I donot know if you can capture the changes in the screen .

I will always prefer "No User" interaction in this type of cases.

Is any other method like.. Create parameter for WRBTR field and Get paramter in the program?

I donot know how this will help you.

BR,

Suhas

Read only

Former Member
0 Likes
1,093

Hello Mukul,

Just mention as Mode 'N' in call transaction statment, no body cannot change the values which ur uploading data Using BDC.

Regards,

Anil.D

Read only

0 Likes
1,093

Can I use Parameter Id? But I have to create parameter Id for WRBTR.

Suggest me.