How to set field as Mandatory
Hi,
I want to set a field as mandatory. It we didn't give any data in a field and save it should not accept the null value how to set it.
Regards,
Madhavi
Hi David,
I wrote that code but the error comes where oSBO and bmt_Short comes. What should i do for that.
And i gave a code for combo Mandatory
Dim oForm2 As SAPbouiCOM.Form
Dim oCombo As SAPbouiCOM.ComboBox
oForm2 = SBO_Application.Forms.Item(pVal.FormUID)
oCombo = oForm2.Items.Item("cbocate").Specific
If oCombo.Selected.Value = "" Or oCombo.Selected.Value = Nothing Then
BubbleEvent = False
oCombo.Active = True
SBO_Application.SetStatusBarMessage("Category Code should not be left blank")
End If
Its working but an error come 'Object Reference Not added to the Instance of an Object'
But the same code is working for EditText without any error
Similar Messages
-
How to Set field non mandatory in PA40
Is there a way to make non-mandatory field RP50G-EINDA in PA40?
Many Thanks
AlfonsoHi
Go to t588m table make that field as required field
Warm Regards -
How to set field alignment in a table in jdev 11.1.2.3?
hi,
How to set field alignment in a table in jdev 11.1.2.3?
eg: to diplay a number field in a table as right aligned.
I have tried to set field(amount) VO UI Hint Format Type:Number; Format: 0000.00
and jspx as flowing, but it doesnot work.
Thanks.
bao
<af:column sortProperty="#{bindings.VO1.hints.Amount.name}"
sortable="true"
headerText="#{bindings.VO1.hints.Amount.label}"
id="c44" width="60"
align="center">
<af:inputText value="#{row.bindings.Amount.inputValue}"
label="#{bindings.VO1.hints.Amount.label}"
required="#{bindings.VO1.hints.Amount.mandatory}"
columns="#{bindings.VO1.hints.Amount.displayWidth}"
maximumLength="#{bindings.VO1.hints.Amount.precision}"
shortDesc="#{bindings.VO1.hints.Amount.tooltip}"
id="it58"
secret="false"
inlineStyle="text-decoration:overline;">
<f:validator binding="#{row.bindings.Amount.validator}"/>
</af:inputText>
</af:column>Works for me:
<af:column sortProperty="#{bindings.EmployeesView1.hints.Salary.name}" sortable="false"
headerText="#{bindings.EmployeesView1.hints.Salary.label}" id="c7" align="right">
<af:inputText value="#{row.bindings.Salary.inputValue}" label="#{bindings.EmployeesView1.hints.Salary.label}"
required="#{bindings.EmployeesView1.hints.Salary.mandatory}"
columns="#{bindings.EmployeesView1.hints.Salary.displayWidth}"
maximumLength="#{bindings.EmployeesView1.hints.Salary.precision}"
shortDesc="#{bindings.EmployeesView1.hints.Salary.tooltip}" id="it6">
<f:validator binding="#{row.bindings.Salary.validator}"/>
</af:inputText>
</af:column>JDeveloper 11.1.2.3
Salary is shown right-aligned.
What happens if you get rid of your inlineStyle on the af:inputText -
How to set field type choice using csom (c#)
I have a field type: Choice (menu to choose from) which is not multichoice. How do I set a value?
I have found code for multiple choice but it doesn't seem to work for single choice.Hi,
The following code snippet for your reference:
newListItem["ChoiceFieldName"] = "ChoiceValue";
newListItem.Update();
clientContext.Load(newListItem);
clientContext.ExecuteQuery();
If you are assigning a Value which is not in the Choice Column, You need to create a choice value then assign it to the item.
More information is here:
http://sharepoint.stackexchange.com/questions/124999/how-to-set-field-type-choice-using-csom-c
Best Regards
Dennis Guo
TechNet Community Support -
How to set field to blank if the data is # or unassigned
hi experts,
how to set field to blank if the data is # or unassigned?
thxHi
add the following macro to your workbook (template workbook):
Sub SAPBexonrefresh(qstring As String, resultArea As Range)
For Each c In resultArea
If LCase(c.Value) = "not assigned" Then c.Value = ""
Next
End Sub -
How to set field value in workflow SPD2013?
Hi All,
how to set field value in workflow SPD2013? Actually using Infopath, i need to update a field value through workflow.(Little differnt from SPD2010). How to do this?As Amit says, some elaboration here would be good. You can use InfoPath as a form for either a list or a library and then set it to trigger a workflow upon item creation. The workflow will consist a number of actions, one of which is the Update
Field Item.
More information on the available steps can be seen here.
http://msdn.microsoft.com/en-us/library/office/jj164026.aspx
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
How to set Batch as mandatory field in Subcontracting PR component input
Hello,SDN members
Happy New Year!
My scenario is about subcontracting purchasing:
1. Move stock to vendor through movement 541
2. Create a purchase requisition includes items with item category "L",
and then input component,that is a quantity of material moved to vendor above
3. Convert PR to PO
4. Process GR according to PO
Beause the batch field is optional in component input screen above step2,the user always forget to input it.
So I want to set Batch field as mandatory in component input screen.
I have not idea about it,Could anyone give suggestion?this batch number field for the component in the PO is optional for various reasons. the batch that you send to your subcontractor may not even be produced at the time when you create the PO. In this case the user could not enter anything.
The PO is created by buyers, but the component is send to the vendor by the shipping department, the buyer usually does not care about the batch.
The batch field becomes mandatory when you ship the material to the vendor using ME2O, or even in the transaction MB1B
and the batch field is again mandatory when you receive the finished good and have to issue the component.
The batch field in the PO component can only be made mandatory from a good developer in a user exit -
How to set field "third party" in the Web Adi, General Ledger - Journals?
Hello,
We are trying to find how to set the field "Third Party" in the template WebAdi, and validate data and also can display in the form of general ledger journals.
thanks for the collaboration.hi,
just make the input feild as mandatory in properties and use the following code.
data:
lo_view_controller type ref to if_wd_view_controller,
lo_dyn type ref to cl_wd_dynamic_tool.
Create Object
create object lo_dyn.
data lt_messages type lo_dyn->t_check_result_message_tab.
Get view controller reference
lo_view_controller = wd_this->wd_get_api( ).
Call Method to verify the element has the value or not
call method cl_wd_dynamic_tool=>check_mandatory_attr_on_view
exporting
view_controller = lo_view_controller
display_messages = ABAP_TRUE
importing
messages = lt_messages .
endmethod.
Regards,
Kranthi -
How to set receiving batch mandatory in MIGO-mov type 303
Hi gurus,
We want to set receiving batch mandatory in MIGO-mov type 303.
We already made this field (UMCHA) as Required in OMJJ under Field selection-Enjoy and Field selection (from 201)/Batch search procedure, but when do transaction, the field still not even appear. Can you help to know how to do that?
Many thanks in advanceHello HongNguyen ,
Please try the following customzing path in your system if you haven't already:
- Transaction SPRO
- IMG
- Materials Management
- Inventory Management and Physical Inventory
- Settings for Enjoy Transactios
- Settings for Goods Movements (MIGO)
- Field Selection per Mvt Type
Please check your settings for Movement Type 303 and see if they are set to "Mandatory".
I hope this information has been helpful.
Best Regards,
Frank -
How doset the Field as mandatory at UI Level
Hi all,
How do set the field as mandatory at UI Level.
Thanks in advance
C.KarukkuvelHi Pedja,
Thanks.Working fine.
Regards
C.Karukkuvel -
How to keep field as mandatory in function module
I have one field in import parameter can you please suggest how to keep it as mandatory
ThnxIn IMPORT parameter tab you have one checkbox OPTIONAL, if you check it that field will be optional otherwise it is mandatory.
Best Regards,
Vibha
*Please mark all the helpful answers -
HOW TO SPECIFY FIELD AS MANDATORY IN D3L
hi
i know that in dtd we can mention a field is mandatory or not.How can we do the same in D3L.
actual requirement is a field in a text file is mandatory.If i import dtd (with filed specified as mandatory) in to istudio to define common view ,it should be fine.But i like to know if there is any way to define a field as a mandatory field in D3L?..
Please reply as soon as possible.
ThanksIn IMPORT parameter tab you have one checkbox OPTIONAL, if you check it that field will be optional otherwise it is mandatory.
Best Regards,
Vibha
*Please mark all the helpful answers -
Hi,
Sorry if this is a dumb question and its one Im kind of embarssed to ask. I have final cut express 3.0 and I cant seem to figure out how to set the field dominance.Why do you need to set the field dominance?
Select the clip in the Browser and choose Edit>Item Properties.
In the window that opens Control-click the item you want to alter (in the Clip column) and select from the drop-down menu.
Ian. -
How to set fields contained in an input structure as not mandatory in WSDL
Hi all,
I hope someone can help me sort out a problem I've been having recently.
I'm generating a WSDL from a function module, which has a structure as the only input parameter. This structure contains a number of fields, which need to be presented as not mandatory in the WSDL descriptor.
I modified the function module by setting the structure and all its contained fields as not mandatory, but when I generate the related WSDL it shows the structure as optional and its subfields as mandatory.
Below is a snippet of the WSDL:
<xsd:element name="Zk4RfcTibcoFatt">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="XZk4Headprev" type="tns:Zk4Headprev" minOccurs="0" /> <-- optional structure
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="Zk4Headprev">
<xsd:sequence>
<xsd:element name="RecordType" type="n0:char4" /> <-- non optional parameters
<xsd:element name="IdricTecn" type="n0:char15" />
<xsd:element name="IdricFour" type="n0:char15" />
<xsd:element name="CodOperaz" type="n0:char4" />
</xsd:sequence>
</xsd:complexType>
I can't understand why the stucture's elements are not defined as optional in the WSDL, while they're configured as optional in the function module definition. I'd expect a minOccurs="0" added to each structure's element definition.
I even tried modifying manually the WSDL from SE80, but it seems it can't be altered in any way.
Has anyone a solution to this problem?
Thanks in advance.
Best Regards.I tried to do that, but I can't manage to edit the WSDL in SE80, is there a way to do it?
I also tried modifying the WSDL in an external editor, but I can't find a way to switch the edited one with the original one in SAP.
Can you please help me on that?
Thanks in advance for any help you can give me. -
How to set pdn12.trancat mandatory in this stored procedure?
How can i make PDN12.transcat in this Stored Procedure
USE [zIRC DEMO]
GO
/****** Object: StoredProcedure [dbo].[SP_CHECK_MANDATORY_IN_OPDN] Script Date: 03/07/2014 10:37:54 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[SP_CHECK_MANDATORY_IN_OPDN]
@list_of_cols_val_tab_del NVARCHAR(255), @error_message NVARCHAR(255) OUTPUT
AS
BEGIN
--invoice type
select
@error_message='In header line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND isnull(OPDN.U_InvType,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND isnull(OPDN.U_InvType,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Invoice Type is missing'
-- num at card
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In header line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.NumAtCard,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.NumAtCard,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Vendor ref. number is missing'
END
-- transporter
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.U_Transport,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.U_Transport,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Transporter is missing'
END
--dealer
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.U_dealer,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(OPDN.U_Dealer,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Dealer is missing'
END
--base price
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_BasePrice,0)=0
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_BasePrice,0)=0
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Base Price is missing'
END
--taxcode
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(PDN1.TaxCode,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S','L') AND isnull(PDN1.TaxCode,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Taxcode is Missing'
END
-- ed rate
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_EDRate,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_EDRate,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Excice Duty Rate is missing'
END
-- ed duty
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_EDuty,0)=0
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('M','D','S') AND isnull(PDN1.U_EDuty,0)=0
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Excice Duty is missing'
END
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND ISNULL(PDN1.U_MfgInvNo,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND ISNULL(PDN1.U_MfgInvNo,'')=''
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Mfg. invoice number is missing'
END
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND isnull(convert(nvarchar(10),U_MfgInvDt,112),'')=''
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND isnull(convert(nvarchar(10),U_MfgInvDt,112),'')=''
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Mfg. invoice date is missing'
END
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND PDN1.U_MfgQty=0
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND PDN1.U_MfgQty=0
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Mfg. invoice Quantity is missing'
END
if(ISNULL(@error_message,'')='')
BEGIN
select
@error_message='In line number(s), '+ substring
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
where
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND PDN1.U_MfgValue=0
order by
PDN1.LineNum FOR XML PATH ('')
),1
,LEN((
select CONVERT(char(2),PDN1.LineNum)+','
from
OPDN
inner join PDN1 on OPDN.DocEntry=PDN1.DocEntry
WHERE
OPDN.DocEntry=@list_of_cols_val_tab_del AND OPDN.DocType='I' AND OPDN.U_InvType in ('D','S') AND PDN1.U_MfgValue=0
order by
PDN1.LineNum FOR XML PATH ('')
))-1
)+' Mfg. Assessble value is missing'
END
if(ISNULL(@error_message,'')<>'')
BEGIN
return -1
END
else
begin
return 0
end
ENDHello Nabil
Could you explain what is the point of making PDN12.Trancat mandatory? I am asking this because at my end that field has got NULL value in all PDN12 table entries, and I am not sure if this field can be updated manually when creating a Good Receipt PO. Considering this, it seems that by making this field mandatory TN will block all Good Receipts from addition.
Regards
Maybe you are looking for
-
How can we take print out for challen no. create d by J1INCHLN
hi,. actually i forgot to take print after running J1INCHLN . how can we take printout or display without running J1INCHLN . one challen number is created , is there any tcode to view or print. regards. hari priya
-
Time Machine not backing up system files on second hard drive
The system files are not being included in my time machine backups on my primary drive (an internal SSD) but they are for my secondary drive (an internal HDD). I want to revert the system back to a previous state because of a change I made to the Au
-
Sending of GR & GI slips through external mail
Hi All, Kindly suggest me, to achieve following client requirement. The requirement is to send the GR and GI slips through external mail to "Goods Recipient" for MIGO transaction. Many thanks, Venkat
-
Article/References to XI/PI Message Flow
Does anyone have any good articles or references that show how a message flows into and out of XI/PI? Im specifically looking for something that shows how the message hits the communication channels and goes through the sender agreements, receiver a
-
[SOLVED] Catalyst 12.6 legacy and Awesome 3.5 (official repo)
Hi, I have a readeon HD 2600 and I'm swaping from free drivers to ati's one. I post here because I have an issue with awesome. It's actualy the same glitch as in this thread (https://bbs.archlinux.org/viewtopic.php?id=147680). It appear when i'm resi