How to Set Field NAST-AENDE to X
Hello Sir,
I am creating one Scheduling agrement using t-code ME31L and then changing it's validity date
using t-code ME32L.
When i change this Scheduling agrement my Field AENDE(Chyange Flag) in table NAST is not set to X by default.
May i Know while cretaing SA when this field NAST-AENDE is set to X.
Or how can we set this field to X manually.
Thanks & Regards
Sachin
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
Similar Messages
-
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 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 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. -
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,
MadhaviHi 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 -
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 -
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 field checkbox values based on another field
I'm trying to provide the user with the ability to check one box "Check All" which would then set the check boxes for a section to the same value as shown in the example. Anyone know how I can accomplish this?
Thank you.
Example
General Category A [ ] Check All
[ ] Item 1
[ ] Item 2
[ ] Item 3
[ ] Item 4
If user selects "Check All", all the Items in the list for "General Category A" are then checked automatically.You can create a document level function to check a series of check fiels as long as they all have the same checked value.
// document level function that can be used for many sections
function CheckAll(aFields, sChecked) {
// test to see Check All box for being checked
// and if checked set to aFields to checked value
// otherwise clear fields
if(this.getField(event.target.name).value == 'Off') {
// field unchecked
this.resetForm(aFields); // clear the fields
// end box not checked
} else {
// check all box has been checked
// loop through the fields to check
for (i = 0; i < aFields.length; i++) {
// all fields are assumed to have a value of 'Yes' when selected
var f = this.getField(aFields[i]); // get field for element i
f.value = sChecked; // set to checked value
} // end loop to check
// end checked
} // end unchecked
} // end CheckAll function
// end document level function
You can then add a mouse up aciton for the check all check box:
// mouse up action for check all check box
// define array of check box fields to process
var aSecFields = new Array('Item 1', 'Item 2', 'Item 3', 'Item 4');
// call CheckAll function
// passing the array list of field names and checked value
CheckAll(aSecFields, 'Yes');
or you can use 1 line of executable code:
// mouse up action for check all check box
// call CheckAll function
// passing the array list of field names and checked value
CheckAll(['Item 1', 'Item 2', 'Item 3', 'Item 4'], 'Yes'); -
How to set field width and height at runtime programatically?
Hi all,
I want to set the width and height of a report field by reading its values from the database table.
Is it possible in Oracle reports?
How to achieve this in Oracle reports 10g?
Any help will be highly appreciated.
Thanks .... Best Regards
BilalYou cannot give it a specific value. During design you can set Horizontal and Vertical Elasticity properties to Variable, so the items are automatically scaled when running the report.
-
How to set field mand to 'C' in table TFDIR / tfdir-mand
Dear Expert,
while enter the actual data for PerNo in the transaction LT12, sap start to check the Personal No in HR master, thoung we don't use HR. We don't need this check. I know hoe to deactivate the check in HR. But what I am wondering is, that SAP check the tfdir-mand field. Who can tell me, how can I change this field? Is this a cutomizing table or not?
Kind Regards,
AnnaIf the userexit is activated, then the system will set up ´"C" automatically.
kr,
Anna -
Msa50-workbench: how to set field sort1 from field sortl ?
Hello forum,
in tile bp -> details, I've mapped ctrlSortfieldT to BO Attribute Sortl.
So i can see the sortfield in bp-details.
But in order to exchange this mandatory-field with crm-online/r3,
I have to fill field sort1 in msa.
How can I set this field while updating the bp-detail dataset ?
Has anybody an idea esp. coding ?
Best regards
GerdHi Gerd,
It is very simple.
Select the event on which you want the things to get saved. Or if its a general input field, no need to even program the events.
On change of the field system take a note that field is changed. and when you save the Business component by pressing save button, automatically a outbound queue in mobile is created to send the data to CRM Server.
Best Regards,
Pratik Patel
<b>Reward with Points!</b> -
How to Set Field value using javascript?
I have a Field in First Page called 'SO'. I want to populate this field from the field value of SD_ITEMS.DATA.VBELN first row in the each page. Please help me with javascript to set this value.
Thank you.
RanjiI have a Field in First Page called 'SO'. I want to populate this field from the field value of SD_ITEMS.DATA.VBELN first row in the each page. Please help me with javascript to set this value.
Thank you.
Ranji -
How to set field length in Dynamic IT tab
Hi All,
I am creating 1 dynamic internal table with refrence of field catalog, but in the dynamic IT tab and work area i am gettinf field length is 10 char.
But i want to change this into 15 or 20 char like this.... how can i change this
Please help me .
DATA: ep_tab TYPE REF TO data,
new_line TYPE REF TO data.
FIELD-SYMBOLS: <l_table> TYPE table,
<l_line> TYPE ANY.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
I_STYLE_TABLE = c_char
it_fieldcatalog = it_fieldcatalog
I_LENGTH_IN_BYTE = ' '
IMPORTING
ep_table = ep_tab.
ASSIGN ep_tab->* TO <l_table>.
CREATE DATA new_line LIKE LINE OF <l_table>.
ASSIGN new_line->* TO <l_line>.
This is my code.
Regards,
Arjun.Hi,
try this
** ALV DECALRATION
DATA : wa_lvc_cat TYPE lvc_s_fcat,
gt_lvc_cat TYPE lvc_t_fcat.
DATA : wa_fieldcat TYPE slis_fieldcat_alv,
gt_fieldcat TYPE slis_t_fieldcat_alv.
DATA : wa_slis_layout TYPE slis_layout_alv.
PERFORM create_dynamic_itab. " Fill fieldcatlog and create dynamic itab
*& Form CREATE_DYNAMIC_ITAB
* text
* --> p1 text
* <-- p2 text
FORM create_dynamic_itab .
CLEAR g_pos .
PERFORM fill_gt_lvc_cat_fld USING 'MATNR' 18 . "fieldname outputlen.
PERFORM fill_gt_fieldcat_field USING c_x 'MATNR' 'CHAR' 18 text-006.
PERFORM fill_gt_lvc_cat_fld USING 'CODE' 40 .
PERFORM fill_gt_fieldcat_field USING ' ' 'CODE' 'CHAR' 40 text-024.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = gt_lvc_cat
IMPORTING
ep_table = new_table.
ENDFORM. " CREATE_DYNAMIC_ITAB
*& Form FILL_gt_lvc_cat_FLD
* text
* -->P_0006 text
* -->P_18 text
FORM fill_gt_lvc_cat_fld USING p_fieldname TYPE any
p_outputlen TYPE any.
wa_lvc_cat-fieldname = p_fieldname . " 'MATNR'
wa_lvc_cat-outputlen = p_outputlen. " 18
APPEND wa_lvc_cat TO gt_lvc_cat.
CLEAR wa_lvc_cat.
ENDFORM. " FILL_gt_lvc_cat_FLD
*& Form FILL_GT_FIELDCAT_FIELD
* text
* -->P_C_X text
* -->P_0012 text
* -->P_0013 text
* -->P_18 text
* -->P_TEXT_006 text
FORM fill_gt_fieldcat_field USING p_key TYPE any
p_fieldname TYPE any
p_datatype TYPE any
p_outputlen TYPE any
p_seletext_m TYPE any.
g_pos = g_pos + 1.
wa_fieldcat-col_pos = g_pos. " 1.
wa_fieldcat-key = p_key . " c_x.
wa_fieldcat-fieldname = p_fieldname. " 'MATNR'.
wa_fieldcat-datatype = p_datatype. " 'CHAR'.
wa_fieldcat-outputlen = p_outputlen. " 18.
wa_fieldcat-seltext_m = p_seletext_m. " text-006. "'Material'.
APPEND wa_fieldcat TO gt_fieldcat.
CLEAR wa_fieldcat.
ENDFORM. " FILL_GT_FIELDCAT_FIELD
PERFORM fill_output_layout. " Fill the output data into field symbol
*& Form FILL_OUTPUT_LAYOUT
* text
* --> p1 text
* <-- p2 text
FORM fill_output_layout .
ASSIGN new_table->* TO <fs_table>.
CREATE DATA new_line LIKE LINE OF <fs_table>.
ASSIGN new_line->* TO <fs_line>.
LOOP AT gt_mseg INTO wa_mseg.
ASSIGN COMPONENT 'MATNR' OF STRUCTURE <fs_line> TO <fs_field>.
<fs_field> = wa_mseg-matnr.
READ TABLE gt_grdtrans INTO wa_grdtrans WITH KEY mawerk = wa_mseg-WERKS
matnr = wa_mseg-matnr
mat_doc = wa_mseg-mblnr binary search.
IF sy-subrc = 0.
LOOP AT gt_qmfe INTO wa_qmfe WHERE qmnum = wa_grdtrans-qmnum.
READ TABLE gt_qpct2 INTO wa_qpct2 WITH KEY codegruppe = wa_qmfe-fegrp
code = wa_qmfe-fecod
BINARY SEARCH .
IF sy-subrc = 0.
ASSIGN COMPONENT 'CODE' OF STRUCTURE <fs_line> TO <fs_field>.
<fs_field> = wa_qpct2-kurztext.
ENDIF.
endloop.
clear wa_qmfe.
ENDIF.
ENDLOOP.
CLEAR wa_mseg.
PERFORM fill_layout. " Filling the layout of REUSE_ALV_GRID_DISPALY
*& Form FILL_LAYOUT
* text
* --> p1 text
* <-- p2 text
FORM fill_layout .
wa_slis_layout-zebra = c_x.
wa_slis_layout-colwidth_optimize = c_x.
ENDFORM. " FILL_LAYOUT
Edited by: ShaliniSinha on Mar 30, 2009 1:49 PM
Edited by: ShaliniSinha on Mar 30, 2009 1:55 PM -
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.
Maybe you are looking for
-
I need advise and help with this problem . First , I have been with Mac for many years ( 14 to be exact ) I do have some knowledge and understanding of Apple product . At the present time I'm having lots of problems with the router so I was looking i
-
Extract the photo in ArchiveLink and save the file in a path of the server
Hi all, I need extract the photo file in SAP HCM, object HRIEMPFOTO, and save as a file in a path of the application server, can someone help me how can I do?? thanks!!! Best Regards, Félix
-
Unable to open an adobe pdf document on android.
Have both nexus' and I am unable to open a pdf document. I have forwarded the pdf to an iphone user and they can open it please explain.
-
I have installed Oracle 8i Lite on my windows 98 (and my NT machine). After running the CESETUP to install on an HP Jornada, I cannot see the ODBC datasource CE. The driver does not seem to be installed. I am using MS Active Sync 3.0 for the HP runni
-
Constructor and Class constructor
Hi all Can any one explain me the functionality about Constructor and class constructor?? As well as normal methods, which you call using CALL METHOD, there are two special methods called CONSTRUCTOR and CLASS_CONSTRUCTOR, which are automatically cal