Regrading IF statement
Hi All,
Please check the below code in that i am able to fetch the w_duedate for first and third if condition.
But i am not able to fetch the w_duedate for the second if condition can anyone let me know how
deal with this issue. I have made bold for the if condition which is not working.
IF fs_terms-ztag1 NE 0 AND
fs_terms-ztag2 NE 0.
w_days = fs_terms-ztag3.
w_duedate = fs_bseg-zfbdt + fs_terms-ztag3.
ENDIF.
IF fs_terms-ztag3 EQ 0 AND
fs_terms-ztag1 NE 0.
w_days = fs_terms-ztag2.
w_duedate = fs_bseg-zfbdt + fs_terms-ztag2.
ENDIF.
IF fs_terms-ztag2 EQ 0 AND
fs_terms-ztag3 EQ 0.
w_days = fs_terms-ztag1.
w_duedate = fs_bseg-zfbdt + fs_terms-ztag1.
ENDIF.
regards
VENk@
I dont know why it should not work.
At least this code is working in my system.
DATA: BEGIN OF fs_terms,
ztag1 LIKE bseg-zbd2t,
ztag2 LIKE bseg-zbd2t,
ztag3 LIKE bseg-zbd2t,
END OF fs_terms.
fs_terms-ztag1 = 12.
IF fs_terms-ztag3 EQ 0 AND
fs_terms-ztag1 NE 0.
WRITE 'Valid condition'.
ENDIF.
" Output : Valid condition
Of course , the assumption is that there is a non zero value in ztag1 field.
BR,
Advait
Similar Messages
-
Hi Anybody ,
i am getting an error 'Statement is not accessible'
REPORT ZZDEMO_EXPORT.
TABLEs : NAST.
DATA : i_vbeln TYPE VBAK-VBELN.
DATA: lf_fm_name TYPE rs38l_fnam.
DATA: lf_formname TYPE tdsfname.
DATA: XSCREEN(1) TYPE C.
DATA: RETCODE LIKE SY-SUBRC.
FORM entry USING return_code us_screen.
DATA: lf_retcode TYPE sy-subrc.
CLEAR retcode.
xscreen = us_screen.
PERFORM processing USING us_screen
CHANGING lf_retcode.
IF lf_retcode NE 0.
return_code = 1.
ELSE.
return_code = 0.
ENDIF.
ENDFORM. "ENTRY
data: GT_LINES like tline OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'ZPRI'(002)
LANGUAGE = 'B'
NAME = '123456'
OBJECT = 'VBBK'
TABLES
LINES = GT_LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
FORM processing USING proc_screen
CHANGING cf_retcode.
i_vbeln = NAST-OBJKY.
LF_FORMNAME = 'ZCFR_EXPORT_RAJIVPLASTIC2'(001).
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = lf_formname
IMPORTING
FM_NAME = LF_FM_NAME
EXCEPTIONS NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CALL FUNCTION LF_FM_NAME
EXPORTING
i_vbeln = i_vbeln.
ENDFORM. "PROCESSING
How can I solve that problem ?
Thanks & Regards
Ambrish DwivediHi,
I have changed the source code , please check it.It is working fine.
TABLEs : NAST.
DATA : i_vbeln TYPE VBAK-VBELN.
DATA: lf_fm_name TYPE rs38l_fnam.
DATA: lf_formname TYPE tdsfname.
DATA: XSCREEN(1) TYPE C.
DATA: RETCODE LIKE SY-SUBRC.
data: GT_LINES like tline OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'ZPRI'(002)
LANGUAGE = 'B'
NAME = '123456'
OBJECT = 'VBBK'
TABLES
LINES = GT_LINES
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF SY-SUBRC NE 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
FORM entry USING return_code us_screen.
DATA: lf_retcode TYPE sy-subrc.
CLEAR retcode.
xscreen = us_screen.
PERFORM processing USING us_screen
CHANGING lf_retcode.
IF lf_retcode NE 0.
return_code = 1.
ELSE.
return_code = 0.
ENDIF.
ENDFORM. "ENTRY
FORM processing USING proc_screen
CHANGING cf_retcode.
i_vbeln = NAST-OBJKY.
LF_FORMNAME = 'ZCFR_EXPORT_RAJIVPLASTIC2'(001).
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = lf_formname
IMPORTING
FM_NAME = LF_FM_NAME
EXCEPTIONS NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
CALL FUNCTION LF_FM_NAME
EXPORTING
i_vbeln = i_vbeln.
ENDFORM. "PROCESSING
Regrads,
Suvajit -
Can we write the select statement on maintence view for data retreval
Can we use the select statement on maintence view
Regrads
DivaNo. U cannot write a select on maintenance view.
-
Sql Server Script for the List of all Country State and City
I am searching for the Sql Server Script of all country State and City with the Following type
For the Country only 2 Columns are there i.e. CountryId and CountryName(CountryId is primary Key)
For the State 3 Columns are there i.e. CountryId, StateId and StateName(StateId is Primary Key and CountryId is Foreign Key)
For the City 3 Columns are there i.e. StateId ,CityId and CityName(CityId is PrimaryKey and StateId is foreign Key).
I need this type of Script with Column name. plzzz help me out i m stuck i didnt get the list as i want.
Thanx and Regrads,Hi Vishnu,
According to your description, you want to list all countries, states and cities, right?
I have tested it on my local environment, here is a sample script for you reference.
select
[dbo].[Country].[CountryId]
, [dbo].[Country].[CountryName]
, [dbo].[State].[StateId]
, [dbo].[State].[StateName]
, [dbo].[City].[CityId]
, [dbo].[City].[CityName]
from
[dbo].[Country]
left join [dbo].[State] on [dbo].[Country].[CountryId]=[dbo].[State].[CountryId]
left join [dbo].[City] on [dbo].[State].[StateId]=[dbo].[City].[StateId]
Regards,
Charlie Liao
TechNet Community Support -
Hi Friends,
I am confusing about Clear Statement use in programs..
Which Situtation wse use Clear Statements in programs..
Please clarify.
Regrads,
Kumar.
Moderator Message: You should have read the F1 documentation on CLEAR keyword before posting
Edited by: Suhas Saha on Jun 24, 2011 4:33 PMI was speaking about these methods without keeping a reference to the Textboxs, like in full declarative syntax.
Stage {
def tbIds = for(n in [0..<10]) "TextBox{n}";
var vbox: VBox;
scene: Scene {
width: 100 height: 250
content: [
vbox = VBox {
layoutX: 10
layoutY: 10
content: [
HBox {
content: [
Button {
text: "Set"
action: function() {
for (id in tbIds) {
//def tb = vbox.lookup(id) as TextBox;
//Also work
def tb = vbox.scene.lookup(id) as TextBox;
tb.text = id
Button {
text: "Clear"
action: function() {
for (id in tbIds) {
def tb = vbox.lookup(id) as TextBox;
tb.text = ""
for (id in tbIds) TextBox {id: id}
} -
Regraded to ADSL2+? No increase in speed!
Hello!
I am hoping that someone might be able to shed some light on what is going on with my broadband please!
I have recently moved home, and discovered that our broadband speed was 2.4mbps (quite a bit below the 13mbps that BT had told us to expect).
Our BT broadband contract ran out at the end of July, so I was looking at moving providers. BT then told me that if we stay with them they will regrade us onto an ADSL2+ line with a new Home Hub 2.0, giving us a much faster connection. Great!
The "switchover" took place on Monday this week and our speed shot up to a fantastic 14mbps and stayed like that for about 18 hours, then out of nowhere plummeted straight back down to the original 2.4mbps and has stayed there ever since... I have spoken to BT several times this week (into double figures now!) but no one seems capable of giving any kind of reasonable answer.
Have we ended up back on our original line? Have we got a cap or limit? I can't find out, BT just keep saying the following kind of things:
BT: "There is a problem in your area..." No there wasn't.
BT: "You need to remove the cables from the back of your hub..." No, I didn't.
BT: "Someone from our "Exchange Team" will ring you tomorrow..." Yeah, right.
I have gone into the Hub Manager, and into the ADSL tab and apparently my downstream speed is 17,753kbps / upstream 888kbps. speedtest.net concurs with the upstream but nowhere near on the downstream.
Apologies for waffling, any help (or explanations as to why this is happening) that anyone can give me would be greatly appreciated!
SteveHi, thanks for replying! Here are the stats :
Downstream : 17,753 Kbps
Upstream : 888 Kbps
VPI/VCI : 0/38
Type : PPPoA
Modulation : G.992.5 Annex A
Latency type : Interleaved
Noise marging (Down/Up) : 5.2 dB / 15.3 dB
Line attenuation (Down/Up) : 23.7 dB / 9.4 dB
Output power (Down/Up): 26.3 dBm / 1.3 dBm
Loss of framing (Local/Remote) : 0 / 0
Loss of signal (Local/Remote): 0 / 0
Loss of power (Local/Remote) : 0 / 0
FEC Errors (Down/Up) : 4212 / 0
CRC Errors (Down/Up) : 9 / 0
HEC Errors (Down/Up) : 49 / 0
Error seconds Local/Remote) : 7 / 0
Hope I didn't make any typo's! -
And/or if statement in rtf templates.
Hi all,
I'm using XML Publisher 4.5.
I have created a word template file (rtf) for my reports. I need to be able to show some content in the template file by using and and/or if statement.
fx. <?if:doc_type='STANDARD'?> OR <?if:doc_type='DEFAULT'?>
How can I do this?
In advance thank you.
Best regards
KennethHi D,
Thank you for your answer.
I have seriously thought about that solution; but I don't think it's a smart way to do it.
If i do it like that, i need to copy the whole table and paste it inside the if statements.
I have two xml elements that I need to make the decisions on. POH_PO_TYPE & CP_RELEASE_NUM.
POH_PO_TYPE can be: STANDARD, RELEASE or BLANKET.
CP_RELEASE_NUM can be: '' or N
If POH_PO_TYPE is RELEASE AND CP_RELEASE_NUM is not ''
OR POH_PO_TYPE is STANDARD
OR POH_PO_TYPE is BLANKET AND CP_RELEASE_NUM is ''
THEN show table (which contains the whole PO).
It shall show the content of the PO in any of these cases.
BR Kenneth -
Hi srinivas bobbala,
Thank you for your response.But I think my quesition was not clear.My ques... is for suppose there is one datafile for importing like.. "datafile_21" Here my intention is it takes file from datafile_21 only but it appears in import statement like datafile_21<<curmon>>.
import database sample.sample data from data_file "c:\\ABC\datafile_21_AUG.txt" using server rules_file datafile on error abort;
In this it takes datafile from datafile_21.But it appears like datafile_21_AUG in import statement.This AUG coming from batch file.
Essmsh c:\\ABC\loadmxl.mxl %curmon%No it is not possible.
I assume the data file "datafile_21" is first renamed to datafile_21_${CurrMth} in the batchscript.
After that this data file *datafile_21_${CurrMth}* is pointed in the import statement.
In the logs you will see this file as datafile_21_Aug. -
Help with if statement in cursor and for loop to get output
I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
Here is my cursor:
/*Cursor for Email procedure. It is working Shows userid and the string
You need to update these folders*/
DECLARE
a_user varchar2(200) := null;
v_assigneduser varchar2(20);
v_folderrsn varchar2(200);
v_emailaddress varchar2(60);
v_subject varchar2(200);
Cursor c IS
SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
--MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
WHERE f.foldertype = 'HJ'
AND f.statuscode NOT IN (20, 40)
AND f.folderrsn = fp.folderrsn
AND fp.processrsn = fpa.processrsn
AND vu.userid = fp.assigneduser
AND vu.statuscode = 1
GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
ORDER BY fp.assigneduser;
BEGIN
FOR c1 IN c LOOP
IF (c1.assigneduser = v_assigneduser) THEN
dbms_output.put_line(' ' || c1.folderrsn);
else
dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
END IF;
a_user := c1.assigneduser;
v_assigneduser := c1.assigneduser;
v_folderrsn := c1.folderrsn;
v_emailaddress := c1.emailaddress;
v_subject := 'Subject: Project for';
END LOOP;
END;
The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
emailaddress
Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
v_folderrsn
v_folderrsn
etc
[email protected]......
Subject: 'Project for: ' Jim...'not updated in the last 30 days'
284087
292709
[email protected].....
Subject: 'Project for: ' Kim...'not updated in the last 30 days'
185083
190121
190132
190133
190159
190237
284109
286647
294631
322922
[email protected]....
Subject: 'Project for: Joe...'not updated in the last 30 days'
183332
183336
[email protected]......
Subject: 'Project for: Sam...'not updated in the last 30 days'
183876
183877
183879
183880
183881
183882
183883
183884
183886
183887
183888
This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
JIM......... jim@ aol.com.... 284087............. 9/28/2006.......10/5/2006...........690
JIM......... jim@ aol.com.... 292709............. 3/20/2007.......3/28/2007............516
KIM......... kim@ aol.com.... 185083............. 8/31/2004.......2/9/2006............. 928
KIM...........kim@ aol.com.... 190121............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190132............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190133............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190159............. 2/13/2006.......2/14/2006............923
KIM...........kim@ aol.com.... 190237............. 2/23/2006.......2/23/2006............914
KIM...........kim@ aol.com.... 284109............. 9/28/2006.......9/28/2006............697
KIM...........kim@ aol.com.... 286647............. 11/7/2006.......12/5/2006............629
KIM...........kim@ aol.com.... 294631............. 4/2/2007.........3/4/2008.............174
KIM...........kim@ aol.com.... 322922............. 7/29/2008.......7/29/2008............27
JOE...........joe@ aol.com.... 183332............. 1/28/2004.......4/23/2004............1585
JOE...........joe@ aol.com.... 183336............. 1/28/2004.......3/9/2004.............1630
SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............ 1631
PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............ 48
PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............ 175
NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
[email protected]/27/2004.......3/8/2004............1631
How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
Edited by: user4653174 on Aug 25, 2008 2:40 PManalytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
CASE
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
Incorporating either of these into your query should assist you in returning the desired results. -
I have a Y9 Computer Science Exam next week and I know that this will probably be one of the questions on it so I need to know the answer. What is the difference?
An If statement executes once IF the statement is true:
If 1 = 2/2 Then
Textwindow.writeline("True")
EndIf
A While statement executes WHILE the statement is true:
While 4 = 2+2
'Will keep looping while it is true
EndWhile
A For statement loops a number in increment:
For i = 1 to 10
'Every time through, i gets bigger by one until it equals 10
EndFor
It is written: "'As surely as I live,' says the Lord, 'every knee will bow before me; every tongue will acknowledge God.'" Romans 14:11 -
regarding the following sql:
SELECT a.lname, a.fname, a.user_id, c.address, c.city,
c.zip, c.addresstypeid, d.descriptor as state
FROM users a, address c, maintstatetype d
WHERE a.user_id = c.user_id(+)
AND c.statetypeid = d.statetypeid(+)
AND c.addresstypeid in (1,2,3,4)
I have a database of users and addresses. Each user can
have multiple addresses and the addresses are
designated by addresstypeid. In plain english, what I want
to pull is "If they have an addresstypeid of 1, pull that one
only, if not, check if they have a 2 and use that, if not, check
for a 3, etc..".
Any help with this?What you want, then, is to pull the address with the minimum addresstypeid ..
SELECT a.lname, a.fname, a.user_id, c.address, c.city,
c.zip, c.addresstypeid, d.descriptor as state
FROM users a, address c, maintstatetype d
WHERE a.user_id = c.user_id(+)
AND c.statetypeid = d.statetypeid(+)
AND c.addresstypeid =
(select min(c2.addresstypeid)
from address c2
where c2.userid=a.userid
I'm not sure what this will do to your outerjoin, though. You might have to get funky with a union ...
SELECT a.lname, a.fname, a.user_id, c.address, c.city,
c.zip, c.addresstypeid, d.descriptor as state
FROM users a, address c, maintstatetype d
WHERE a.user_id = c.user_id
AND c.statetypeid = d.statetypeid
AND c.addresstypeid =
(select min(c2.addresstypeid)
from address c2
where c2.userid=a.userid
Union all
SELECT a.lname, a.fname, a.user_id, to_char(null), to_char(null),
to_char(null), to_char(null), to_char(null)
FROM users a
WHERE not exists
(select 1
from address c
where c.userid=a.userid
) -
'IF' statement in a select statment?
I have the following cursor in a package specification;
cursor c_sales_code is
select sales_condition||' MC '||sales_option
from sales;This will return something like: 'T300 MC 9'
MC means 'multiple choice' for when there are multiple options. Although, sales_option is sometimes null and in this case I just want 'T300' to be returned, not 'T300 MC'.
How would I go about doing this?
Thanks,
fakelvisUse
CASE and DECODE
to add the functoinality of Conditional Statements in Your SQL Statements..
These two CASE / DECODE will help you to get your desired output -
I need to choose between value1 and value2 within a select statement.
TableA
Flag (char)
Value1
Value2
ItemDesc
pseudo code
select ItemDesc, (if Flag = 'y' then Value1 else Value2) as Price from TableA;
How can this be done?select itemdesc,
sum (case
when flag = 'y'
then (case
when value1 < 10
then value1 * 1.2
else value1
end)
else value2
end
) as price
from tablea
group by itemdesc; -
If statement in select statement alias
I have the following select statement. It has the alias Survivors, Deaths and "All Cases". Is it posible to use :P_LANGUAGE variable to say that -- IF :P_LANGUAGE = FRENCH THEN alias are Survivants for survivors, Décès for Deaths, Tous_les_cas for All Cases. Please advise
SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS Survivors,
T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS Deaths, T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "All Cases"
FROM T_NTR_MULTIBAR
WHERE INSTANCE_NUM = :P_INSTANCENUM
order by ORDERSYou may not be able to add this condition inside the SQL Statement. But you can add this condition outside the statement, if you're using PL/SQL...
IF :p_language = french THEN
SELECT ALL t_ntr_multibar.cat,
t_ntr_multibar.num_cases_leftbar AS survivors,
t_ntr_multibar.num_cases_middlebar AS deaths,
t_ntr_multibar.num_cases_rightbar AS "All Cases"
ELSE
END IF; -
I'm trying to set up a formula similiar to an If then statement with the PLD, and not having any luck. I need to create a formula on a sales order that says if there is no frieght on the order display "0.00".
Thanks.
EricHi,
Create a field with empty value (Say field ID is 100).
Create a formula field which equals fields 100 and 186 (Say field ID is 101).
Create a formula field which has "not equals" as relation, within fields 100 and 186 (Say field ID is 102).
Create a field with the text 0. Link it with the field 101. Put it in the same place as the 186.
Link the 186 field with the 102.
Result: 0 will be shown when 186 is empty, value of 186 when is not empty.
Hope is clear,
Ibai Peñ
Maybe you are looking for
-
Function module u0091GET_PRINT_PARAMETERSu0092 Not showing all columns
Hello all, I am using function module GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING DESTINATION = LOC_DEST COPIES = WF_COPIES LIST_NAME = WF_LISTNAME LIST_TEXT = WF_LISTTEXT
-
WITH rcv_transactions AS (SELECT 1001 TRANSACTIONS_ID, -1 PARENT_TRANSACTION_ID, 'RECEIVE' TRANSACTION_TYPE, NULL LPN_ID, 'LPN01' TRANSFER_LPN_ID FROM
-
Continued Mail Problems Plague 2.2
Well, I kept holding out hope that Apple would finally step up and resolve the mail issues with this current update, but 2.2 is still plagued. At least now my phone has gone back to checking mail by itself, but the old problem have returned in full f
-
Saving PDF "sequential" (like by date or dep. variable...)
Hello Team :-) A potential client asked me for help. He needs "fairly standard purchase orders and quotation forms", but "would like the auto save or save buttons that use form fields to name the file"... he further wrote "and the equal of "macros" t
-
COM_PROD_MATERIAL_MAINTAIN_API function module
i am using this function module but it wrking very slow to update condition and aftr sometime it stop to update in loop. please need input its urgent