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

SET PARAMETER ID sak - Simple doubt

Former Member
0 Likes
891

Hi Experts,

PLs. clarify me that,

I copied standard SAP prog. RFITEMGL into my_z_rfitemgl prog.

Actually, this prog. is for Transaction code of FBL3N.

So, issue is that,

If I(some one else) ran this tx FBL3N, with selection criteria, say, G/L acct of my_acct_01 and with company code of my_cc_01, then get BACK/F3'ed.

Then, If I ran my_z_rfitemgl prog. with my OWN selection criteria in my own selection screen, say,

my_acct_02

my_cc_02

BUT, SOME TIMES, still, system is fetching the data of my_acct_01, my_cc_01.

This is mainly happening with 0000000 values in Acct filed of FBL3N tx.

1) So, pls. let me know , How to fix it?

I guess, SET PARAMETERR ID SAK space; SET PARAMETERR ID BUK space will help me.

2) if so, Shuld I write it at the beginning of the prog?

thanq

Edited by: Srinivas on Apr 9, 2008 5:35 AM

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
753

Do it at start of program

LOAD-OF-PROGRAM.

Be aware that RFITEMGL use the parameter id to communicate with the LDB program behind. (So if your Z-program does not clear each and every parameter used by the standard program, some "ghostly" selections may arise in ldb program)

Regards

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
754

Do it at start of program

LOAD-OF-PROGRAM.

Be aware that RFITEMGL use the parameter id to communicate with the LDB program behind. (So if your Z-program does not clear each and every parameter used by the standard program, some "ghostly" selections may arise in ldb program)

Regards

Read only

0 Likes
753

thanq

u mean, like

START-OF-SELECTION.

LOAD-OF-PROGRAM.

1) Its enough?

2 )can u explain, pls. the follwing,

Be aware that RFITEMGL use the parameter id to communicate with the LDB program behind. (So if your Z-program does not clear each and every parameter used by the standard program, some "ghostly" selections may arise in ldb program)

am passing G/L accts, BUKRS, 2 check boxes from my_z_prog.

3 )So, do, U mean, I need to clear them, at the beginnning?

thanq

Edited by: Srinivas on Apr 9, 2008 6:19 AM

Read only

0 Likes
753

yes.

Problem may arise mostly if you remove some parameters or perform in the z-program. (look the performs executed at start of standard program, in your case look at set_acct_and_ccode)

Regards

Read only

0 Likes
753

thanq.

now, its fine.

but, let me know that, have added the following stattement,

CLEAR: gl_acct-low, sd_bukrs-low

1) So, Is it ennough,

2) or Do I need to add the LOAD-OF-PROGRAM also?

if so, Where Shuld I add this, in my prog.?

thanq