‎2007 Sep 06 4:56 PM
Guyz,
I created a recording in shdb for xk01 and generated the program from shdb itself and modified the program (both selection screen & processing logic).... suprisingly, when i execute the program, screen sequence is different when compared to the sequence from shdb recording..... i even downloaded the BDCTABLE contents during debugging and compared with recording in SHDB which is fine....
any pointers ?
after filling lifnr, bukrs & account group on initial screen of xk01, usually NAME & ADDRESS details screen comes up in online and SHDB recording, but during program execution in 'ALL SCREEN' & 'SYNCHRONOUS' mode (call transaction), i'm getting first screen (as expected) but its skipping NAME & ADDRESS details screen and thus my program getting stuck?
appreciate your pointers.....
thanks
‎2007 Sep 06 5:13 PM
hi Sreedhar,
some transactions behave differently in foreground and in background. What you can do is that you use CALL TRANSACTION (instead of normal batch input) and set the fiel nobinpt to 'X'. Than you'll get the same screens like online.
hope this helps
ec
‎2007 Sep 06 5:08 PM
On the first screen, you have to set a check-box that is normally hidden:
perform dynpro
tables bdcdata
using:
'X' 'SAPMF02K' '0105', "Create Vendor: Initial Screen
' ' 'RF02K-BUKRS' '0001',
' ' 'RF02K-KTOKK' 'ZZZZ',
' ' 'USE_ZAV' 'X'. "<=======Here
This will cause the program to use the screen in Central Address Management.
I also think you will probably use screen 0100 rather than 0105 that I have used above.
Rob
Message was edited by:
Rob Burbank
‎2007 Sep 06 5:13 PM
Rob -- I already checked 'USE_ZAV' and screen number just like yours.... yet its happening ....
‎2007 Sep 06 5:27 PM
The code I pasted does work. Maybe we don't understand the problem yet.
(There is no SY-NOBINPUT. But there is an option NOBINPT that I believe the other responder was suggesting be set to 'X'.)
Rob
Message was edited by:
Rob Burbank
‎2007 Sep 06 5:41 PM
IT WORKED...
Rob -- thanks for pointing me to Options ....
Eric- thanks for ur main pointers...
wonder you can explain what magic did NOBINPUT field made to this bdc ?
Thanks
‎2007 Sep 06 5:13 PM
hi Sreedhar,
some transactions behave differently in foreground and in background. What you can do is that you use CALL TRANSACTION (instead of normal batch input) and set the fiel nobinpt to 'X'. Than you'll get the same screens like online.
hope this helps
ec
‎2007 Sep 06 5:22 PM
Eric,
I'm using CALL TRANSACTION and as suggested, I tried assigning SY-BINPUT to 'X' and SPACE with no luck...btw there is no field called SY-NOBINPUT......
appreciate your comments
thanks