01-03-2005 2:01 PM
Hi all,
I am stuck up in a problem with the scroll function.
I am trying to convert the PO to SO automatically. For this via i am directed to VA01 automatically. Here all the required fields are comming automatically. But the problem is that when i try to put in the header condition 'ZFAH' it automatically places the cursor at the first column first row, as this field is already having value in display mode, i am getting an error as 'This is not an Input Type Field'. I have to scroll this to the last to that i can get the empty field for KOMV-KOSCHL to place my field. when i manually scroll, it is taking. But when i go for use BDC processing, its not taking.
Pls help, it is urgent.
nc
01-03-2005 6:08 PM
Hello NC
You don't write anything about what version of R/3 you use, so I just checked the version I have fastest access to (4.0b).
In this version there is a push button on the screen to insert new lines (OK-code KOAN).
When this button is pressed the table is scrolled making the last already used line turn to line one. After this line 2 is always ready for input so you enter your ZFAH condition in line 2.
There must me similar function in your version.
Best regards
Thomas Madsen Nielsen
01-04-2005 10:33 AM
Hi Thomas,
Thanks for replying.
I checked in the SAP version i am using (SAP 4.7). There we dont haev a push button to to insert a new value. All we can do is to sroll the screen. After scroll the cursor is placed delault at the first empty field. But one scroll is required. i amnot able to map in the scroll as this is a table control.
Pls reply soon .
Thanks
NC
01-04-2005 10:55 AM
Instead of using a BDC, why don't you create a sales order using BAPI - <b>BAPI_SALESORDER_CREATEFROMDAT2</b> ?
It has some good documentation along with it.
Regards,
Subramanian V.
01-04-2005 11:30 AM
Hello NC
I agree with Subramanian V.
If you are on 4.7 you should use a BAPI.
Best regards
Thomas
01-05-2005 9:12 AM
Hello,
Thanks Subramanian V and Thomas. I will definately use BAPI the next time simalar requirment comes. This time i got a similar function code as the one Thomas mentioned in 4.7 . I am able to insert the new value now.
Thanks again for the help.
NC