Field to store dual citizenship
Hello,
My client wants to store dual citizenship details for the employees in EE master data. I am in USA and using R/3 4.72. Can some one please guide me how to get this functionality in SAP.
I could not find any infotypes to store this information and could not find details in help.sap.com. Please guide me. Thank you.
Why not just create two I0094 with status of Citizen for two different ID Types...e.g. Citizen - Germany & Citizen - Canada. I've defined our "Residence Status" as
1) Citizen; 2) Non-Citizen 3) Non-resident alien and our ID types like: Cert of US Citizen, Canadian Passport, Foreign Passport, etc.
Similar Messages
-
BSP - How to set header-field "no-store"
Hello.
I need to set the HTTP-header-field "no-store" in a BSP-application. The Problem is, that i do'nt know, how to do this.
I just do'nt know, which strings have to be passed to the method "set_header_field". The W3C-RFC gives the following information:
Cache-Control = "Cache-Control" ":" 1#cache-directive
cache-directive = cache-request-directive
| cache-response-directive
cache-request-directive =
"no-cache" ; Section 14.9.1
| "no-store" ; Section 14.9.2
| "max-age" "=" delta-seconds ; Section 14.9.3, 14.9.4
| "max-stale" [ "=" delta-seconds ] ; Section 14.9.3
| "min-fresh" "=" delta-seconds ; Section 14.9.3
| "no-transform" ; Section 14.9.5
| "only-if-cached" ; Section 14.9.4
| cache-extension ; Section 14.9.6
cache-response-directive =
"public" ; Section 14.9.1
| "private" [ "=" <"> 1#field-name <"> ] ; Section 14.9.1
| "no-cache" [ "=" <"> 1#field-name <"> ]; Section 14.9.1
| "no-store" ; Section 14.9.2
| "no-transform" ; Section 14.9.5
| "must-revalidate" ; Section 14.9.4
| "proxy-revalidate" ; Section 14.9.4
| "max-age" "=" delta-seconds ; Section 14.9.3
| "s-maxage" "=" delta-seconds ; Section 14.9.3
| cache-extension ; Section 14.9.6
cache-extension = token "=" ( token
I already tried some combinations, but none of them worked. As i have already searched the SDN-Forum and google, i hope that somebody in this forum knows, how to do the trick...
Regards
Jörg NeumannHello Cornelia.
I have tried setting the header field "max-age=0" and copied the set_header_field-instructions into the eventhandler OnInputProcessing, but this does not solve the problem - it made it even worse.
After setting the header-field "max-age=0", the browser read the page from the local cache for EVERY click on the back-button.
This seemed a little weird to me and so i started testing around...
I am of the oppinion, that the 3 function-calls are overwriting the content of the field "Cache-Control".
Adding the header-fields in the following sequence leads to the "50%-problem" described above:
CALL METHOD response->set_header_field( name = 'Cache-Control' value = 'max-age=0' ).
CALL METHOD response->set_header_field( name = 'Cache-Control' value = 'no-cache' ).
CALL METHOD response->set_header_field( name = 'Cache-Control' value = 'no-store' ).
Any sequence, in which "no-store" was not the last field added, made the browser read the page from the cache for every click on the back-button.
So i think, that i have to set all of the 3 fields, you suggested, and i am only setting one because every function call overwrites all Cache-Control-Directives.
If my conclusions are right, the field Cache-Control should be sort of a "structure" and i have to set 3 of its fields...
Regards
Jörg Neumann -
Hi,
As said in the subject of this mail, Request you to let me know the specified field to store GST No. for New Zealand Company Code. I have find the field in Global Parameters and found that it is not possible due to an error "Entry of a VAT reg.no.is only possible for co.codes in EC countries".
So is there any other field specified to store GST No?
Thanks in advance
GopiHi Karthik,
SAP standard behavior which is absolutely correct. SAP knows that only companies in European Union countries have VAT numbers,
The field to switch on is V_T005-XEGLD and it can be found in transaction code OY01.
Properties tab check box for EU Countries
Thank you
Anil -
Selecting using a field that stores a column_name to be used in the where
I have a table REPORTING_CRITERIA with fields and field values:
gl_criteria1 = 'cc.segment5'
from_value1= '1123'
to_value1= '1130'
gl_criteria2 = 'cc.segment5'
from_value2 = '1140'
to_value2 = '1150'
I am trying to run a select where I pull records where the actual field name stored in gl_criteria1 and gl_criteria2 is used in the where clause.
ie.
select bal.gl_balance, account_code
from gl_balances bal, accounts cc, reporting_criteria crit
where crit.report_name ='BUDGET'
and crit.gl_criteria1 between crit.from_value1 and crit.to_value1
What I want is to have the where read like:
where crit.report_name ='BUDGET'
and cc.segment5 between crit.from_value1 and crit.to_value1
Thus cc.segment5 is the value stored in the reporting_criteria table in the gl_criteria1 field but it is an actual db column to be used in my select.
How can I get this query to work so that the contents of gl_criteria1 field are actually read like a column name in my where?
Edited by: ajgolden87 on Nov 8, 2012 11:10 AMHi,
You should know the column names of the table you are quering. If so you can make queries like this:
with CC as
select 1 id, 1123 segment5 from dual union all
select 2 id, 1124 segment5 from dual union all
select 3 id, 1125 segment5 from dual union all
select 4 id, 1126 segment5 from dual union all
select 5 id, 1127 segment5 from dual union all
select 6 id, 1128 segment5 from dual union all
select 7 id, 1129 segment5 from dual union all
select 8 id, 1130 segment5 from dual union all
select 9 id, 1131 segment5 from dual union all
select 10 id, 1132 segment5 from dual
,REPORTING_CRITERIA AS
SELECT
'SEGMENT5' GL_CRITERRIA_1
,'1123' FROM_VALUE_1
,'1130' TO_VALUE_1
,'ID' GL_CRITERRIA_2
,'4' FROM_VALUE_2
,'7' TO_VALUE_2
FROM
DUAL
SELECT
cc.*
FROM
CC
,REPORTING_CRITERIA
WHERE
GL_CRITERRIA_1 IS NULL
OR CASE WHEN GL_CRITERRIA_1 = 'SEGMENT5' THEN SEGMENT5
WHEN GL_CRITERRIA_1 = 'ID' THEN ID
ELSE NULL END BETWEEN FROM_VALUE_1 AND TO_VALUE_1
) AND
GL_CRITERRIA_2 IS NULL
OR CASE WHEN GL_CRITERRIA_2 = 'SEGMENT5' THEN SEGMENT5
WHEN GL_CRITERRIA_2 = 'ID' THEN ID
ELSE NULL END BETWEEN FROM_VALUE_2 AND TO_VALUE_2
ID SEGMENT5
4 1126
5 1127
6 1128
7 1129 Regards,
Peter -
Can we use BLOB fields (that store images) in Crystal Report ?
I'm developing with ASP.NET, VS.NET 2003.
Using Crystal Report for VS.NET
DataBase: Oracle 10g
I store a BLOB field in a table. This field store images, like jpg files.
The Stored Procedure that I use to fill the report is:
OPEN MyCursor FOR
SELECT MyId , MyImg
FROM MyTable
MyImg is BLOB field
However, when I try to use the stored procedure in Crystal Report at design mode, any field can be displayed and then drag and drop to the report, but MyImg is not possible.
There is an error message:
Details: ADO Error Code: 0x80004005
Source: Microsoft OLE DB Provider for Oracle
Description: Data type is not supported
I'm afraid that is not so easy for me to change DB connector drivers.
My question is:
- Is it possible to use BLOB fields in Cyrstal Reports?
- Or should I convert them previously to something, so they can be displayed in Crystal Report at desing mode ?
- If I should change DB connector drivers, which one should I use and from where should I download it and then install it in my Web Server?
Thank you very much!Hi,
I dont know much at all about CR, but I do know Microsoft's OLEDB Provider for Oracle doesnt support Blob datatype.. http://support.microsoft.com/kb/q244661/
Oracle's OLEDB provider does though, you can get it as part of the ODAC download on OTN.
Hope that helps,
Greg -
Field which store the person who created the trip
Hi guru,
we can't to find which field of which table actually store the person who created the trip inbehalf of the employee. But I can only found the person who lastly change the trip in table
PTRV_HEAD field UNAME. Also what is the logic of when the field UNAME get updated, since for my testing, when another logon user change the trip's head data like date, reason this field get changed. But this field won't be change if the user only change the trip's line item data such as addition info, amount of the trip etc. Is it the real logic of the system?
Thanks in advance.
LizHello Liz,
You can go to the transaction PRTE in there the table AEND you will find all the changes that occur for the particular trip.
Regards,
Raynard -
System field which stores the no.of lines in a main (table) window
Hi,
I would like to know which system field stores the value of height of the main window. based on that I would like to trigger an explicit page-break. Can anyone tell me that field name (table name). I have been looking into one solution which I couldnot find. this is the last option I have.
I have posted couple of posts but still struggliing with the issue.
based on the no.of lines remaining in the page I have to draw one line there and move to next page. (page break.) can anyone help me please
thanks
reddyHi,
In the main window if u create the table there r 3 options.
header
main
footer.
In footer option in outputoptions there r 2 option at print time.
at page break.
at end of table.
U select both the options. Then u r problem will be solved.
Rewardpoints if useful.
Regards
(YUGANDHAR.P) -
Database design: field to store percent value
I need to create a table T that holds field P which is going to store percentage values.
1. Should database store in field P value "3.5" or "0.035" if user enters on web page string "3,5%"? Which is wiser design- to store as values in range 0..1, or in range 0...100 for percentages?
2. How does enterprise products solve this? For example, "Oracle E-Business Suite" is there any field that holds percentage value? How it holds?
Thanks.1. Should database store in field P value "3.5" or "0.035" if user enters on web page string "3,5%"?
Which is wiser design- to store as values in range 0..1, or in range 0...100 for percentages?I prefer storing percentages as numbers in the range 0...1.
To constrain the values on the db filed you can create a check constraint:
SQL> create table test (pct number(4,3));
Table created.
SQL> alter table test add constraint pct_chk
2 check (pct between 0 and 1);
Table altered.
SQL> insert into test values (1.001);
insert into test values (1.001)
ERROR at line 1:
ORA-02290: check constraint (USER.PCT_CHK) violated
SQL> insert into test values (1);
1 row created.
SQL> insert into test values (0.001);
1 row created.
SQL> insert into test values (0);
1 row created.
SQL> insert into test values (-0.001);
insert into test values (-0.001)
ERROR at line 1:
ORA-02290: check constraint (USER.PCT_CHK) violated
2. How does enterprise products solve this? for example, Oracle Erp is there any field that holds percentage value?I don't know.
Max
[My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/17/supporto-di-xml-schema-in-oracle-xmldb/] -
Vendor Email - Field where stores
Hi Friends,
Can any body tel where Email field store.
In Me22n in adress tab. If we click adress detail push button.
there is a field cal Email. where this field stores.
I checked some tables like ADRC, ADR2, ADR3 I am not able to find. If i change this mail id it is not changing in vendor master details.
Thanks,
KumarHi Eric.
Yes same way i am searching...
I open PO in me22n. in adress tab. clicked on adress details
push button and changed mail id. saved PO. now i went checked all adr* tables with vendor (lfa1-adrnr). I am not able to find. I appreciate if any body give solve my problem...
Thanks ,
Kumar. -
Problem with the state field, brazilian store
I had my applications installed on my ipod 3rd gen, then i lost them when i upgraded to iOS 5. Now, i'm trying to get the applications back in the iTunes Store, but it insists on veryfing the payment method and complains about the state field, witch is filled with 'RJ', and then the following message is displayed: 'Inclua no máximo 3 letras ou números para estado', in portuguese, witch translates to 'Fill at most 3 letters or numbers for state'. Anyone can help?
Yes, same here. I cannot complete my registration process due to the same error. My state is correct, which is RS (two letters only). I don't know what else to do. Refer to the image below. Thanks!
-
Using GSBER Bus Area field to store FUND
Hi,
Table FLQITEMFI have the field GSBER ,Now I dont want to store GSBER and I want to store Fund value(4 char).GSBER is having value table of TSBG. I want to store some xxxx or yyyy value in GSBER.
These xxxx or yyyy value is not available in TSBG.
Please give me a solution to store any values in GSBER field in table FLQITEMFI.
Regards,
AshokHi Denis,
thanks for the quick response - I did the EEWB, choosing Business Activity, and then defined it as a Task
in a later step (Task was available on the later list, so I went with that).
Thanks again,
David. -
Making LFBW Fields Sensitive for dual control
Hello,
I´ve been tasked to make the fields LFBW-WT_WITHCD(Withholding tax code)and LFBW-WITHT(Withholding tax type) sensitive(that is changes to be
made
to these fields need confirmation before being allowed, T-code
FK08/FK09), but when I try to change them for the vendor using IMG(that
is SPRO\ IMG\ Financial Acc.\ acc. receivable..\ vendor\ master\ prep.
for creating..\ DEFINE SENSITIVE FIELDS FOR DUAL CONTROL\), I cant find
these fields from LFBW among the allowed fields.
Is there any way to add these field ti this customizing?
Thanks a lot
RegardsHello Sabrina,
LFBW table fields are NOT defined as Sensitive fields. However there are couple of discussions on Addition of a new field. Check the links below and see if you can achieve your requirement. Else raise a message with SAP.
http://scn.sap.com/thread/1271180
http://scn.sap.com/thread/3246897
BR
Amitash -
Hello,
Is there a specific field that we can use to store Australian Business Number or ABN in global parameters of company code?
We have a requirement to print it on all invoices generated out of that AUS company code.
We used RFC field on global parameters for similar requirement with Mexico.
Regards,
Raghu.You can use PAVAL (ID Number) if you're not using it for other purpose.
-
Field to store Handling Unit number
Hi Gurus,
What is the technical field name of Handling unit number we maintain in Delivery?
What is the table name?
How can see handling unit number for a material in delivery document?
Thank you
AnilHi Anil,
Table name is VEKP and field name is VENUM for Internal HU no and EXIDV for Externam HU number.
Regards, -
To store Editable Field in ALV
hi! all,
I'm displaying an ALV Grid Report with a field as editable. Now i need to store the values entered in the editable field to a table how to access the data from that field and store. Kindly help me.
Thanks and Regards,
NagulanThis code of mine may be help u to achieve ur requirement.
REPORT z_demo_alv_jg.
TYPE-POOLS *
TYPE-POOLS: slis.
INTERNAL TABLES/WORK AREAS/VARIABLES *
DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
w_field TYPE slis_fieldcat_alv,
p_table LIKE dd02l-tabname,
dy_table TYPE REF TO data,
dy_tab TYPE REF TO data,
dy_line TYPE REF TO data.
FIELD-SYMBOLS *
FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
<dyn_wa> TYPE ANY,
<dyn_field> TYPE ANY,
<dyn_tab_temp> TYPE STANDARD TABLE.
SELECTION SCREEN *
PARAMETERS: tabname(30) TYPE c,
lines(5) TYPE n.
START-OF-SELECTION *
START-OF-SELECTION.
Storing table name
p_table = tabname.
Create internal table dynamically with the stucture of table name
entered in the selection screen
CREATE DATA dy_table TYPE STANDARD TABLE OF (p_table).
ASSIGN dy_table->* TO <dyn_table>.
IF sy-subrc <> 0.
MESSAGE i000(z_zzz_ca_messages) WITH ' No table found'.
LEAVE TO LIST-PROCESSING.
ENDIF.
Create workarea for the table
CREATE DATA dy_line LIKE LINE OF <dyn_table>.
ASSIGN dy_line->* TO <dyn_wa>.
Create another temp. table
CREATE DATA dy_tab TYPE STANDARD TABLE OF (p_table).
ASSIGN dy_tab->* TO <dyn_tab_temp>.
SORT i_fieldcat BY col_pos.
Select data from table
SELECT * FROM (p_table)
INTO TABLE <dyn_table>
UP TO lines ROWS.
REFRESH <dyn_tab_temp>.
Display report
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name = p_table
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'SET_PF_STATUS'
TABLES
t_outtab = <dyn_table>
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
*& Form SET_PF_STATUS
Setting custom PF-Status
-->RT_EXTAB Excluding table
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'Z_STANDARD'.
ENDFORM. "SET_PF_STATUS
*& Form user_command
Handling custom function codes
-->R_UCOMM Function code value
-->RS_SELFIELD Info. of cursor position in ALV
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Local data declaration
DATA: li_tab TYPE REF TO data,
l_line TYPE REF TO data.
Local field-symbols
FIELD-SYMBOLS:<l_tab> TYPE table,
<l_wa> TYPE ANY.
Create table
CREATE DATA li_tab TYPE STANDARD TABLE OF (p_table).
ASSIGN li_tab->* TO <l_tab>.
Create workarea
CREATE DATA l_line LIKE LINE OF <l_tab>.
ASSIGN l_line->* TO <l_wa>.
CASE r_ucomm.
When a record is selected
WHEN '&IC1'.
Read the selected record
READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX
rs_selfield-tabindex.
IF sy-subrc = 0.
Store the record in an internal table
APPEND <dyn_wa> TO <l_tab>.
Fetch the field catalog info
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = 'Z_DEMO_PDF_JG'
i_structure_name = p_table
CHANGING
ct_fieldcat = i_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc = 0.
Make all the fields input enabled except key fields
w_field-input = 'X'.
MODIFY i_fieldcat FROM w_field TRANSPORTING input
WHERE key IS INITIAL.
ENDIF.
Display the record for editing purpose
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_structure_name = p_table
it_fieldcat = i_fieldcat
i_screen_start_column = 10
i_screen_start_line = 15
i_screen_end_column = 200
i_screen_end_line = 20
TABLES
t_outtab = <l_tab>
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc = 0.
Read the modified data
READ TABLE <l_tab> INDEX 1 INTO <l_wa>.
If the record is changed then track its index no.
and populate it in an internal table for future
action
IF sy-subrc = 0 AND <dyn_wa> <> <l_wa>.
<dyn_wa> = <l_wa>.
i_index = rs_selfield-tabindex.
APPEND i_index.
ENDIF.
ENDIF.
ENDIF.
When save button is pressed
WHEN 'SAVE'.
Sort the index table
SORT i_index.
Delete all duplicate records
DELETE ADJACENT DUPLICATES FROM i_index.
LOOP AT i_index.
Find out the changes in the internal table
and populate these changes in another internal table
READ TABLE <dyn_table> ASSIGNING <dyn_wa> INDEX i_index.
IF sy-subrc = 0.
APPEND <dyn_wa> TO <dyn_tab_temp>.
ENDIF.
ENDLOOP.
Lock the table
CALL FUNCTION 'ENQUEUE_E_TABLE'
EXPORTING
mode_rstable = 'E'
tabname = p_table
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
IF sy-subrc = 0.
Modify the database table with these changes
MODIFY (p_table) FROM TABLE <dyn_tab_temp>.
REFRESH <dyn_tab_temp>.
Unlock the table
CALL FUNCTION 'DEQUEUE_E_TABLE'
EXPORTING
mode_rstable = 'E'
tabname = p_table.
ENDIF.
ENDCASE.
rs_selfield-refresh = 'X'.
ENDFORM. "user_command
Regards,
Joy.
Maybe you are looking for
-
Can anyone help with this safari error, unexpectedly quits COMSOLMultiphysics tmp plugin
I have a continual error (15times in 2 days) with safari quitting and this Plugin error. Is anyone familiar with it and can offer any suggestions as to going about sorting it. Thanks
-
Use Color or Magic Bullet Looks for complete grade and effects?
I am a long time MB Looks user - not heavy dosages but I do find it easy and fast as it keeps you inside FCP and along with the 3-Way CC it was efficient. I am nearing an edit on a 80 minute documentary which involves going from color to clips conver
-
Error passing a remote object in a rmi function call
Hi, I've a problem passing an UnicastRemoteObject extended object in a rmi function call. I get the following error java.lang.IllegalArgumentException: argument type mismatch I've 2 Remote Objects: GalaxyRegistration and Station. I want to pass a Sta
-
I have an application that I am testing in Webstart. There are about 9 configuration files that are part of the application that need to be loaded. Because of the way the application is currenlty setup, I cannot put the config files into the main jar
-
When trying to run video from yahoo and youtube I get a "plugin clocked" message
When trying to run video from yahoo or youtube I get a "pluging blocked" message.