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: 

How to validate LIFSK FAKSK

Former Member
0 Kudos

Hi,

How can I do this.

I need to check del block or billing block LIFSK , FAKSK = 'x' and always group by document type and print the total of net value.

I have already used select statements for vbak .I want to know how to validate lifsk and faksk with x value .

Pls help me.

Stalin.

2 REPLIES 2

Former Member
0 Kudos

Hi,

You can do the following.

SELECT

SINGLE lifsk

FROM

tvls

INTO

variable

WHERE lifsk = p_lifsk. "p_lifsk is the parameter mentioned in the selection screen

IF sy-subrc <> 0 .

ENDIF .

For Faksk use the table tvfs instead of tvls.

Reward if helpful.

Former Member
0 Kudos

Hi,

Use X as mentioned below.

You can do the following.

SELECT

SINGLE lifsk

FROM

tvls

INTO

variable

WHERE lifsk = X.

IF sy-subrc <> 0 .

ENDIF .

For Faksk use the table tvfs instead of tvls.

Reward if helpful.