Wednesday, June 13, 2012

PE04 - HR Payroll Function How toS

Steps to create HR Payroll Function


  •  Payroll Function used to tied with the scheme ,  you can create or customize scheme using P01
  • Inside the scheme we call the HR Payroll Function and its parameter
  • HR Payroll function need to edit standard program, access key may be required

1) Customize HR Payroll Function should start with Z_ if not it will request to save to SAP Standard Package.

2) Country assigment should be selected, make sure it will be the same country assigned to the scheme Coutnry .

3) It sames go to Input and Out Paremeter, which should carry the same country. 


4) Need to create the function/subroutine to payroll driver program, in this  case it for China,
the subroutine name FUZ_HKC should be in the include program HCNCALC0

INCLUDE PCBURZCN0.        "Customer functions/operations

5) Details on each field is mean for what will be updated later....

             







Generating 'Sflight' Tables

Flight Application or Sflight is famous test table or application in SAP, to enable this application we need to populate  the dummy data. Below is the list of the table in Sflight application and steps to generate or populate the Sflight tables.

1. Run program  SAPBC_DATA_GENERATOR  using SE38.
2. Choose any number data requirement.
3. Execute the program.
4. Below is the screen capture of the program.





Table Name Description
SCARR Airlines
SPFLI  Flight Schedules
SFLIGHT  Flights
SBOOK  Flight Bookings
SCUSTOM  Flight Customers
SFLCONN  Flight Connections
SFLCONNPOS  Route segments of flight connections
SFLTRIP  Flight trips
SFLTRIPPOS Flight trip passsenger 
SFLTRIPBOK  booking numbers for flight trips


source :
http://help.sap.com/erp2005_ehp_04/helpdata/en/db/7c623cf568896be10000000a11405a/content.htm


Friday, May 18, 2012

Cannot be maintained via basic Transaction


Object type Q infotype 1001 cannot be maintained via basic transaction


I got this issues lately, and the tricks we need to maintain the table T777I or T77CD and T777E.

1. Go to SE16 or SE11.
2. Unchecked the coloumn MAINT - Indicator: Cannot be Maintained via Standard Transactions
3. Save and try to create the object using PP01 or PP02.








Error can not maintain personal number (PA)

If there is error when you train to maintain or insert personnel number it might cause of the number range which is automatically generated by the system. To disable it. go to Tcode PA04


1. Click Change intervals.
2. Delete the current numbers if still exist.
3. Checked columned Ext.
4. Save your changes and try again to add the personnel number.




Wednesday, May 16, 2012

Function to check date



  CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
       EXPORTING
            date                      vbegda              "#EC *
       EXCEPTIONS
            plausibility_check_failed 1
            OTHERS                    2.
  IF sy-subrc <> 0.
    RAISE wrong_date_format.
  ENDIF.


Tuesday, May 8, 2012

Edit Value Database Manually - SE11

Sometimes we need to adjust value in the tables, but we don't have the rights to do so. There is tricks using ABAP debugging method.




  1. Go to transaction SE11.
  2. Select the detail from the table on which field need to adjust the value.
  3. When details of row screen appear. Enter the debugging command '/h'.
  4. Debugging screen will pop up. 
  5. Change the variable value from code = 'SHOW' code = 'EDIT'. Save it.
  6. Press F8 and you can edit the value of the table now.


Wednesday, January 11, 2012

Free SAP Logon

found this at :  http://sapignite.com/get-free-access-to-sap-ides-system/


Get your access to SAP IDES system in 2 simple steps.
1. Request a User Account
Once you fill in all necessary details and execute. You will recieve a mail regarding your login credentials.

2. Login using SAP WAS.
For logging you have two options
  • Using Internet BrowserHere you need not install anything on your end and you can login from any system which has a internet connection. Only setback is that all the screen are rendered as html pages which usually gives you a slower browsing experience.
  • Using SAP GUI :Here you need to install SAP GUI in your local system create a item for logging. This will give a better looks and the response is also comapratively faster.  If you have a S-USER ID you can download it from the following link  for Windows.
If you don’t have a S-USER ID then you can use the following link.
Use the following details for creating a new item in your SAP GUI.
Application Server: i62external
SAProuter-String: /H/ides.consolut.eu/W/consolut/H/
System-ID: I62
System Number: 09