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

VF01 Validation

Former Member
0 Likes
1,063

Hi,

In Tcode VF01 when I put Doc. no and press Enter that time Billing Type should be displayed in the screen as per fetching data from table LIKP and Billing Type always displayed on top in listbox of T-Code VF01.

I m using USER EXIT V60A0001 -- EXIT_SAPLV60A_002

include zxv60au01.

below select statement i m usting:

select single vbeln fkarv

from likp

into (e_vbeln,e_fkarv)

where vbeln = xkomfk-vbeln.

and e_fkarv field i m getting biling type value every time as per VBELN ,

pls help me what procdure i will follow for above problem.

Thanx in advance,

Tarun

5 REPLIES 5
Read only

Former Member
0 Likes
824

Hi,

Can u try the below code.

DATA : E_VBELN TYPE LIKP-VBELN,

E_FKARV TYPE LIKP-FKARV.

SELECT SINGLE VBELN FKARV

FROM LIKP

INTO (E_VBELN,E_FKARV)

WHERE VBELN = XKOMFK-VBELN.

XKOMFK-FKART = E_FKARV.

MODIFY XKOMFK[] FROM XKOMFK INDEX 1.

With Regards,

Sumodh.P

Read only

0 Likes
824

Hi Dear,

When i am using above code then XKOMFK-FKART = E_FKARV

value get clear in Dialog Program SAPMV60A inside the loop

loop with control tctrl_erf_fakt.

module xkomfk_lesen.

module feldauswahl.

endloop.

Regards

Tarun

Read only

0 Likes
824

did u modify that?

if u dint modify please do that .

other wise

can u tell me the exact place where its getting cleared?

Read only

0 Likes
824

Hi

In PBO , within the loop its getting clear. I think above use exit will not work. if any other option then tell me.

regards,

tarun

Read only

0 Likes
824

just try with the enhancement .

Do with Declaration.