Application Development 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: 

FB3LN through se38

Former Member
0 Kudos

hi all

as most of u know if we give FB3LN transaction we need to give G/L account number and company code my requirement is like this i need to compile the code below

REPORT ZFBL3N.

TABLES:SKB1.

SELECT-OPTIONS CODE FOR SKB1-BUKRS OBLIGATORY.

SELECT-OPTIONS YEAR FOR SKB1-SAKNR OBLIGATORY.

CALL TRANSACTION 'FBL3N'.

And now the the value i give thru dis code as input should be given as input to the FB3LN transaction like i should not enter any more values in FB3LN TCODE...please help and if needed giv the necessaru changes

with regards

vijay

5 REPLIES 5

Former Member
0 Kudos

Hi Vijay,

Refer this code :

TABLES:SKB1.

SELECT-OPTIONS CODE FOR SKB1-BUKRS OBLIGATORY.

SELECT-OPTIONS YEAR FOR SKB1-SAKNR OBLIGATORY.

Start-of-selection.

Set parameter id 'BUK' value code.

Set parameter id 'SAK' value code.

CALL TRANSACTION 'FBL3N'.

Reward points if helpful.

Regards,

Hemant

0 Kudos

HI HEMANT

CAN U SEND ME THE COMPLETE CODE

0 Kudos

HI

DIS IS D CODE I RECHANGED ACTUALLY IT IS TAKING IN THE FBL3N TRANSATION BUT ITS TAKING SOME OTHER VALUE....PLEASE HELP....AND MENTION THE CHANGES THAT ARE TO BE DONE LIKE WHERE IT HAS TO BE DONE

REPORT ZFBL3N.

TABLES:SKB1.DATA : cursorfld(40) , cursorval(10).

SELECT-OPTIONS CODE FOR SKB1-BUKRS OBLIGATORY.

SELECT-OPTIONS YEAR FOR SKB1-SAKNR OBLIGATORY.

START-OF-SELECTION.

SET PARAMETER ID 'BUK' FIELD CODE.

SET PARAMETER ID 'SAK' FIELD YEAR.

CALL TRANSACTION 'FBL3N'.

END-OF-SELECTION.

VIJAY

0 Kudos

Hi,

Try this :

PARAMETER CODE LIKE SKB1-BUKRS OBLIGATORY.
PARAMETER YEAR LIKE SKB1-SAKNR OBLIGATORY.

instead of ur codes :

SELECT-OPTIONS CODE FOR SKB1-BUKRS OBLIGATORY.
SELECT-OPTIONS YEAR FOR SKB1-SAKNR OBLIGATORY.

Its working for me. actually u have to give parameter for parameter clause. or if u want to execte with existing codes then use these codes.

SET PARAMETER ID 'BUK' FIELD CODE-low.
SET PARAMETER ID 'SAK' FIELD YEAR-low.

Jogdand M B

Former Member
0 Kudos

G