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

getting the company code popup

Former Member
0 Likes
626

hi,

when i work with FB60 transaction i get the popup for company code

if i to work with the same transaction again then the popup for company code doesnot come.

i am to get that popup when i enter the transaction so when i asked my colleague for help he gave a program which removes any company codes in the buffer

in which the code is like this

TYPES: BEGIN OF T_TFBUF,

USNAM TYPE TFBUF-USNAM,

APPLK LIKE TFBUF-APPLK,

LFDNR LIKE TFBUF-LFDNR,

END OF T_TFBUF.

DATA: WA_TFBUF TYPE T_TFBUF.

SELECT SINGLE USNAM APPLK LFDNR INTO WA_TFBUF FROM TFBUF WHERE USNAM =

SY-UNAME.

IF SY-SUBRC EQ 0.

DELETE FROM TFBUF WHERE USNAM = SY-UNAME.

ELSE.

WRITE: 'NO BUFFER AREA CLEARED'.

ENDIF.

even then i am not getting the popup .

if you have a better program than this please provide me.

thanks in advance.

sultan.s

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
401

Hi Sultan,

As far I know, it has nothing to do with user buffer, but it is required for setting the parameter ID.

Just use SET PARAMTER ID 'BUK' Value Space. into your code. I think it will resolve issue.

Regards,

Atish

1 REPLY 1
Read only

Former Member
0 Likes
402

Hi Sultan,

As far I know, it has nothing to do with user buffer, but it is required for setting the parameter ID.

Just use SET PARAMTER ID 'BUK' Value Space. into your code. I think it will resolve issue.

Regards,

Atish