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

PageDown in Batch Input without ok-code nor positionning

Former Member
0 Likes
2,123

Hello,

I'm desperatly trying to create a batch input session for transaction F871 (payement order creation) :

I need to write several items in a table control of the screen (G/L account items) ; In the batch input (SHDB), i can only see two lines available for input.

Once they are filled, i would like to scroll the table down in order to fill new lines... but :

- there is no "Position" field that would allow me see further lines of the table

- there is no "Add new line" button

- ok-codes /00, =P, P, =LSPD (with BDC_CURSOR in the second line) don't allow me to make appear a new empty line in the table...

Any other idea ?

Thanks in advance

Sylvain

5 REPLIES 5
Read only

Former Member
0 Likes
1,188

Hi Sylvain,

For page down and page up options we need to code the OK_CODE explicity if it appears in the transaction which you record through SHDB.

If not try the function module SCROLLING_IN_TABLE. Where used of this function module will definitely help you in using scrolling down/up during BDC runs..

Cheers

JK

PS: Award points if this solution helps you

Read only

Former Member
0 Likes
1,188

Hi, Sylvain,

There is no "Add new line" button, but isn't there an option in the menu to do this thing? It usually is. Than this menu option would have an OK-Code assigned and I think that your problem would be solved.

Best regards,

Bogdan

Read only

Former Member
0 Likes
1,188

Sorry, the ok-code from SHDB does not work (it gives /00...), and i could not find the link between the use of this function and scrolling during the execution of a batch input session ; i guess i can only have an influence on moving page down by using a field on the screen or trigerring an ok-code ...

anyway thanks for the help

Read only

Former Member
0 Likes
1,188

Ok by chance if found a "P++ " ok-code in a program of the where used list of your function module. I don't know why nor where it comes from, but it works with this one, thanks a lot

Read only

0 Likes
1,188

Hi Sylvain,

Its nice to know that my solution worked out. Do award points and close the loop

Cheers

JK