‎2009 Nov 16 7:16 AM
Hi gurus,
I would like to ask. Would it be possible to treat a standard tcode input field as if it were a normal "selection-screen user input parameter"?. I am automating F-28 via BDC (display all screens), and while inside the bdc transaction state, I would like to extract what the user has inputted on the Posting Date field, and perform some operations on it.
I could add a normal selection-screen (where I will require the user to input the data I need) before proceeding to the BDC, but I'm curious if I could do it right inside the BDC transaction (display all screens), so I could save the use of extra screens.
Thank you in advance!
-Mozart
Edited by: mrpena on Nov 16, 2009 8:16 AM
‎2009 Nov 16 7:28 AM
Hi,
I dont think its possible, How will you call a screen in the automated code?
Regards
Abhii...
‎2009 Nov 16 7:31 AM
BDC is set to "A" - display all screens. Inside a bdc transaction, I was thinking if it's OK to take a certain user input from one screen, perform some programming logic, then feed the output to another screen still inside the BDC.
‎2009 Nov 16 7:38 AM
Hi,
Not possible..Do whatever before transaction.
Regards
Abhii...
‎2009 Nov 16 7:31 AM
Well, quite confusing this question it is (to me at least).
standard tcode field.
I guess this is just your ordinary input field in a transaction (screen field).
Then my question is: Why does a user enter a date during a 'BDC-transaction'? You are about the automate this transaction, so the date for posting date is provided by for example an input file. So this is known up front. No need for a user to enter a date. right? This is not my idea of automating a transaction via BDC.
‎2009 Nov 16 7:38 AM
Yes you are quite right. The usual use of a BDC transaction is to extract data from a flat file, then feed it to a given SAP standard tcode.
However the client wants to be able to run F-28, with some power over what's inputted into the tcode. The first screen of F-28 contains fields which are variable, and the next few screens requires the user to manually check BSID for valid post dated checks to input into the transaction.
So I was thinking is it possible to extract data from the user inputted text fields. Or do you suggest the use of a flat file (excel)?
‎2009 Nov 16 7:54 AM
Well, I don't know whether it is possible or not, since I have never tried it before, but you can. See if function module DYNP_VALUES_READ works for you.
It does sound more logical to fully automate it by providing the data from a flat file for example.Otherwise you could consider using transaction variants.
‎2009 Nov 16 10:40 AM
Hi all, I will give all of your advices a try, especially the DYNP_VALUES_READ. I will let you know what happens soon.
I am performing this inside a bdc transaction, if anyone has experienced extracting data from bdc screens, any help would be welcome.
Thanks
‎2010 Mar 08 2:16 PM
Hi all,
DYNP_VALUES_READ, and ASSIGN statements in user exits seem to do the trick in capturing newly entered user input. Thank you!