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,
Anna
If the userexit is activated, then the system will set up ´"C" automatically.
kr,
Anna
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. -
How to update field values in a database table using module pool prg?
hi
how to update field values in a database table using module pool prg?
we created a customized table, and we put 2 push buttons in screen painter update and display.
but update is not working?
data is enter into screen fields and to internal table, but it is not updated in database table.
thanks in adv
vidyaHI,
we already used the update statement. but its not working.
plz check this.
*& Module Pool ZCUST_CALL_REC
PROGRAM ZCUST_CALL_REC.
TABLES: ZCUST_CALL_REC,ZREMARKS.
data: v_kun_low like ZCUST_CALL_REC-kunnr ,
v_kun_high like ZCUST_CALL_REC-kunnr,
v_bud_low like ZCUST_CALL_REC-budat,
v_bud_high like ZCUST_CALL_REC-budat.
ranges r_kunnr for ZCUST_CALL_REC-kunnr .
ranges r_budat for zcust_call_rec-budat.
DATA: ITAB TYPE STANDARD TABLE OF ZCUST_CALL_REC WITH HEADER LINE,
JTAB TYPE STANDARD TABLE OF ZREMARKS WITH HEADER LINE.
*data:begin of itab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of itab.
*data:begin of Jtab occurs 0,
MANDT LIKE ZCUST_CALL_REC-MANDT,
kunnr like ZCUST_CALL_REC-kunnr,
budat like ZCUST_CALL_REC-budat,
code like ZCUST_CALL_REC-code,
remarks like ZCUST_CALL_REC-remarks,
end of Jtab.
CONTROLS:vcontrol TYPE TABLEVIEW USING SCREEN '9001'.
CONTROLS:vcontrol1 TYPE TABLEVIEW USING SCREEN '9002'.
*start-of-selection.
*& Module USER_COMMAND_9000 INPUT
text
MODULE USER_COMMAND_9000 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'ENQUIRY'.
perform multiple_selection.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9001'.
WHEN 'UPDATE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
perform update on commit.
WHEN 'DELETE'.
perform append_CUSTOMER_code.
PERFORM SELECT_DATA.
call screen '9002'.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
*& Module STATUS_9000 OUTPUT
text
MODULE STATUS_9000 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_9000 OUTPUT
*& Module USER_COMMAND_9001 INPUT
text
MODULE USER_COMMAND_9001 INPUT.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
endcase.
ENDMODULE. " USER_COMMAND_9001 INPUT
*& Module STATUS_9001 OUTPUT
text
MODULE STATUS_9001 OUTPUT.
SET PF-STATUS 'ZCUSTOMER'.
SET TITLEBAR 'xxx'.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
ENDMODULE. " STATUS_9001 OUTPUT
*& Module USER_COMMAND_9002 INPUT
text
module USER_COMMAND_9002 input.
CASE sy-ucomm.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR sy-ucomm.
WHEN 'UPDATE'.
perform move_data.
UPDATE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE UPDATED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT UPDATED'.
ENDIF.
WHEN 'DELETE'.
perform move_data.
DELETE ZCUST_CALL_REC FROM TABLE ITAB.
IF SY-SUBRC = 0.
MESSAGE I000(0) WITH 'RECORDS ARE DELETED'.
ELSE.
MESSAGE E001(0) WITH 'RECORDS ARE NOT DELETED'.
ENDIF.
endcase.
endmodule. " USER_COMMAND_9002 INPUT
*& Module STATUS_9002 OUTPUT
text
module STATUS_9002 output.
SET PF-STATUS 'ZCUSTOMER1'.
SET TITLEBAR 'xxx'.
endmodule. " STATUS_9002 OUTPUT
*& Module update_table OUTPUT
text
module update_table output.
move itab-MANDT to zcust_call_rec-MANDT.
move itab-kunnr to zcust_call_rec-kunnr.
move itab-budat to zcust_call_rec-budat.
move itab-code to zcust_call_rec-code.
move itab-remarks to zcust_call_rec-remarks.
vcontrol-lines = sy-dbcnt.
endmodule. " update_table OUTPUT
***Selection Data
FORM SELECT_DATA.
SELECT mandt kunnr budat code remarks FROM zcust_call_rec INTO
table itab
WHERE kunnr IN r_kunnr AND BUDAT IN R_BUDAT.
ENDFORM.
****append vendor code
FORM APPEND_CUSTOMER_CODE.
clear r_kunnr.
clear itab.
clear r_budat.
refresh r_kunnr.
refresh itab.
refresh r_kunnr.
IF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_high
IMPORTING
OUTPUT = r_kunnr-high.
r_kunnr-option = 'BT'.
r_kunnr-sign = 'I'.
append r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND NOT v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND NOT v_kun_high IS INITIAL.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = v_kun_low
IMPORTING
OUTPUT = r_kunnr-low.
r_kunnr-SIGN = 'I'.
r_kunnr-OPTION = 'EQ'.
APPEND r_kunnr.
PERFORM V_BUDAT.
ELSEIF r_kunnr IS INITIAL
AND v_kun_low IS INITIAL
AND v_kun_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I003(0) WITH 'ENTER CUSTOMER NUMBER'.
CALL SCREEN '9000'.
ENDIF.
PERFORM V_BUDAT.
ENDIF.
ENDFORM.
FORM V_BUDAT.
IF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'BT'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND NOT v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
r_budat-low = v_bud_low.
r_budat-high = v_bud_high.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND NOT v_BUD_high IS INITIAL.
r_budat-HIGH = v_bud_HIGH.
r_budat-option = 'EQ'.
r_budat-sign = 'I'.
append r_budat.
ELSEIF R_BUDAT IS INITIAL
AND v_BUD_low IS INITIAL
AND v_BUD_high IS INITIAL.
IF SY-SUBRC = 0.
MESSAGE I002(0) WITH 'ENTER POSTING DATE'.
CALL SCREEN '9000'.
r_budat-low = ''.
r_budat-option = ''.
r_budat-sign = ''.
ENDIF.
ENDIF.
ENDFORM.
*& Form update
text
--> p1 text
<-- p2 text
form update .
commit work.
endform. " update
*& Form move_data
text
--> p1 text
<-- p2 text
form move_data .
clear itab.
refresh itab.
move-corresponding zcust_call_rec to itab.
MOVE ZCUST_CALL_REC-MANDT TO ITAB-MANDT.
MOVE ZCUST_CALL_REC-KUNNR TO ITAB-KUNNR.
MOVE ZCUST_CALL_REC-BUDAT TO ITAB-BUDAT.
MOVE ZCUST_CALL_REC-CODE TO ITAB-CODE.
MOVE ZCUST_CALL_REC-REMARKS TO ITAB-REMARKS.
APPEND ITAB.
delete itab where kunnr is initial.
endform. " move_data
thanks in adv
vidya -
How to use FIELD-SYMBOLS to declare a table
How to use FIELD-SYMBOLS to declare a table?
hi yong,
this will be very general:
FIELD-SYMBOLS : <gf_table> TYPE ANY TABLE.
or
to do like a specific table from your program
FIELD-SYMBOLS : <gf_table> TYPE itab.
itab is of course your internal table from your program.
ec -
How to add field value to the standard table
Hi,
How to add field value to the standard table?
for example:
when we go to TCODE SE16-> VBAK table -> on the selection screen if we press F4 against VBTYP we get all the available values for that field. How to add a new document Category value to this field so that it shows up in F4 help for that field.Hi Asif,
I don't think it is possible and feasible for adding new field value to the field VBTYP because it is not possible through SPRO.
If u see the domain of this field VBTYP we have fixed values provided by SAP. There is no value table for this. If u have value table then it will be updated through SPRO. But still if u really want to add some value u can do that by getting access key and add the value in the fixed values of the domain. But of no use other than simply displaying in F4. Because for what ever value u created here there will be no documents in VBAK or any table using this domain.
Hope this is clear for u.
Thanks,
Vinod. -
How Many NUMBER Fields Can SINGLE DATA BASE TABLE CONTAIN
How Many NUMBER Fields Can SINGLE DATA BASE TABLE CONTAIN
Hi
One Database table contain 249 Fields.
Rewards Points if useful..
Regards
Nikunj Shah
Edited by: Nikunj Shah on May 13, 2008 1:08 PM -
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 -
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
SachinWorks 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 -
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. -
Abap2xlsx create worksheet how to set fields in header line without filtersymbol?
Hello Forum,
I am using a package of abap2xlsx (Excel Export ABAP 2 XLSX) and some methods from zcl_excel classes to create a worksheet for internal table gt_table and download it.
Following is some Koding I am using,
When the excel worksheet is downloaded, the header line contains filter symbols in all header fields, when using method bind_table (see A:).
Is there a way to set the header line fields without a filtersymbol?
if I replace the call on method bind_table (see A:) by call on method convert (see B:)
then there are no filtesymbols, but in this method I cannot give a fieldcatalog table as exporting parameter.
And I want to change the texts in the header.
Thanks for any suggestions,
Regards Henricus Kroft
DATA: lo_excel TYPE REF TO zcl_excel,
lo_converter TYPE REF TO zcl_excel_converter,
lo_worksheet TYPE REF TO zcl_excel_worksheet,
lo_writer TYPE REF TO zif_excel_writer,
Data:
gt_rawdata TYPE solix_tab.
ls_table_set-table_style = zcl_excel_table=>builtinstyle_light1.
lo_worksheet = lo_excel->get_active_worksheet( ).
A begin: lo_worksheet->bind_table( ip_table = gt_table
it_field_catalog = lt_field_catalog
is_table_settings = ls_table_set ).
A end
B begin: lo_converter->convert( EXPORTING
it_table = gt_table
i_row_int = 1
i_column_int = 1
io_worksheet = lo_worksheet
CHANGING
co_excel = lo_excel ) .
B end
* " create output file in EXCEL format as type RAW
lf_xdata = lo_writer->write_file( lo_excel ).
* After 6.40 via cl_bcs_convert
gt_rawdata = cl_bcs_convert=>xstring_to_solix( iv_xstring = lf_xdata ).
lf_bytecount = xstrlen( lf_xdata ).
OPEN DATASET gf_datn1_str FOR OUTPUT IN BINARY MODE.
CHECK sy-subrc = 0.
lf_bytes_left = lf_bytecount.
LOOP AT gt_rawdata ASSIGNING <ls_rawdata>.
AT LAST.
CHECK lf_bytes_left >= 0.
TRANSFER <ls_rawdata> TO gf_datn1_str LENGTH lf_bytes_left.
EXIT.
ENDAT.
TRANSFER <ls_rawdata> TO gf_datn1_str.
SUBTRACT 255 FROM lf_bytes_left. " Solix hat Länge 255
ENDLOOP.
CLOSE DATASET gf_datn1_str.Dear SeánMacGC thanks for reply,
But "a.changed" is not a field in GNMT_CUSTOMER_MASTER_CHG. what i am doing in this procedure is i am collecting bulck data and validating field by field from GNMT_CUSTOMER_MASTER_CHG with GNMT_CUSTOMER_MASTER table as their structure is same.. if v_name is not same as v_name_chg then i am setting changed flag to "Y" changed is "changed dbms_sql.varchar2_table" and updating GNMT_CUSTOMER_MASTER in bluck where changed flag ='Y'...
type custRec is record
n_cust_ref_no dbms_sql.number_table,
v_name dbms_sql.varchar2_table,
v_name_chg dbms_sql.varchar2_table,
rowid rowidArray,
*changed dbms_sql.varchar2_table*
i cannot use simple SQL as i need to validate field for each records with GNMT_CUSTOMER_MASTER_CHG and insert into log file as well.....
to run this procedure:
execute DO_DC_NAME_UPDATE_OTHER_TAB.DO_NAME_UPDATE_OTHER_TAB;
Thanks... -
How to modify field symbol of type Index Table with other field symbol of type any.
Hello Experts,
How is it possible to update an filed symbol table of type Index table with other filed symbol table.
e.g.
Field symbol : <lt_table1> type Index table.
Field symbol : <lt_table2> type Index table.
after some code...at run time these table filled like following.
<lt_tabel1 > has value fore column like c11 , c12 , c13
<lt_table2> has value for column like C11 , C12 , C13 , C14 , C15 . some extra values from <lt_table1>
Now I want to be modify <table1> one entires like C12 with <table2 > col C12.
how I can achieve this.
Regards,
Chetan.Hi,
did you try ASSIGN COMPONENT xx OF STRUCTURE <IT_TABEL1> TO <IT_TABLE2>.
xx will contain the number of the column
or maybe, if you have the description with a field catalog or other, that will be easier ..
regards
Fred -
How is the field ValStockValue updated in the table S032
Hi,
For a material ValStockValue (S032-WBWBEST) has a negative quantity.
The concerned material has standard price control and there is unrestricted stock.
Could you please let me know how is this field calculated.
Regards
Deepakhave a look into OSS Note 195158 - Copy S032 is updated incorrectly
Maybe you are looking for
-
My iphone 5s has a mind of its own. why?
my iphone 5s is out of control. everytime i use to it send messages or anything it just starts typing on its own, opening apps, one second im on imessage then suddenly im in the music app. and like today i wanted to send a message while in class. and
-
Open Office File Conversion Trick
I have several NeoOffice files that have the odt extension. I really wanted to have access to them on my iPad without having to convert every single file. Here is a simple solution that has been working for me. I could also have uploaded them all to
-
How can i re install the OS if the software gets corrupted in OSX 10.8 ?
how can i re install the OS if the software gets corrupted in OSX 10.8 ?
-
Sample editor problem in logic pro 9
Usually when you select a track in the arrange window, then click sample editor, that audio file would then appear in the sample editor. But say for eg I have edited the 'kick drum' in the sample editor but would then like to edit the 'snare', when I
-
Hi all, I'm having a perplexing issue with iCal server. Every now and again, iCal reports that it encountered an HTTP 404 error with my iCal account on one of my Lion servers. I can't seem to figure it out. Anyone else having this issue? Any sugg