Delemiting PF
Hi,
Since Joining date of the employee PF info type 0587 has been maintained for employee.(Ex: date of joining 01.04.2009)
Now employee is still with the company and he does't want PF deduction.from this month onwords.
When i tried to delimit this info type with effect from 01.08.2010, system is giving a message that:
Error occurred when delimiting records
Message no. PG169
Diagnosis
The system could not delimit the infotype record.
The employee may still be active. However, the current infotype record has time constraint '1' and may not be delimited.
System Response
Check whether the employee has left the company.
Please give some suggesitions.
Can"t we stop PF deduction for employee who does"t want PF in mid. how we can come across this requirement.
MVR
Edited by: MVRmvr on Aug 27, 2010 1:26 PM
Hi Mv,
This is a scenario, where we as consultants have to be responsible and say a big no as It will make both for the consulting firm as well as client legislatively non-compliant and since SAP is liable to audit systems, at that time this would be a major red mark and SAP also will not support in this case.
It's not about whether the solution exists or not, it's about making your implementation a mark of quality which is under limit of Legal boundaries.
Once an employee opts for PF he cannot withdraw from PF contribution at any point of time. This is strict from law, so request you to say to client, it is not possible through SAP.
Regards,
Prabha
Similar Messages
-
How to upload data from application server
Hi,
please help me out in uploading the data from application server which is a tab delemited file into an internal table.
Thanks
kumarhi,
Use this sample code as an example.
table declaration
tables: mara.
*data declaration
data: begin of it_lfa1 occurs 0,
vendor like lfa1-lifnr,
land1 like lfa1-land1,
name1 like lfa1-name1,
ort01 like lfa1-ort01,
end of it_lfa1.
selection screen
selection-screen: begin of block b1 with frame.
parameters: p_file type rlgrap-filename obligatory.
selection-screen: end of block b1.
at selection screen
at selection-screen on value-request for p_file.
*& start-of-selection
start-of-selection.
perform transfer_file using p_file.
perform write.
*& Form transfer_file
text
-->P_P_FILE text
form transfer_file using p_p_file.
data: l_message(30) type c.
***opening dataset for reading
open dataset p_p_file for input in text mode encoding default message
l_message.
if sy-subrc ne 0.
message i001(zerr2) with p_p_file.
endif.
*******transferring data from file to app server.
do.
read dataset p_p_file into it_lfa1.
if sy-subrc = 0.
append it_lfa1.
clear it_lfa1.
else.
exit.
endif.
enddo.
*******closing dataset
close dataset p_p_file.
endform. " transfer_file
*& Form write
text
--> p1 text
<-- p2 text
form write .
loop at it_lfa1.
write:/ it_lfa1-vendor,
it_lfa1-land1,
it_lfa1-name1,
it_lfa1-ort01.
endloop.
endform. " write
Thanks
Aneesh. -
Problem facing with file upload in webdynpro
hi
this is sathya, i very thank ful to your answers, coming to my problem
i have written the code for file upload action method, in this below code there is no syntax problem.
but there is a run time error , i.e convt_no_number
kindly rectify that.
data: lt_final type table of zalvtab,
ls_final type zalvtab,
"t_table1 TYPE STANDARD TABLE OF str_itab,
"fs_table TYPE str_itab,
i_data TYPE STANDARD TABLE OF string,
lo_nd_zalvtab TYPE REF TO if_wd_context_node,
lo_el_zalvtab TYPE REF TO if_wd_context_element,
l_string TYPE string,
l_xstring TYPE xstring,
fields TYPE string_table,
lv_field TYPE string.
DATA : t_table TYPE if_main=>elements_sel_node,
data_table TYPE if_main=>elements_sel_node.
" get single attribute
wd_context->get_attribute(
EXPORTING
name = `upload`
IMPORTING
value = l_xstring ).
CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
EXPORTING
in_xstring = l_xstring
IMPORTING
out_string = l_string.
SPLIT l_string AT cl_abap_char_utilities=>newline INTO TABLE i_data.
" Bind With table Element.
LOOP AT i_data INTO l_string.
SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
READ TABLE fields INTO lv_field INDEX 1.
ls_final-ebeln = lv_field.
READ TABLE fields INTO lv_field INDEX 2.
ls_final-ekorg = lv_field.
READ TABLE fields INTO lv_field INDEX 3.
ls_final-bukrs = lv_field.
READ TABLE fields INTO lv_field INDEX 4.
ls_final-ebelp = lv_field.
READ TABLE fields INTO lv_field INDEX 5.
ls_final-menge = lv_field.
READ TABLE fields INTO lv_field INDEX 6.
ls_final-netpr = lv_field.
READ TABLE fields INTO lv_field INDEX 7.
ls_final-aedat = lv_field.
READ TABLE fields INTO lv_field INDEX 8.
ls_final-waers = lv_field.
READ TABLE fields INTO lv_field INDEX 9.
ls_final-description = lv_field.
APPEND ls_final TO lt_final.
ENDLOOP.
lo_nd_zalvtab = wd_context->get_child_node( 'sel_node' ).
lo_nd_zalvtab->bind_table( lt_final ).Hi Sathya,
I guess you are trying to upload data from excel file(XLS format).
If it is correct then you cannot do this in webdynpro, first you save the excel file as tab delimited.
Open your excel file->save as->other formats->give file type as TEXT(Tab delemited).
Now use this file to upload. It should work perfectly. -
FCC - File Receiver to generate pipedelemited file
Hi,
Is there a Bean in the file receiver adapter (PI 7.1 EHP1) to generate pipe delemited files instead of the FixedLen one? Or CSV, etc.
Thanks,
MartinHello Ranga Rajan,
Hope File content conversion blgs are helpful to you..
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Thanks,
Satya Kumar
Reward if it is useful.. -
RAR: Risk resolution options , Remove access from user is disabled
Hi All,
In RAR , After risk analysis, if we click on risk description 3 Risk resolution options are there.
Mitigate Risk
Remove access from user
Delimit access for user
In these options mitigate risk only working.I am using GRC SP 5.
How about other two options , save button is disabled.How to enable this?
can we remove/delimit access to user using these options? any body tested these options?
Thanks n Regards,
JosephJoseph,
These functionalities do not exist in the tool and these buttons have been in the RAR for past 2 years. SAP wants clients to use CUP for removing or delemiting access so I highly doubt this will ever work.
Alpesh -
Mass Role Import of derived roles.
Hi All,
I am trying to mass import derived roles. I have created the files Bulk Download File, Role Expert Information File and Primary Org Level File.
All these files are tab delemited text files.
But when i am uploading, it gives me error on Primary Org Level file format is incorrect.
Please suggest me on file format of Primary Org Level. We are on Role Expert 5.2.
Format I am using is
ROLE NAME<TAB>DERIVED ORG LEVEL<TAB>FROM VALUE<TAB>TO VALUE
My To Value is blank.
Thanks in Advance.
Regards,
PravinHi Alpesh,
I was able to upload all the derived roles. What i found was that, there is a limitation on number of rows for primary org value file. It could be limitation of RE 5.2 SP9.
Whenever, primary org value file use to exceed 500 rows, it gives format error.
So, then i restricted the primary org value file within 500 rows & upload went smoothly.
Now, there is one query.
Is it possible, that all the roles which are uploaded can be set to phase generated.
Please suggest.
Thanks in Advance.
Regards,
Pravin -
I posed this question in Actionscript 1 / 2 forum, but I
think that this area may be more appropriate.
I have a AS2.0 file that describes a page in a book
(Page.as). The class page contains private variables that define
things like the background image and hotspot locations on the page.
I have a "pre-processor" that takes the action script file inserts
the page specific images and then builds the page using the Motion
Twin compiler.
I am not using the Flash GUI to create anything because some
of these "books" are very long. I am programatically creating
unique .swf "pages."
The output SWFs all load and render correctly by themselves.
However when I load the page SWFs into my viewer each data has the
data from the first page. It appears to be a scoping problem that
only the class Page from the first SWF is being loaded. If I change
the name of the class/file to something unique and recompile all of
the "pages" it works.
Is there a solution to this without renaming each file and
class?OK. Here we go. So what this does is draw a fixed background
rectangle, load in a background image, and then draw hotspots on
top of the image.
When I create multiple SWFs from this as with custom values,
they all run independently just fine, and have their own content.
When I take those SAME swfs, and nest them in a "book"
wrapper, they ALL show the same content.
I believe it is a scoping problem, and the variables are all
set to the same thing at runtime when they share the stage with
their siblings.
Thoughts?
class Page {
static var app:Page;
var red=0xff0000;
var yellow=0xFFCC00;
var pWidth=756;
var pHeight=1144;
private var pageBack_mc:MovieClip;
private var imageWrapper_mc:MovieClip;
private var hotSpotWrapper_mc:MovieClip;
private var debug_mc:MovieClip;
/****** DATA TO BE MODIFIED BY THE PRE-PROCESSOR ****/
// The temp values are for testing, and gets overwritten by
the pre-processor
private var BACK_IMAGE:String="ATG_2008_082.jpg";
private var PRINT_PDF:String="test.pdf";
private var LINKS:String="ext|
http://www.cnn.com|50|597|322|540::int|3|386|597|322|540";
private var VIDS:String="2.flv|72|247|248|142";
/******* END PRE-PROCESSOR DATA ****/
/******* Data directory definitions ***/
private var IMAGE_DIR:String="images/";
private var PDF_DIR:String="pdfs/";
private var VID_DIR:String="vids/";
public var book:MovieClip;
function Page(mc:MovieClip) {
// Page Constructor
var wrapper_mc=mc;
// Content Wrappers
pageBack_mc=wrapper_mc.createEmptyMovieClip("pb",0);
imageWrapper_mc=wrapper_mc.createEmptyMovieClip("iw",1);
hotSpotWrapper_mc=wrapper_mc.createEmptyMovieClip("hsw",2);
debug_mc=wrapper_mc.createEmptyMovieClip("db",10);
var imgURL=IMAGE_DIR + BACK_IMAGE;
imageWrapper_mc.loadMovie(imgURL);
pageBack_mc.beginFill(0xff0000);
pageBack_mc.lineStyle(1,0x000000);
pageBack_mc.moveTo(0,0);
pageBack_mc.lineTo(pWidth,0);
pageBack_mc.lineTo(pWidth,pHeight);
pageBack_mc.lineTo(0,pHeight);
pageBack_mc.lineTo(0,0);
pageBack_mc.endFill();
createHotSpots();
//setDebug("book");
private function setDebug(val:String) {
// this writes information to a text field since I cannot
trace
debug_mc.createTextField("tf",0,0,0,10,20);
debug_mc.tf.autoSize=true;
debug_mc.tf.selectable=false;
debug_mc.tf.text="debug=" + val;
private function createHotSpots() {
var hotSpotTable_array:Array=new Array ;
hotSpotTable_array=LINKS.split("::");
//hotSpot_array is an array of pipe delemited values
describing hotspots
//ext(ernal) or int(ernal) | url | x | y |width |height
for (var i:Number=0; i < hotSpotTable_array.length; i++)
var hotSpotRecord:String=hotSpotTable_array
var hotSpotRecord_array:Array=new Array ;
hotSpotRecord_array=hotSpotRecord.split("|");
var linkType:String=hotSpotRecord_array[0];
var destination:String=hotSpotRecord_array[1];
var xPos:Number=hotSpotRecord_array[2];
var yPos:Number=hotSpotRecord_array[3];
var hotSpotWidth:Number=hotSpotRecord_array[4];
var hotSpotHeight:Number=hotSpotRecord_array[5];
var
tempHotSpot=createHotSpot(linkType,destination,xPos,yPos,hotSpotWidth,hotSpotHeight);
private function
createHotSpot(linkType:String,destination:String,xPos:Number,yPos:Number,w:Number,h:Numbe r)
var level=hotSpotWrapper_mc.getNextHighestDepth();
var
tempHotSpot_mc=hotSpotWrapper_mc.createEmptyMovieClip(level,level);
tempHotSpot_mc.linkType=linkType;
tempHotSpot_mc.destination=destination;
tempHotSpot_mc.beginFill(0xfff000,100);
tempHotSpot_mc.moveTo(0,0);
tempHotSpot_mc.lineTo(w,0);
tempHotSpot_mc.lineTo(w,h);
tempHotSpot_mc.lineTo(0,h);
tempHotSpot_mc.lineTo(0,0);
tempHotSpot_mc.endFill();
tempHotSpot_mc._x=xPos;
tempHotSpot_mc._y=yPos;
tempHotSpot_mc._alpha=50;
tempHotSpot_mc.createTextField("tf",0,0,0,10,20);
tempHotSpot_mc.tf.autoSize=true;
tempHotSpot_mc.tf.selectable=false;
// Roll Over //////////////
tempHotSpot_mc.onRollOver=function() {
_root.book_mc.flipOnClickProp = false;
var message_str;
if (this.linkType == "int") {
message_str = ("Turn to page "+this.destination);
} else if (this.linkType == "ext") {
message_str = ("External website: "+this.destination);
this.tf.text = message_str;
//Roll Out////////////////////
tempHotSpot_mc.onRollOut=function() {
_root.book_mc.flipOnClickProp = true;
this.tf.text = "";
//Click
tempHotSpot_mc.onRelease=function() {
if (this.linkType == "int") {
_root.book_mc.gotoPage(this.destination);
return tempHotSpot_mc;
/*************** entry point***/
static function main(mc) {
app=new Page(mc); -
How to split columns into rows
Hi All,
Below is my table structure:=
SQL> create table split(id number,value varchar2(200));
Table created.
SQL> insert into split values(1,'X,Y,Z');
1 row created.
SQL> insert into split values(2,'A,B,C');
1 row created.
SQL> commit;
Commit complete.
Expected Output
ID Value
1 X
1 Y
1 Z
2 A
2 B
3 C
I know the feature of converting rows into columns by listagg in Oracle 11g, but is there any feature to convert rows into columns based on a delemiter..."," in my case.
Please help....
Thanks
Arijit>
is there any feature to convert rows into columns based on a delemiter
>
Here is one way
VAR csv VARCHAR2(100)EXEC :csv := 'abc,de,fg,hij,klmn,o,pq,rst,uvw,xyz';
The query:
WITH data AS( SELECT SUBSTR(csv, INSTR(csv,',',1,LEVEL)+1, INSTR(csv,',',1,LEVEL+1) - INSTR(csv,',',1,LEVEL)-1 ) token FROM ( SELECT ','||:csv||',' csv FROM SYS.DUAL ) CONNECT BY LEVEL < LENGTH(:csv)-LENGTH(REPLACE(:csv,',',''))+2 )SELECT token FROM data;See http://projectwownow.blogspot.com/2010/02/oracle-convert-csv-string-into-rows.html -
Hi,
I am
Edited by: Amar J on Dec 3, 2010 2:02 PMhi,
i am planning to acheive it through forms and to make use of text_io package.
But problem with my plan is : is the delimiter so i have a line in the text file like
MMX:ADD1:ADD2:ADD3 format.
the actual data is ike
MMX:Bank street:no:32:tel:050142563
my task is to store all the fields(MMX,Bank Street,no:32,Tel:050142563) except the delimiters i have to store all the values.
so with respect delemiter i cannot cut the data. how can solve this issue.in other words how to get the data based the delimiter if the data itself contains delimiter as a value.
Please help me..
Thanks.. -
Hi all,
I wonder wether I can go beyond my java leve. Here is a stupid problem but could not find it out where in the code ?
I want to read a file where each line will have 2 strings separated by a comma delemiter. for e.g
ABC,DEF
FDG,TYH
GHJ,ABC
my code should read the file in a loop and the first string should go to String variable concept1 and the second string should be the value of Concept2. In my code I could get the first line not beyond that and the error shows :
ABC,DEF
java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(StringTokenizer.java:259)
at GetNodes.main(GetNodes.java:24)
Exception in thread "main"
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.
my code is :
import java.util.*;
import java.io.*;
public class GetNodes
static StringTokenizer st;
static String token="";
public static void main(String [] args)throws IOException
String concept1="";
String concept2="";
BufferedReader br=new BufferedReader(new FileReader("smita.txt"));
String line;
while((line=br.readLine())!=null)
st=new StringTokenizer(line);
while(st.hasMoreTokens())
concept1=st.nextToken();
System.out.println(concept1);
while(!concept1.equals(","))
token=st.nextToken();
concept2=token;
System.out.println(concept2);
token=st.nextToken();
//concept1=token;
I know the code is not efficient but that is what at best I can do with my level.
Thanks and apreciate your comments
cheersthe reason you're getting this error is because you're calling your "st.nextToken() twice, if it reached the EOL then it will throw a NoSuchElementException
while(!concept1.equals(","))
token=st.nextToken();
concept2=token;
System.out.println(concept2);
token=st.nextToken();
}-- you can use List to store your data from your text file, I modified your code into much simpler way like this:
import java.util.*;
import java.io.*;
public class GetNodes
static StringTokenizer st;
static String token="";
public static void main(String [] args)throws IOException
List concept=new ArrayList();
BufferedReader br=new BufferedReader(new FileReader("smita.txt"));
String line;
while((line=br.readLine())!=null)
st=new StringTokenizer(line, ",");
while(st.hasMoreElements())
concept.add(st.nextElement());
for (int i = 0; i<concept.size(); i++)
System.out.println (concept.get(i));
}
Maybe you are looking for
-
How can I buy an IOS app available in UK but not in Australia
How can I buy an IOS app available in UK but not in Australia. The App is " Weber'c on the Grill"
-
Switching Ipod from windows to mac without losing all data
Please help. I set up my Ipod last year with windows computer, downloaded most of my CD's and lots of other music, last month laptop was stolen and I decided to buy a macbook as replacment. I would like to transfer all songs from IPOD to new itunes l
-
Make button flash at the end of the content
is there way to make button flash at the end of the video or auto progress the slide when the video is done?
-
I have tried several ways to stop receiving the "Daily Manager" and it keeps coming. I am not able to end it through the eprint method. Help!!
-
Compare model with diferent schemas to database with diferent schemas
Hi All, I have some tables in diferent schemas that are equal(i.e: country table, i need this table in all the schemas) name and structure are the same but with diferences in some properties like mandatory columns, the problem is when I try to compar