09-23-2011 8:20 AM
Dear Friends,
I have to delete Basic pay of an employee for a year , If I am performing this by PA30 in development server(100)
then the record is deleted but when I am deleting the record from Quality server (009) then it showing following warning
Basic salary is not part of the pay components
it's not allowing me to delete the record, and my requirement is to delete the record in quality server,
Pls do needfull.
Regards,
Rihan
SAP-abaper
09-23-2011 11:05 AM
Hi Rihan
In PA30 go to Edit there u can see the delete option by using this option you can able to delete the BASIC PAY.
Regards
Gopinath Subramanyam
09-23-2011 12:18 PM
Dear Friend,
when I am deleting then this warning message is occurring on screen and record is not deleted in
quality server :
Message:
"Basic salary is not part of the pay components"
hope you understand .
Regards,
Rihan
SAP-abaper
09-23-2011 12:38 PM
Hi
This is not a development issue, you should talk with your Functional Consultant to get more info on the error.
In the meantime you can check those links and see if they can help
You can also debug yourself the cause of the error, this is the relevant code.
Include MP00083IN
MODULE P0008_IN INPUT.
DATA: AL_GRP LIKE T7INA1-ALGRP,
BASWT LIKE T7INB1-BASWT.
* CHANGING THE IT8 STRUCTURE INTO AN INTERNAL TABLE
PERFORM REP_STRUCT_TO_INT_TABLE TABLES CUR_TABLE.
* FINDING OUT THE ALLOWANCE GROUPING FOR THE PERSON
PERFORM FIND_ALGRP USING P0008 CHANGING AL_GRP.
* FINDING OUT THE BASIC SALARY WT FOR THE ALGRP.
SELECT SINGLE BASWT INTO BASWT
FROM T7INB1
WHERE ALGRP = AL_GRP
AND ENDDA >= P0008-BEGDA
AND BEGDA <= P0008-BEGDA.
* FINDING OUT WHETHER THE LIST OF WAGETYPES INCLUDE BASIC SALARY
READ TABLE CUR_TABLE WITH KEY PAYWT = BASWT.
IF SY-SUBRC <> 0.
MESSAGE W135(HRPADIN01).
ENDIF.
ENDMODULE. " P0008_IN INPUT
09-23-2011 3:03 PM
Hello,
how many entries do you have in your infotype ?
If you have only one entry then you can not delete it due to infotype time constraint
BR,
09-24-2011 8:38 AM
Thanks to all Problem has been solved
this is a warning message , neglect it and press enter data will be deleted
Thanks a lot for your support
Rihan
09-24-2011 9:26 AM