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

Call Transaction

Former Member
0 Likes
1,001

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...

7 REPLIES 7
Read only

Former Member
0 Likes
909

Hi,

in bdc we can use like this.

data:dbctab like bdcdata occurs 0 with header line.

call transaction using bdctab.

rgds,

bharat.

Read only

Former Member
0 Likes
909

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

Read only

Former Member
0 Likes
909

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

Read only

Former Member
0 Likes
909

Hi Mohankumar:

Try SUBMIT 'RFITEMAP' with KD_LIFNR IN RANGE r_lifnr

...

Read only

Former Member
0 Likes
909

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

Read only

Former Member
0 Likes
909

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

Read only

0 Likes
909

... just one question. What if field doesn't have a parameter?