‎2012 Jan 20 7:54 AM
Hi,
I have created a BDC program for J1IJ. While excise invoice selection, I record with pressing the page down of keyboad the conde comes as below.
perform bdc_dynpro using 'SAPMJ1IJ' '0500'.
perform bdc_field using 'BDC_CURSOR'
'LRG23D-EXNUM(01)'.
perform bdc_field using 'BDC_OKCODE'
'=EXIN'.
perform bdc_dynpro using 'SAPMJ1IK' '0300'.
perform bdc_field using 'BDC_CURSOR'
'EXC_TAB-LIFNR(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMJ1IK' '0300'.
perform bdc_field using 'BDC_CURSOR'
'EXC_TAB-LIFNR(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMJ1IK' '0300'.
perform bdc_field using 'BDC_CURSOR'
'EXC_TAB-DOCYR(09)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTE'.
perform bdc_field using 'EXC_TAB-SEL_OPT(09)'
'X'.
while recording it works the page down it records as '/00' but when iam again executing it it is not doing the page dowan even as per reply in many thread i try by changing the '/00' with '=P' and =P+'', that also not working can give any hint how the keyboard page down to be trigger with J1IJ.
regards,
zafar
‎2012 Jan 20 8:02 AM
‎2012 Jan 20 8:31 AM
Hi,
I check with this SCPF,PGBA., it is giving error meessage this function not possible.
regards,
zafar
‎2012 Jan 20 8:49 AM
‎2012 Jan 20 8:52 AM
Hi,
Can you explain with some more detail what to increment, also by debugging the std. program SAPMJ1IK, i got some hints when we press page down it consider OK_CODE as blank then it set that to 'FILT' i am trying with thta now will update later.
regards,
zafar
‎2012 Jan 20 8:59 AM
Hi,
That is simple.I create one variable and i did increment that
l = l + 1.
PERFORM bdc_field USING 'BDC_OKCODE'
'=P+'.
Regards,
Madhu.
‎2012 Jan 20 9:03 AM
Hi,
I have already try with '=P+', but with this it is not working, also that filter concept is also not working systems is not record the check box which i have selected for line selection.
when I record the transaction for page down it is shwoing OK-Code as '/00'. which is generally for enter.
perform bdc_dynpro using 'SAPMJ1IK' '0300'.
perform bdc_field using 'BDC_CURSOR'
'EXC_TAB-LIFNR(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'. "page down
perform bdc_dynpro using 'SAPMJ1IK' '0300'.
perform bdc_field using 'BDC_CURSOR'
'EXC_TAB-LIFNR(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'. "page down
Even I try by changing the cursor postion to last record of current page.
regards,
zafar
Edited by: zafar karnalkar on Jan 20, 2012 11:46 AM
‎2012 Jan 20 11:22 AM
‎2012 Jan 20 2:34 PM
I think you're going about this the wrong way. Trying to use 'page up' or 'page down' in batch input is difficult and error prone. If the screen has a 'position' button or field (and this one seems to - the 'entry' field), use it instead to bring a particular line to the top.
Rob
‎2012 Jan 23 4:16 AM
Hellow sir,
Thanks for your reply.
The transaction screen on which I am clicking the page down is display transaction where user is selecting the open invoices, and on that screen the standard tool bar is excluded so thee is no page down button on the screen, also when I press the page down button then that command is coming in the include program
MJ1IKI01 of main program SAPMJ1IK, I checked the OK-CODE after pressing the page down button the OK-CODE is coming as ' ' (blank ) but when i debug even the OK-CODE is blank the program comes in the step
IF ok-code = 'FILT'.
CALL SCREEN 310. "
ENDIF.
the program is coming in the call screen 310 even the condiiton is OK-CODE not = FILT.
regards,
zafar
Edited by: zafar karnalkar on Jan 23, 2012 5:29 AM
‎2012 Jan 23 2:41 PM
‎2012 Jan 24 3:41 AM
Hi,
The problem is on screen 300
perform bdc_dynpro using 'SAPMJ1IK' '0300'.
perform bdc_field using 'BDC_CURSOR'
'EXC_TAB-LIFNR(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00 '.
regards,
zafar
‎2012 Jan 24 11:01 AM
‎2012 Jan 24 2:14 PM
‎2012 Jan 25 3:49 AM
Hi,
The program name is SAPMJ1IK containing screens 0100, 0200, 0300, 0310 on screen 0300 table control is EXCISE and standard tool bar is hide, SAP ECC6 our patch level is SAP_APPL : SAPKH60020 release 600.
regards,
zafar
‎2012 Jan 25 2:12 PM
What haapens if you press the continue button in the online transaction?
Rob
‎2012 Jan 27 3:45 AM
Hi,
The continue button on that screen act as a enter key.
regards,
zafar