2007 May 11 7:02 AM
How to pass values while calling FBL1 transaction.
I am supposed to pass Document number, Vendor Number, Comp Code, Posting date under All items...
Thanks in advance...
How to pass values while calling FBL1 transaction.
I am supposed to pass Document number, Vendor Number, Comp Code, Posting date under All items...
Thanks in advance...
2007 May 11 7:05 AM
Hi,
in bdc we can use like this.
data:dbctab like bdcdata occurs 0 with header line.
call transaction using bdctab.
rgds,
bharat.
2007 May 11 7:06 AM
Hi,
Before starting to code ur program, record the elements that u want to enter in FBL1 with the tcode SHDB. then create ur call transaction program. <REMOVED BY MODERATOR>
Regards,
Pulokesh
Edited by: Alvaro Tejada Galindo on Mar 19, 2008 6:48 PM
2007 May 11 7:06 AM
Hi,
you can do like this sample code :
DATA : cursorfld(40) , cursorval(10) .
GET CURSOR FIELD cursorfld VALUE cursorval .
SET PARAMETER ID 'BLN' FIELD cursorval.
set parameter id 'BUK' field zbukrs.
set parameter id 'GJR' field zgjahr.
CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
rgds
Deepak
2007 May 11 7:07 AM
Hi Mohankumar:
Try SUBMIT 'RFITEMAP' with KD_LIFNR IN RANGE r_lifnr
...
2007 May 11 7:07 AM
you have to use set parameter id for that pertcular field press F1 on that and check parameter id for each field in technical settings and pass the value.
like for company code...
set parameter id 'BUK' field <your value>.
now use
call transaction 'FBL1' and skip first screen.
but if you are not getting the param id then you have to go for bdc.
regards
shiba dutta
Message was edited by:
SHIBA DUTTA
2007 May 11 7:08 AM
Hi,
U can use command:
SET PARAMETER id to set values of selection screen fields...
for this u should know parameter id of that field, which u can know from menu system -- status -- parameter id.
this values are stored in TPARA.
Jogdand M B
2008 Mar 19 11:50 AM
... just one question. What if field doesn't have a parameter?
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |