How to find where the segments are get filled.

Hi friends,
I want to know, where the segments are getting filled for an IDoc. Actually i have failed IDoc's, in that IDoc the segment E1EDS01 the Qualifier is 009 its having 2 fields one is SUMMID its having value of 009 and another one is SUMME its having the value of 4.124.
The requirement is this SUMME value is wrong for selected Idocs. How i debug this? I know the partner profile name, basic type and message type. How i will get the proper include name?
Its an outbound interface.
Pls anyone advice are help.
Mohana

Hi Mohana,
If you have partner profile, then goto transaction WE20 and search for your message type in Outbound paramters of that partner and double click on it. Then click on the "_Message Control_" tab.
Process code will be defined there it will direct you to Outbound processing Function module. Then you can find your segment inside include of that Function module. (It could be user-exit also)
If you cannot find process code there, then look for corresponding EDI Output type which triggers the outbound Idoc and get the program name through transaction NACE.
Hope this will help you
Regards
Saravanan

Similar Messages

  • FCPX: How to Find Where the Effects Are

    I downloaded FCPX trial two weeks ago - love it! However, I've been playing around with all the effects. Now, I want to take some of them off. The problem is I can't find what effects I applied to which photos! Is there an easy way to find them without having to go through each of 60 photos to find them?

    Lesson 1 with FCP X.
    If you want to try an experiment, duplicate the project first. That way, you have a backup.
    Having said that, 60 clips won't take long.
    Press Cmd+4 to open the inspector, then make sure the 'Video' tab is selected in the inspector.
    Press Cmd+2 to go to the timeline.
    Press the home key to go to the beginning of the timeline, then press 'C' to select that clip.
    Look at the inspector, and you'll see what effects are added.
    Press the down arrow key to go to the next clip in the timeline, and press 'C' to select it - and so on.
    Andy

  • In standard programmes how to know where the fields are in the code...Urge.

    How to find where the coding of the fields displayed in the standard transactions is written.FOr example In XD0l if I want to find out where the 'key term' is coded in the stadard programe of the transaction XD01.When I go into sytem--->status,I will get to see a window showing the details,In that we can see 3 PRAGRAMS-PROGRAM(SCREEN),PROGRAM(SUB SCREEN) AND PROGRAM (GUI).Can nay one explain the significance of these 3 programs.

    Hi Henry,
    I don't think this is the easiest way to look at the code around a particular field on the screen. Debugging standard programs also can be very tedious, if not impossbile. So, instead of this question, I would like to find out exactly what you want to do if you know the code.
    If you are in a transaction and you want to know where the code of a particular field is, the fastest way to get to it is by pressing the F1 key on the field and then press the Technical info button on the help screen. In here you will typically see the same kind of information but it is very specific to the field you selected.
    PROGRAM(SCREEN) tells you which program is manipulating the main screen, in which your field is embedded. Remember your field may be included in a sub-screen and that subscreen may be the one included in the main screen.
    PROGRAM(SUB SCREEN) tells you which program is directly responsible for the field on the subscreen it is included in. This is where you should find the code most appropriate for the field, but not necessarily.
    PROGRAM(GUI) controls how your push buttons and the menu options in the screen behave and controlled.
    Srinivas

  • How to find where the screen field is stored in table

    Hi all,
    How to find where the screen field  is stored in the table .
    for some transactions if i press F1 on the field and after checking for the technical help.
    I can only find the struture for the screen field, but whereas i need table name for it.
    Can anybody help me how to find the table name where the field is stored.
    Regards,
    Madhavi

    Hi,
    Just hitting a F1 on screen field and getting structure name will not help in getting table name.
    First you need to know the flow of data in the reqd module, which will help you know all the tables in that module with there most of the fields with the data flow, now you need to work on your own to figure out that in which actual tables that value is stored.
    Hope this helps you.
    Regards,
    Tarun

  • How to find where the below sql is used in database

    Hi all,
    I am tring to find the below SQL in our data base where it is used?
    I had done the checking in all reports manually, But have no luck.
    But i am sure that the below sql is in our data base and having some issue on it.
    Can any one please let me know how to find where the below query is used in our database? I mean in packages/ triggers/ procedures or any where in our database
    Please find the query
    select count(sh.shipment_gid) from SHIPMENT sh, SHIPMENT_TYPE stp, LOCATION ld where (sh.shipment_gid in (select sstop.shipment_gid from SHIPMENT_STOP sstop where (sstop.appointment_delivery > trunc(TO_DATE(:1, :2), :3)) and (sstop.appointment_delivery is not null))) and (sh.is_to_be_held=:"SYS_B_0") and (sh.domain_name=:4) and (sh.insurance_policy_number like :"SYS_B_1") and (sh.perspective=:"SYS_B_2") and (sh.shipment_type_gid=stp.shipment_type_gid) and (sh.dest_location_gid=ld.location_gid(+)) and (stp.shipment_type_xid!=:5) order by ld.location_name, sh.start_time
    Regards,
    Dpk

    There is video demonstration how to import from data dictionary.
    After import you can select from the main menu: View->DDL File Editor menu item to open the DDL dialog and then click on "Generate" button on the dialog. When the DDL is generated you can search in it using "Find" button.
    Ivan

  • Apple says  Reminders works with Outlook, but I can't find where the lists are displayed in Office or Outlook  once they are synced.

    Apple says  Reminders works with Outlook, but I can't find where the lists are displayed in Office or Outlook  once they are synced. Any suggestions?

    I'll guess you've already discovered the answer to this, but just in case:
    Reminders works with Outlook tasks by syncing with iCloud, or through Exchange. You can't sync iOS Reminders with Outlook Tasks via USB/iTunes (like you can do with Notes, Calendar, Contacts).
    So the marketing material on Reminders is a little misleading in that it's not specific enough -- there is no syncing without one of those intermediary systems mentioned above.
    On a side note, syncing Tasks/Reminders via iCloud is not very good in my opinion:
    Requires that you sync to the cloud, even if you have no other use for storing personal data in the cloud.
    Requires that the iCloud Control Panel be installed on your PC (not sure about Mac).
    After syncing, you'll find new Calendar and Task groups called "iCloud" have been created in Outlook. The calendar groups appear to be created even if you're only syncing Tasks/Remminders (not sure why).
    Reminders are stored in the new group (noted above) called "iCloud" rather than in your default Tasks group. This seems to me to be a sort of "parallel" sync, rather than a true sync with Outlook. There are oter implications of your synced tasks being in the new group that I won't go into here, but you can search the interwebs to learn more.
    In my own case, I tried iCloud syncing, decided that I didn't like it for the reasons stated above, and then uninstalled (Control Panel and new Outlook groups) with no apparent ill effects.
    Though I don't guarantee you'll have the same results, it might be worth a try to see if it suits your purposes.

  • How to find whether the cookies are enabled or not

    Hi All,
    Please suggest me, while sending the first request only how to find whether the cookies are enabled or not.
    thanks.

    you could use a servlet, write a cookie and then try to read it, if it's read then it's enabled else not.

  • How to find where the data is coming from in appended field for BW extract

    I am not an ABAP'er ... And this problem is about a BW Extractor
    I am extracting data for my (Utility Industry) Sales Statistics Cube using 0UC_SALES_STATS_01 data source. The Extract structure is BIW_ISU_ESTA and we are appending the structure with a few fields:
    I_ZAHL1
    I_ZAHL2
    I_ZAHL3
    I see some similar fields in DBERCHZ1 which are not the same. The data gets filled in the above fields somehow. I need to find out how and where. We have now diffrent variation of the same data and I'd like to extract that transactional data as well using the same fields rather than appending more fields to an already huge extract structure. When I click on the fields in BIW_ISU_ESTA, it takes me no where. I also tried out the extractor program (RSA3) in debug mode but somehow the fields are already populated. I tried using the ABAP dictinary but can't find a way to find these fields there.
    Any help would be appreciated.
    Thanks a lot.
    Bilal

    Thanks Renata,
    This is a standard business content extractor with the fields enhanced. Usually we have some user exits to populate the fields but in this case we only append the extract table. I couldn't see these fields being part of any existing includes in the extract struct but some how they get populated. I guess system knows from where to copy the data.
    Thanks for your reply though. I am closing this thread as it seems not a very popular cube.
    Bilal

  • How to find where the error occured in a program ..

    hi sap techs,
    while running a idoc processing program, I am getting a error. this program is very large so I don't know where the error in coming. I have clicked the error message and noted down the message Id and message number.
    I have tried using<b> where-used</b> on this message but the results were unsuccesful. I also tried searching the program with the message number.
    how can I know in which statement, i am getting this error. please advice me.
    thank you.
    madhu

    Thank aRS / ferry,
    firstly thank you for your replies.
    1) I am using new debugger and did not find option to set break point at system exceptions.
    2) as ARS suggested, i have tried but was bit confused what to use at Message..
         Should I give message number eg '23' or should i give message id
    Also just for your information, when I used. Where-used on the message it said. could not find (possible dynamic calls).
    Please let me know, where I am doing mistake.
    thank you
    regards
    madhu

  • I photo pics are in album, but need to upload from add item page on etsy.  Cannot find where the pics are in my computer.  I did put a name on each one.  What is the best way to save an individual pic to be able to find it on the computer so as to upload?

    I have an online etsy shop.  There is a page on which to list a new item to be added to one's shop.  When it is time to upload the pic or pics, I cannot find them,eventhough each has a name and all are in an i photo album.  On my old computer I would "save as" and then could find it easily in my computer.  In the new mac I just got, I cannot easily find the pic when trying to upload.  Could you tell me an easy way to save each pic so that I can find it for uploads to that site?  Thanks in advance. OS is Snow Leopard. Whatever i photo came with that would be the product I am using.

    The following is from a post by Terence Devlin on accessing photos for use outside of iPhoto.  It's the definitive treatise on the subject.
    There are many, many ways to access your files in iPhoto:
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running: 
    For users of 10.6 and later:
    You can download a free Services component from MacOSXAutomation   which will give you access to the iPhoto Library from your Services Menu. Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3.Show File:
    a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected. 
    b. On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected. 

  • SOAP to RFC - Sync Scenario. How to find where the response is going to?

    Hello All
    I have a SOAP to RFC sync scenario.
    In SXMB_MONI,  i see that both the initial message and the response message are successfully processed.
    But, the SOAP sender is not receiving the response message.
    How can i trouble shoot this scenario? How can i findout what is going wrong?
    Most importantly, How can i find out the web address of the SOAP sender? I do not see it anywhere.
    Thanks

    Hi Chandra,
    Please check this blog.
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    You can by pass your message through a TCPIP gateway , this will help you to see the message contnet and the SOAP header information.
    TCPIPGW application is availabel in one of the SAP notes for Monitoring SOAP adapter. and 2 SAP SDN PI  blogs are also there on how to use this application...
    Regards
    Sunil.

  • How to find where the code for append structures for LIS extractors?

    Hi,
    I found 4 append structures for extractor 2LIS_03_BF,
    Out of 4 append structures, I found code for one, using where-used option. But in vain for other 3. Is it possible they didn't transport the code for remaining structures? how to find that?
    Cheers,
    Kannan N

    Kannan,
    When ever you apply a logic to populate tdata for the appended filed then you will be writing some code in CMOD transaction code where you will find a ZXRSAU01
    program, just double click on that then it will take you to the complete exit. Ther you can find with your data source name.
    Hope it helps...
    ****Assign Points if it helps******
    Gattu

  • Hi Unable to find where the dat is getting populated in web-dynpro

    Hi Everyone,
    I am quite new to web-dynpro,I sincere apology if this doesn't make sense.
    when I login into portal I see two selection options ,
    a) Create a Material
    b) View pending approval materials.
    Now I am looking at the DC, there are two DC ,
    a)Part Add and b) Parts approve .
    in Part Add DC i can see a View addpart , here I can the selection of create a material only,
    in the next DC i.e. part approve , there is a view which has the second selection screenView Pending approval materials  as well the table the shows the output of 2 selection screen -> view approval materials.
    Now My question is there is some type of visibility which makes the output table to be viewed on click of secon selection screen.
    now when i run this How these two selection screens from two different views are seen.
    and Now that when I click on  the View Pending approval materials , it shows the list when I have a check box to th e very material list I click and hit on approve tab it approves.
    I checked the view it has a table feild called "SELECT" it is a checkbox, but when the application is run i am unable to view this check box.
    Now I checked with the selection button and checked it does visibilty on and off for many buttons and tables,apart from visibilty action it doesn't do anything.
    I searched the whole coding the datacustom controller and everything i couldn't figure out from where this list got populated.
    Please help in on these two issues.
    Thanks in advance.
    Regards,
    Raj

    hi,
       Create a short cut as follows
      1) On the vf02, standard tool bar there is an 'shortcut generate' icon will be there, click on it. you will get the screen where under 'Application',  give the following details
    Type: system command
    command: /h
    and click ok then there is a short cut created at your desktop
    2) drag and drop the shortcut before clicking on print preview then debugging will starts
    then you can able to debug the smartform

  • How to debug or how to find where the problem...

    Hi,
    I didn't getting this proc where's getting the problem. In which proc is raising the error and where's the problme.
    Please any body can help me getting out of from this error..
    PROCEDURE Ysp_Payproc(udYrmonth IN Y_EMP_SAL_DETAILS.Yes_Year_Month%TYPE,
    udBranch IN VARCHAR2,
    O_ErrCd OUT VARCHAR2,
    O_ErrMsg OUT VARCHAR2) IS
    -- Get all active employees
    udbasaflop Y_EMP_SAL_DETAILS.Yes_Amt%TYPE;
    svErrCd VARCHAR2(12);
    svErrMsg VARCHAR2(2000);
    UdLopLvDays NUMBER;
    udFromdate VARCHAR2(20);
    udTodate VARCHAR2(20);
         udEarnAmt NUMBER;
         nChk NUMBER;
    CURSOR curEmpnum IS
    SELECT ROWNUM PNUM, Gem_Emp_Num
    FROM G_EMPLOYEE_MASTER
    WHERE Gem_Emp_Status = 'A' AND Gem_Sal_Flag = 'Y'
         AND TO_DATE(TO_CHAR(Gem_DOJ,'MMRRRR'),'MMRRRR')<=TO_DATE(udYrmonth,'MMRRRR')
    AND Gem_Branch=udBranch
    ORDER BY Gem_Emp_Num ;
    BEGIN
    -- Delete the existing records
    DBMS_OUTPUT.PUT_LINE('udBranch');---310309
    DELETE FROM Y_EMP_SAL_DETAILS WHERE YES_YEAR_MONTH = udYrmonth
         AND YES_EMP_NUM IN (SELECT GEM_EMP_NUM FROM G_EMPLOYEE_MASTER
         WHERE GEM_BRANCH=udBranch);
    COMMIT;
    DELETE FROM Y_PAYSLIP_DETAILS WHERE YPS_YEAR_MONTH = udYrmonth
         AND YPS_EMP_NUM IN (SELECT GEM_EMP_NUM FROM G_EMPLOYEE_MASTER
         WHERE GEM_BRANCH=udBranch);
    COMMIT;
         SELECT NVL(COUNT(*),0)
         INTO NCHK
         FROM Y_PAYSLIP_MASTER
         WHERE YPY_YEAR_MONTH = udYrmonth;
         DBMS_OUTPUT.PUT_LINE('1');
         --COMMIT;
         -- CREATING RECORD IN y_payslip MASTER FOR THE CURRENT MONTH PROCESSING.
         IF NCHK=0 THEN
         DBMS_OUTPUT.PUT_LINE('2');
         INSERT INTO Y_PAYSLIP_MASTER
         (YPY_YEAR_MONTH, YPY_PAY_PROC_DONE, YPY_CRT_DT, YPY_CRT_UID)
         VALUES
         (udyrmonth, 'N', SYSDATE, 'HMS');
         COMMIT;
         END IF;
    DBMS_OUTPUT.PUT_LINE('3');
    PKG_PAYROLL.YSP_FROM_TO_DATE(udYrmonth,udFromDate,udToDate);
    DBMS_OUTPUT.PUT_LINE('4');
    FOR crEmpNum IN curEmpNum LOOP
    -- Do loss of Pay processing
         DBMS_OUTPUT.PUT_LINE('5');
    Pkg_Payroll.Ysplop(crEmpNum.Gem_Emp_Num,
    udYrmonth,
    udFromdate,
    udtodate,
    udbasaflop,
    UdLopLvDays,
    svErrCd,
    svErrMsg);
    IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
    --CLOSE crEmpNum;
              DBMS_OUTPUT.PUT_LINE('Ysplop');
              O_ErrMsg := svErrMsg;
    RETURN;
    END IF;
         DBMS_OUTPUT.PUT_LINE('6');
    Pkg_Payroll.Ysptotearn(crEmpNum.Gem_Emp_Num,
    udbasaflop,
    udyrmonth,
    UdLopLvDays,
    svErrCd,
    svErrMsg);
    IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
    --CLOSE crEmpNum;
              DBMS_OUTPUT.PUT_LINE('YSPTOTEARN');          
    O_ErrMsg := svErrMsg;
    --RETURN;
    END IF;
              DBMS_OUTPUT.PUT_LINE('7');
    Pkg_Payroll.YSP_OTEARNING(crEmpNum.Gem_Emp_Num, udyrmonth, udearnamt,
                                            sVErrCd, sVErrmsg);
    IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
    --CLOSE crEmpNum;
              DBMS_OUTPUT.PUT_LINE('YSP_OTEARNING');          
    O_ErrMsg := svErrMsg;
    --RETURN;
    END IF;
              DBMS_OUTPUT.PUT_LINE('8');
    Pkg_Payroll.Ysptax(crEmpNum.Gem_Emp_Num,
    udyrmonth,
    svErrCd,
    svErrMsg);
    IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
    --CLOSE crEmpNum;
              DBMS_OUTPUT.PUT_LINE('YSPTAX');          
    O_ErrMsg := svErrMsg;
    RETURN;
    END IF;
    -- Insert into Salary Details
              DBMS_OUTPUT.PUT_LINE('9');
    Pkg_Payroll.YspAddPaySlip(crEmpNum.Gem_Emp_Num,
    udYrmonth,
    crEmpnum.pnum,
    UdLopLvDays,
    svErrCd,
    svErrMsg);
    IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
    --CLOSE crEmpNum;
                   DBMS_OUTPUT.PUT_LINE('YSPADDPAYSLIP');
    O_ErrMsg := svErrMsg;
    RETURN;
    END IF;
                   DBMS_OUTPUT.PUT_LINE(' BEFORE COMMIT');
    COMMIT;
                        DBMS_OUTPUT.PUT_LINE('AFTER COMMIT');
    END LOOP;
                        DBMS_OUTPUT.PUT_LINE('END LOOP END');
    /*ROUNDING OFF THE TOTAL NETPAY AMOUNT FOR EACH EMPLOYEE AFTER PAYROLL PROCESS AND KEEP THE
    ROUNDING AMOUNT IN THE Y_EMP_SAL_DETAILS IN 'BASIC' CODE*/
    Select Sum(Decode(Yes_Earn_Deduct_Ind,'E',Yes_Amt,'D',-1*Yes_Amt))
    into udRoundNetAmt
    From Y_Emp_Sal_Details
    Where Yes_Year_Month=udYearMonth
    and Yes_Emp_Num=udEmpNum;
    Ysp_Roundoff_Amt(udEmpNum,'BASIC',NVL(udbasafLop,0),udRoundoffAmt,udRoundAmount);*/
    -- UPDATING AFTER PROCESSING FOR ALL EMPLYESS SUCCESSFULLY.
              DBMS_OUTPUT.PUT_LINE('11 YEAR MONTH =>'||udyrmonth);
    UPDATE Y_PAYSLIP_MASTER
    SET YPY_PAY_PROC_DONE = 'Y'
    WHERE YPY_YEAR_MONTH = udyrmonth;
    COMMIT;
         EXCEPTION
                   WHEN OTHERS THEN
                   DBMS_OUTPUT.PUT_LINE('12 =>'||SQLCODE||' Errom =>'||sqlerrm);
    END Ysp_Payproc;
    When I execute from Sql* plus window I am getting the error like
    ORA-00001: unique constraint (HMS.PK_YES) violated

    If you are using Oracle 10G ( select * from v$version)
    create a small anonymous block and run your procedure and see if you can interpret the stack output
    Declare
    --Variables
    Begin
    --Execute SP
    Exception
    when others
    DBMS_OUTPUT.PUT_LINE('Output for dbms_utility.format_error_stack');
    DBMS_OUTPUT.PUT_LINE(dbms_utility.format_error_stack);
    End;post the output for this
    Formatted code
    PROCEDURE Ysp_Payproc(udYrmonth IN Y_EMP_SAL_DETAILS.Yes_Year_Month%TYPE,
                          udBranch  IN VARCHAR2,
                          O_ErrCd   OUT VARCHAR2,
                          O_ErrMsg  OUT VARCHAR2) IS
      -- Get all active employees
      udbasaflop  Y_EMP_SAL_DETAILS.Yes_Amt%TYPE;
      svErrCd     VARCHAR2(12);
      svErrMsg    VARCHAR2(2000);
      UdLopLvDays NUMBER;
      udFromdate  VARCHAR2(20);
      udTodate    VARCHAR2(20);
      udEarnAmt   NUMBER;
      nChk        NUMBER;
      CURSOR curEmpnum IS
        SELECT ROWNUM PNUM, Gem_Emp_Num
          FROM G_EMPLOYEE_MASTER
         WHERE Gem_Emp_Status = 'A'
           AND Gem_Sal_Flag = 'Y'
           AND TO_DATE(TO_CHAR(Gem_DOJ, 'MMRRRR'), 'MMRRRR') <=
               TO_DATE(udYrmonth, 'MMRRRR')
           AND Gem_Branch = udBranch
         ORDER BY Gem_Emp_Num;
    BEGIN
      -- Delete the existing records
      DBMS_OUTPUT.PUT_LINE('udBranch'); ---310309
      DELETE FROM Y_EMP_SAL_DETAILS
       WHERE YES_YEAR_MONTH = udYrmonth
         AND YES_EMP_NUM IN (SELECT GEM_EMP_NUM
                               FROM G_EMPLOYEE_MASTER
                              WHERE GEM_BRANCH = udBranch);
      COMMIT;
      DELETE FROM Y_PAYSLIP_DETAILS
       WHERE YPS_YEAR_MONTH = udYrmonth
         AND YPS_EMP_NUM IN (SELECT GEM_EMP_NUM
                               FROM G_EMPLOYEE_MASTER
                              WHERE GEM_BRANCH = udBranch);
      COMMIT;
      SELECT NVL(COUNT(*), 0)
        INTO NCHK
        FROM Y_PAYSLIP_MASTER
       WHERE YPY_YEAR_MONTH = udYrmonth;
      DBMS_OUTPUT.PUT_LINE('1');
      --COMMIT;
      -- CREATING RECORD IN y_payslip MASTER FOR THE CURRENT MONTH PROCESSING.
      IF NCHK = 0 THEN
        DBMS_OUTPUT.PUT_LINE('2');
        INSERT INTO Y_PAYSLIP_MASTER
          (YPY_YEAR_MONTH, YPY_PAY_PROC_DONE, YPY_CRT_DT, YPY_CRT_UID)
        VALUES
          (udyrmonth, 'N', SYSDATE, 'HMS');
        COMMIT;
      END IF;
      DBMS_OUTPUT.PUT_LINE('3');
      PKG_PAYROLL.YSP_FROM_TO_DATE(udYrmonth, udFromDate, udToDate);
      DBMS_OUTPUT.PUT_LINE('4');
      FOR crEmpNum IN curEmpNum LOOP
        -- Do loss of Pay processing
        DBMS_OUTPUT.PUT_LINE('5');
        Pkg_Payroll.Ysplop(crEmpNum.Gem_Emp_Num,
                           udYrmonth,
                           udFromdate,
                           udtodate,
                           udbasaflop,
                           UdLopLvDays,
                           svErrCd,
                           svErrMsg);
        IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
          --CLOSE crEmpNum;
          DBMS_OUTPUT.PUT_LINE('Ysplop');
          O_ErrMsg := svErrMsg;
          RETURN;
        END IF;
        DBMS_OUTPUT.PUT_LINE('6');
        Pkg_Payroll.Ysptotearn(crEmpNum.Gem_Emp_Num,
                               udbasaflop,
                               udyrmonth,
                               UdLopLvDays,
                               svErrCd,
                               svErrMsg);
        IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
          --CLOSE crEmpNum;
          DBMS_OUTPUT.PUT_LINE('YSPTOTEARN');
          O_ErrMsg := svErrMsg;
          --RETURN;
        END IF;
        DBMS_OUTPUT.PUT_LINE('7');
        Pkg_Payroll.YSP_OTEARNING(crEmpNum.Gem_Emp_Num,
                                  udyrmonth,
                                  udearnamt,
                                  sVErrCd,
                                  sVErrmsg);
        IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
          --CLOSE crEmpNum;
          DBMS_OUTPUT.PUT_LINE('YSP_OTEARNING');
          O_ErrMsg := svErrMsg;
          --RETURN;
        END IF;
        DBMS_OUTPUT.PUT_LINE('8');
        Pkg_Payroll.Ysptax(crEmpNum.Gem_Emp_Num, udyrmonth, svErrCd, svErrMsg);
        IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
          --CLOSE crEmpNum;
          DBMS_OUTPUT.PUT_LINE('YSPTAX');
          O_ErrMsg := svErrMsg;
          RETURN;
        END IF;
        -- Insert into Salary Details
        DBMS_OUTPUT.PUT_LINE('9');
        Pkg_Payroll.YspAddPaySlip(crEmpNum.Gem_Emp_Num,
                                  udYrmonth,
                                  crEmpnum.pnum,
                                  UdLopLvDays,
                                  svErrCd,
                                  svErrMsg);
        IF svErrCd IS NOT NULL OR svErrMsg IS NOT NULL THEN
          --CLOSE crEmpNum;
          DBMS_OUTPUT.PUT_LINE('YSPADDPAYSLIP');
          O_ErrMsg := svErrMsg;
          RETURN;
        END IF;
        DBMS_OUTPUT.PUT_LINE(' BEFORE COMMIT');
        COMMIT;
        DBMS_OUTPUT.PUT_LINE('AFTER COMMIT');
      END LOOP;
      DBMS_OUTPUT.PUT_LINE('END LOOP END');
      /*ROUNDING OFF THE TOTAL NETPAY AMOUNT FOR EACH EMPLOYEE AFTER PAYROLL PROCESS AND KEEP THE
      ROUNDING AMOUNT IN THE Y_EMP_SAL_DETAILS IN 'BASIC' CODE*/
      Select Sum(Decode(Yes_Earn_Deduct_Ind,'E',Yes_Amt,'D',-1*Yes_Amt))
      into udRoundNetAmt
      From Y_Emp_Sal_Details
      Where Yes_Year_Month=udYearMonth
      and Yes_Emp_Num=udEmpNum;
      Ysp_Roundoff_Amt(udEmpNum,'BASIC',NVL(udbasafLop,0),udRoundoffAmt,udRoundAmount);*/
      -- UPDATING AFTER PROCESSING FOR ALL EMPLYESS SUCCESSFULLY.
      DBMS_OUTPUT.PUT_LINE('11 YEAR MONTH =>' || udyrmonth);
      UPDATE Y_PAYSLIP_MASTER
         SET YPY_PAY_PROC_DONE = 'Y'
       WHERE YPY_YEAR_MONTH = udyrmonth;
      COMMIT;
    EXCEPTION
      WHEN OTHERS THEN
        DBMS_OUTPUT.PUT_LINE('12 =>' || SQLCODE || ' Errom =>' || sqlerrm);
    END Ysp_Payproc;

  • How to find whether the tables are needed or not?

    Friends,
    Difficult situation for me......
    OS: RHEL AS 3.0
    DB: Oracle 9i R2
    I was taking table inventory.....
    i saw many tables starting with SMP..... and EVT.....Nearly 50 tables.
    some are...
    EVT_HISTORY
    EVT_DEST_PROFILE
    EVT_CARRIER_CONFIGURATION
    SMP_USER_DETAILS
    SMP_UPDATESERVICES_CALLED_
    SMP_SERVICE_ITEM_
    SMP_SERVICE_GROUP_ITEM_
    SMP_SERVICE_GROUP_DEFN_
    SMP_SERVICE_DATA_
    SMP_LONG_TEXT_
    SMP_JOB_TASK_INSTANCE_
    SMP_JOB_LIBRARY_
    SMP_JOB_INSTANCE_
    SMP_JOB_HISTORY_
    SMP_JOB_EVENTLIST_
    SMP_JOB_
    SMP_EBU_SAVED_JOB_
    SMP_EBU_ACTIVE_JOB_
    SMP_CREDENTIALS$
    SMP_BRM_TEMP_SCRIPTS_
    SMP_BRM_SAVED_JOB_
    SMP_BRM_RC_CONNECT_STRING_
    SMP_BRM_DEFAULT_CHANNEL_
    SMP_BRM_CHANNEL_DEVICE_
    SMP_BRM_ACTIVE_JOB_
    SMP_AUTO_DISCOVERY_PARMS_
    SMP_AUTO_DISCOVERY_ITEM_
    SMP_AD_PARMS_
    SMP_AD_NODES_
    SMP_AD_DISCOVERED_NODES_
    SMP_AD_ADDRESSES_
    more.........
    Nobody knows whats the table is for....
    Actually we were working with oracle 7.3 upto 2004. On 2004 we upgraded to 9iR2. May be the DBA in that time made some mistake.... i think so....thats why all these tables are still here....
    I was not in the picture during that time.
    Now my question is how can i know whether this table is necessary or not. I asked the developers here they said they are not using these tables. But my manager is afraid to delete these tables.
    now what should i do?

    Hi,
    Yet another request to use my crystal ball.
    We had one pc which is having oracle 9i enterprise manager configured(windows 2000) only to connect the db.
    This remembers me of the Gospel of St. Luke, chapter 2, where it is stated,
    'and they found the child in the manger'.
    This resulted a Jewish theologian to remark: 'The manger? Well, so that must have been their own manger'
    So what does 'the' db mean? The Linux one? Or a separate on Win2000?
    It is quite possible to manage a Linux database using OEM on Win2000, with OMS on Win2000.
    'But our server is not having enterprise manager'. Yet another riddle. Which server? There seem to be at least two.
    1 Now if I drop these tables, will I be able to connect to our database using the windows2k pc through Enterprise Manager?
    Yes, but only in standalone mode, and you can't use OEM alerts, and jobs anymore. You would be better off using Sqldeveloper, as OEM Sql worksheet is a nightmare.
    2 That is your decision.
    3
    oemctl ping oms
    will check whether you have an Oracle Management Server running.
    You already seem to have the Enterprise Manager Repository, so you must have OMS running somewhere. (Why install the repository, if you don't use it)
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • How do I save changes to the document

    How do I save the text changes

  • Can I set the default locale for jvm

    Hi, Can I set the default locale for jvm? How to do it? Pan

  • Need urgent help on Oracle project

    Hi people, I am working on a project using oracle sql, been struggling quite a bit. Have been issued an ultimatum to improve performance. Wondering if anyone here can be of any help. writing oracle reports solely on sql plus, based on finctional spec

  • Gmail on Mac Air and iPhone

    Ordinarily my email (via gmail) on my iphone and Mac are identical; however, for a single day (last Wednesday) all of my email that is still sitting on my iPhone fail to appear in my gmail on my Mac.  Any ideas? 

  • Web Gallery Photo size

    How do you set the size ie Small, Medium or Large when uploading to Web Gallery? I see only the quality settings of Optimized and Actual Size. When emailing photos a window appears to set size how do I enter this feature for Web Gallery? Obviously I