‎2009 Apr 08 9:22 AM
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
‎2009 Apr 08 9:26 AM
Dear Friend,
BDC for F-47.
Amount field is WRBTR.
Regards,
Mukul
‎2009 Apr 08 9:29 AM
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'.
‎2009 Apr 08 9:30 AM
>
> 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
‎2009 Apr 08 9:32 AM
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
‎2009 Apr 08 9:39 AM
Hi Friends,
Is any other method like.. Create parameter for WRBTR field and Get paramter in the program?
Suggestions are welcomes.
Regards,
Mukul
‎2009 Apr 08 9:42 AM
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
‎2009 Apr 08 9:47 AM
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
‎2009 Apr 08 10:15 AM
Can I use Parameter Id? But I have to create parameter Id for WRBTR.
Suggest me.