2008 Aug 12 8:41 PM
Hi Gurus,
I have an SHDB record for transaction VA01 that is called by an ABAP code via "CALL TRANSACTION 'VA01' USING bdc_tab mode 'N' update 'S'".
It does work when I use the 'A' mode, but when I use 'N' mode it shows an error that can't find a window. But this window is a modal popup asking for copy the taxes for all entries in ITEM TAB.
We have many BDC here that works in 'N' mode, but none of them have modal popup windows.
I've already searched for this problem in SDN but I couldn't find any answer.
May anyone help me please?
Thanks very much.
Fabio Purcino
Hi Gurus,
I have an SHDB record for transaction VA01 that is called by an ABAP code via "CALL TRANSACTION 'VA01' USING bdc_tab mode 'N' update 'S'".
It does work when I use the 'A' mode, but when I use 'N' mode it shows an error that can't find a window. But this window is a modal popup asking for copy the taxes for all entries in ITEM TAB.
We have many BDC here that works in 'N' mode, but none of them have modal popup windows.
I've already searched for this problem in SDN but I couldn't find any answer.
May anyone help me please?
Thanks very much.
Fabio Purcino
2008 Aug 12 8:49 PM
Did you try with E mode.
That Popup might be save Popup , That popup you need handle it manually. You have to add BDCCODE for that particular part.
2008 Aug 12 9:04 PM
Hi.
I have already tried it, but It stops before calling the popup window and show up the screen.
The only difference between 'E' mode and 'N' mode is that the 'E' mode shows the window.
Do you have any other suggestion please?
Thank you in advance.
Fabio Purcino
2008 Aug 12 9:07 PM
I put code to "click" on "YES" button in BDC but this only works in 'A' mode.
2008 Aug 12 9:19 PM
To handle popup screen, you need to use BDC_CURSOR. You pass this BDC_CURSOR and FIELDNAME as 'YES' to BDCDATA and process the screen. instead of BDC_OKCODE pass BDC_CURSOR
BDCDATA-FNAME = 'BDC_CURSOR'.
BDCDATA-FVAL = 'SPOP-OPTION1'. "For VA01 option YES
append BDCDATA.
2014 Jul 22 11:23 PM
I am trying to do this with ME15.
1 T ME15 BS AA X F
2 SAPMM06I 0100 X
3 BDC_CURSOR EINA-INFNR
4 BDC_OKCODE /00
5 EINA-LIFNR 0001100619
6 EINA-MATNR 93-0450C
7 EINE-EKORG 2000
8 EINE-WERKS 2000
9 EINA-INFNR 5300032946
10 RM06I-NORMB X
11 SAPMM06I 0104 X
12 BDC_CURSOR EINE-LOEKZ
13 BDC_OKCODE /00
14 EINA-LOEKZ X
15 EINE-LOEKZ X
16 SAPLSPO1 0100 X
17 BDC_OKCODE =YES
it then keeps the last popup and I cannot stop that...
PERFORM BDC_DYNPRO USING 'SAPLSP01' '0100'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'SPOP-OPTION1'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'/00'. "1432 7/22/2014
* '=ENTR'. "1357 7/22/2014
* '=YES'. "1356 7/22/2014
2008 Aug 12 9:45 PM
I'm getting a message like this:
"Batch input for screen SAPLIQS0 7200 does not exist"
So I can't set the BDC_CURSOR in this screen.
This screen is the modal popup window.
Thanks
2008 Aug 12 9:48 PM
2008 Aug 12 9:50 PM
Sorry for my english,
A popup is a little window that is shown asking for an input and you are not able to do anything until you input data and close the screen.
Thank you so much for yout help.
2008 Aug 12 9:53 PM
Is the popup is
Do you wish to save your data first?
if so then
Program: SAPLSPO1
screen: 0100
2008 Aug 13 2:44 PM
Vijay ,
Thanks so much for your help, but I got the solution by setting a cattmode option to 'A' in call transaction.
So batch input could find the screen and send commands.
I've just rewarded you.
Fabio Purcino
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |