Question:
Hey,
Currently I'm implementing a program that should update certain data and this via batch input. Now I have a loop that will update all the conditions for a certain article.
When I simulate the batch input map, I only can see two conditions at the online screen and the program updates those like it should. But the third and fourth condition aren't updates because these fields are not in the screen?!
I tried to make the program dynamic by:
LOOP ...
CONCATENATE 'VZZKOPO-DGUEL_KP(' counter ')' INTO name.
...
PERFORM BDC_FIELD USING name newvalue1.
...
counter = counter + 1.
...
Now, is there a way to scroll in this grid? Or why doesn't SAP recognize the 3the and 4the condition?
I tried to do a scroll down by P+ en P++, but this doesn't seem to work?
Can anyone help me?
Kind regards,
Jan
Answer:
This is a common problem which has been discussed many times before. For more information on this use the Search button with terms BDC TABLE CONTROL.
However, to point you in the right direction, either see if the transaction has a 'single entry' screen which you can use, or always position the cursor on the first line of the table control and use the insert function for the transaction.
You should not rely on the number of lines displayed by a table control as this is affected by many things, including but not limited to the resolution of the screen and the users font.
Also, read up on the CALL TRANSACTION statement using the F1 key as this provides many useful options for getting round problems like this.
_________________
Regards
R
Abap KC
SFMDR