Configuration of Deffered Tax Procedure, please help?

Hi Experts,
I am working on a project.
please help me to configure Deffered Tax procedure.
So far I have configured regular Tax codes & replica of the same as target tax code.
Please advice how to :
1. what special should i mention to in target tax code to declare it as a target tax code?
2. how do i link Normal & target tax code
3. which all sessions to run in SAP, so that a particular Tax is posted upon full / partial / downpayment payment.
looking forward to hear from you all, soonest.
Thank you all.

Hi
You have to make the following settings:
Process
·     A deferred tax code has to be created for the calculation and the posting of the service tax to the intermediate account.
·     Input tax or Output tax type has to be mentioned in the tax code
·     The target tax code (actual tax code for the availment of the service tax) has to be entered (FTXP)
·     The different rates have to be maintained under the respective tax types
·     For the account keys, the GL accounts have to be mentioned in the OB40 settings. In this case the same account has assigned for all the three account keys.
·     The GL account (40140) has to be open item managed and the tax category has to be in line with the tax type mentioned in the Tax code.

Similar Messages

  • Configure Deffered Tax procedure, please help?

    Hi Experts,
    I am working on a project.
    please help me to configure Deffered Tax procedure.
    So far I have configured regular Tax codes & replica of the same as target tax code.
    Please advice how to :
    1. what special should i mention to in target tax code to declare it as a target tax code?
    2. how do i link Normal & target tax code
    3. which all sessions to run in SAP, so that a particular Tax is posted upon full / partial / downpayment payment.
    looking forward to hear from you all, soonest.
    Thank you all.

    Hi
    You have to make the following settings:
    Process
    ·     A deferred tax code has to be created for the calculation and the posting of the service tax to the intermediate account.
    ·     Input tax or Output tax type has to be mentioned in the tax code
    ·     The target tax code (actual tax code for the availment of the service tax) has to be entered (FTXP)
    ·     The different rates have to be maintained under the respective tax types
    ·     For the account keys, the GL accounts have to be mentioned in the OB40 settings. In this case the same account has assigned for all the three account keys.
    ·     The GL account (40140) has to be open item managed and the tax category has to be in line with the tax type mentioned in the Tax code.

  • Configuring worklfow in sppfcadm ..please help me

    hi,
    Please help in configurimg the workflow as processing and trgeering the worklfow , for the start condition .
    please help me out .
    points are definetly awarded.

    Hi Keerthi
    The Post Processing Framework allows for actions to occur based on the testing of conditions.
    You start with creating an Action Profile, this will then be linked to your Transaction.
    Once this is created you then select the application you want it to run on e.g. CRM_ORDER and then select "Condition Configuration"
    Your new Action Profile should be visible within this view, configure the triggering action as required. I used the Start Condition
      &CRM Service Process.System Status&  u2260 I1005 
      and    %Current Date%  > &ToDo By& 
    The Processing Details also requires configuration, we used a smart form.
    Once everything is configured you must run transaction SE38
    with the report name: RSPPFPROCESS
    Select the Action Profile you've used and execute.
    Hope this helps
    Regards
    Arden

  • Unable to configure Mail setup for SMTP : Please Help

    Hi experts,
                 I have been trying since 2 weeks with most of the links like help.sap.com, and other links which experts are sugested, but then also I am uable to configure the mail setup for a SMTP server from SAP R/3 4.7EE.
              Couls anyone help me please,
    Challenge: I want to send mails from SAP system to other internet servers or mail servers.
                    SMTP server is installed,
                     SAP R/3 4.7ee is in place.
    I request you experts please provide the exact step by step procedure to configure, so that I should not run behind the links.
    Thanks in advance,
    Sunil

    Hi Juan, Hi Juan,
                 Thanks for your reply, I am happy that one big hope has come. regarding my issue its starts from the SCOT configuration, I have created the Node, and under support address types selected INTERNET type.
    Under INTERNET settings
    address area = *mail
    have not mentiond RFC destination.
    Hope this info will guide you my issue.
    Thanks in advance,
    Sunil

  • GONE FROM DEVICE NOT CONFIGURED TO BROKEN MACHINE. PLEASE HELP!

    HELP!!!!!!!!! PLEASE!!!!!!!!!!!!!
    I read a post in response to a query from someone who I had similar issues to and copied these items;
    /System/Library/Extension.kextcache
    and
    /System/Library/Caches/com.apple.kernalcaches/
    to my desktop, removed them from their folders and restarted. Well, tried to restart.
    The grey screen came up with the spinning gear and apple logo, then black text over laying that saying something about a stack error. I can't start my machine at all, not even from the OSx disk. It gets to Preparing Installation and keeps on spinning!
    If any one can help I'd be eternally grateful. I can't believe this has happened!
    Cheers
    Kirstin

    You would have to boot in single-user mode, mount the filesystem and copy the files back into the extensions fiolder. I'm not going to type the whole procedure out here but some Googling will get you the exact instructions.
    If you have your OSX installer disk "System Restore" might fix it. If not, there is a Terminal application on the Installer disk that would be easier to use than Single-user mode.
    In any case, you are really dealing with one file since the cached file is probably irrelevant.

  • SIM - ./configure error. Can you please help?

    I've downloaded the latest SIM snapshot. When running ./configure, I get the following:
    checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not found. Please check your installation!
    For more details about this problem, look at the end of config.log.
    make: *** No targets specified and no makefile found.  Stop.
    I'm trying to configure it using the following:
    ./configure --prefix=/opt/kde --with-qt-dir=/opt/qt --with-qt-includes=/opt/qt/include --with-qt-libraries=/
    opt/qt/lib --disable-debug
    Can you please tell me what I'm doing wrong?
    Thanks in advance.

    i have the same problem.
    Any pacage i try to compile fail with this:
    checking for Qt... configure: error: Qt (>= Qt 3.1.0) (library qt-mt) not found. Please check your installation!

  • PL/SQL procedure--------------please help----what is it ?? explain brief

    (TO_DATE('&2')-1)
    CREATE OR REPLACE PROCEDURE GAT_SVC_ACTIVITY(REFDATE IN DATE:=SYSDATE-1,
    MSK IN INTEGER:=31)
    AS
    --DECLARE
    V_COUNT NUMBER :=0;
    V_LIMIT NUMBER :=0;
    V_SOURCE_SITE_ID NUMBER :=0;
    V_SOURCE_SITE_ID_N NUMBER := NULL;
    V_CUSSOR INTEGER;
    V_PROCESSED INTEGER;
    V_ERRDESC VARCHAR2(200);
    CURSOR C_TMP_ONSITE IS SELECT
    X.*,
    CLH.DATE_CODE CLH_DATE_CODE,
    CLH.DPS_NBR CLH_DPS_NBR,
    CLH.CASE_NUM CLH_CASE_NUM,
    CLH.FLG_DELLSRV CLH_FLG_DELLSRV,
    2 SVC_ACTIVITY_SRC_ID
    FROM (SELECT
    OS.DPS_NBR,
    OS.ARRIVE_TIMESTAMP,
    OS.COMPL_TIMESTAMP,
    OS.STATUS_CODE,
    OS.PROBLEM_CODE,
    OS.CAUSE_CODE,
    OS.ACTION_CODE,
    JH.DPS_NBR JH_DPS_NBR,
    JH.DPS_TYPE JH_DPS_TYPE,
    NVL2(TRIM(JH.TPM_CODE),TRIM(JH.TPM_CODE),'DELL') JH_TPM_CODE
    FROM (SELECT * FROM TEMP_ONSITE WHERE DPS_NBR IS NOT NULL
    AND ARRIVE_TIMESTAMP IS NOT NULL
    AND COMPL_TIMESTAMP IS NOT NULL
    AND STATUS_CODE IS NOT NULL
    AND STATUS_CODE_DESC IS NOT NULL
    AND PROBLEM_CODE IS NOT NULL
    AND PROBLEM_CODE_DESC IS NOT NULL
    AND CAUSE_CODE IS NOT NULL
    AND CAUSE_CODE_DESC IS NOT NULL
    AND ACTION_CODE IS NOT NULL
    AND ACTION_CODE_DESC IS NOT NULL
    ) OS
    LEFT JOIN JDPS_DBA.JDPS_HEADER JH
    ON OS.DPS_NBR=JH.DPS_NBR
    GROUP BY
    OS.DPS_NBR,
    OS.ARRIVE_TIMESTAMP,
    OS.COMPL_TIMESTAMP,
    OS.STATUS_CODE,
    OS.STATUS_CODE_DESC,
    OS.PROBLEM_CODE,
    OS.PROBLEM_CODE_DESC,
    OS.CAUSE_CODE,
    OS.CAUSE_CODE_DESC,
    OS.ACTION_CODE,
    OS.ACTION_CODE_DESC,
    JH.DPS_NBR,
    JH.DPS_TYPE,
    JH.TPM_CODE
    ) X
    LEFT JOIN GS_CALL_LOG_HEADER CLH
    ON X.DPS_NBR=CLH.DPS_NBR;
    V_TMP_ONSITE C_TMP_ONSITE%ROWTYPE;
    V_TMP_STATUS_FILE C_TMP_STATUS_FILE%ROWTYPE;
    V_TMP_CASE_AUDIT C_TMP_CASE_AUDIT%ROWTYPE;
    V_MER_CASE_HISTORY C_MER_CASE_HISTORY%ROWTYPE;
    V_SVC_STATUS_ID_A SVC_ACTIVITY.SVC_STATUS_ID%TYPE;
    V_SVC_STATUS_ID_C SVC_ACTIVITY.SVC_STATUS_ID%TYPE;
    BEGIN
    SELECT SOURCE_SITE_ID INTO V_SOURCE_SITE_ID FROM SOURCE_SITE;
    DELETE ERR_SVC_ACTIVITY WHERE TO_DATE(ERR_DATE)=TO_DATE(SYSDATE);
    COMMIT;
    IF BITAND(MSK,4)=4 THEN
    UPDATE TABLE_STATUS SET STATUS='WRITING...',UPDATE_DATE=SYSDATE WHERE TABLE_NAME='GS_CASE_HEADER';
    COMMIT;
    V_CUSSOR := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(V_CUSSOR, 'TRUNCATE TABLE GS_CASE_HEADER', DBMS_SQL.V7);
    V_PROCESSED := DBMS_SQL.EXECUTE(V_CUSSOR);
    DBMS_SQL.CLOSE_CURSOR(V_CUSSOR);
    INSERT INTO GS_CASE_HEADER NOLOGGING (
    CASE_NUM,
    SEVERITY_ID,
    USER_ID
    (SELECT
    CH.CASE_NUM,
    CH.SEVERITY_ID,
    CH.USER_ID
    FROM JDPS_DBA.CASE_HEADER CH
    GROUP BY
    CH.CASE_NUM,
    CH.SEVERITY_ID,
    CH.USER_ID
    COMMIT;
    UPDATE TABLE_STATUS SET STATUS='COMPLETED',UPDATE_DATE=SYSDATE WHERE TABLE_NAME='GS_CASE_HEADER';
    COMMIT;
    END IF;
    -- Gather Data. "SVC_ACTIVITY" 1/4
    -- TEMP_ONSITE ---> SVC_ACTIVITY
    IF BITAND(MSK,1)=1 THEN
    UPDATE TABLE_STATUS SET STATUS='WRITING...',UPDATE_DATE=SYSDATE WHERE TABLE_NAME='SVC_ACTIVITY02';
    COMMIT;
    V_CUSSOR := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE(V_CUSSOR, 'TRUNCATE TABLE SVC_ACTIVITY02', DBMS_SQL.V7);
    V_PROCESSED := DBMS_SQL.EXECUTE(V_CUSSOR);
    DBMS_SQL.CLOSE_CURSOR(V_CUSSOR);
    SELECT STATUS_ID INTO V_SVC_STATUS_ID_A FROM M_STATUS WHERE STATUS_TYPE_ID_DESC='ONSITE' AND STATUS_CODE='ARRIV';
    SELECT STATUS_ID INTO V_SVC_STATUS_ID_C FROM M_STATUS WHERE STATUS_TYPE_ID_DESC='ONSITE' AND STATUS_CODE='COMPL';
    OPEN C_TMP_ONSITE;
    LOOP
    FETCH C_TMP_ONSITE INTO V_TMP_ONSITE;
    EXIT WHEN C_TMP_ONSITE%NOTFOUND;
    SELECT COUNT(*) INTO V_COUNT FROM MT_ONSITE WHERE DPS_NBR=V_TMP_ONSITE.DPS_NBR AND STATUS_DESC='ARRIV' AND TIME_STAMP=V_TMP_ONSITE.ARRIVE_TIMESTAMP;
    IF V_COUNT=0 THEN
    INSERT INTO ERR_SVC_ACTIVITY E (
    E.ACTIVITY_ID,
    E.ACTIVITY_DESC,
    E.ACTIVITY_EFF_DATE,
    E.ACTIVITY_EFF_DTS,
    E.ACTIVITY_END_DATE,
    E.ACTIVITY_END_DTS,
    E.ACTIVITY_REASON_ID,
    E.ACTIVITY_START_DATE,
    E.ACTIVITY_START_DTS,
    E.CASE_ID,
    E.CAUSE_ID,
    E.DELL_PROD_SVC_DESC_ID,
    E.INTERACTION_ID,
    E.SVC_ACTIVITY_SRC_ID,
    E.SVC_EVENT_TYPE_ID,
    E.SVC_INTERACTION_ID,
    E.SVC_PROVIDER_ID,
    E.SVC_RESULT_ID,
    E.SVC_STATUS_ID,
    E.EXTRACT_DATE,
    E.EXTRACT_DTS,
    E.SOURCE_SITE_ID,
    E.LOAD_SEQ_NUM,
    E.ERR_DESC,
    E.ERR_DATE
    VALUES (
    NULL,
    'ARRIV',
    V_TMP_ONSITE.ARRIVE_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.ARRIVE_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    V_TMP_ONSITE.COMPL_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.COMPL_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    NULL,
    V_TMP_ONSITE.ARRIVE_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.ARRIVE_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    NULL,
    NULL,
    NULL,
    NULL,
    V_TMP_ONSITE.SVC_ACTIVITY_SRC_ID,
    NULL,
    NULL,
    NULL,
    NULL,
         NULL,
    SYSDATE,
    SYSTIMESTAMP,
    V_SOURCE_SITE_ID,
    NULL,
    'The MT_ONSITE master doesn''t have the dps number and ARRIV and arrive timestamp.(' || V_TMP_ONSITE.DPS_NBR || ',ARRIV,' || V_TMP_ONSITE.ARRIVE_TIMESTAMP || ')',
    SYSDATE
    UPDATE TABLE_STATUS SET STATUS='UPDATED!!',UPDATE_DATE=SYSDATE WHERE TABLE_NAME='ERR_SVC_ACTIVITY';
    COMMIT;
    ELSE
    INSERT INTO SVC_ACTIVITY02 A (
    A.ACTIVITY_ID,
    A.ACTIVITY_DESC,
    A.ACTIVITY_EFF_DATE,
    A.ACTIVITY_EFF_DTS,
    A.ACTIVITY_END_DATE,
    A.ACTIVITY_END_DTS,
    A.ACTIVITY_REASON_ID,
    A.ACTIVITY_START_DATE,
    A.ACTIVITY_START_DTS,
    A.CASE_ID,
    A.CAUSE_ID,
    A.DELL_PROD_SVC_DESC_ID,
    A.INTERACTION_ID,
    A.SVC_ACTIVITY_SRC_ID,
    A.SVC_EVENT_TYPE_ID,
    A.SVC_INTERACTION_ID,
    A.SVC_PROVIDER_ID,
    A.SVC_RESULT_ID,
    A.SVC_STATUS_ID,
    A.EXTRACT_DATE,
    A.EXTRACT_DTS,
    A.SOURCE_SITE_ID,
    A.LOAD_SEQ_NUM
    VALUES (
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE IX_MT_ONSITE) */ NUMERIC_KEY FROM MT_ONSITE WHERE DPS_NBR=V_TMP_ONSITE.DPS_NBR AND STATUS_DESC='ARRIV' AND TIME_STAMP=V_TMP_ONSITE.ARRIVE_TIMESTAMP)),
    'ARRIV',
    V_TMP_ONSITE.ARRIVE_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.ARRIVE_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    V_TMP_ONSITE.COMPL_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.COMPL_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE_PROBLEM IX_MT_ONSITE_PROBLEM) */ NUMERIC_KEY FROM MT_ONSITE_PROBLEM WHERE PROBLEM_CODE=V_TMP_ONSITE.PROBLEM_CODE)),
    V_TMP_ONSITE.ARRIVE_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.ARRIVE_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_CASE_HEADER IX_MT_CASE_HEADER) */ NUMERIC_KEY FROM MT_CASE_HEADER WHERE CASE_NUM=V_TMP_ONSITE.CLH_CASE_NUM)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE_CAUSE IX_MT_ONSITE_CAUSE) */ NUMERIC_KEY FROM MT_ONSITE_CAUSE WHERE CAUSE_CODE=V_TMP_ONSITE.CAUSE_CODE)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT DELL_PROC_SVC_DESC_ID FROM M_PROD_SVC_TYPE WHERE SRC_DESC_DESC_CODE=V_TMP_ONSITE.JH_DPS_TYPE)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_CALL_LOG_HEADER IX_MT_CALL_LOG_HEADER) */ NUMERIC_KEY FROM MT_CALL_LOG_HEADER WHERE DATE_CODE=V_TMP_ONSITE.CLH_DATE_CODE AND CASE_NUM=V_TMP_ONSITE.CLH_CASE_NUM AND FLG_DELLSRV=V_TMP_ONSITE.CLH_FLG_DELLSRV)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || V_TMP_ONSITE.SVC_ACTIVITY_SRC_ID),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE_ACTION IX_MT_ONSITE_ACTION) */ NUMERIC_KEY FROM MT_ONSITE_ACTION WHERE ACTION_CODE=V_TMP_ONSITE.ACTION_CODE)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDDEX(MT_JDPS_HEADER IX_JDPS_HEADER) */ NUMERIC_KEY FROM MT_JDPS_HEADER WHERE DPS_NBR=V_TMP_ONSITE.DPS_NBR)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_TPM_CODE IX_MT_TPM_CODE) */ NUMERIC_KEY FROM MT_TPM_CODE WHERE TPM_CODE=V_TMP_ONSITE.JH_TPM_CODE)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE_STATUS IX_MT_ONSITE_STATUS) */ NUMERIC_KEY FROM MT_ONSITE_STATUS WHERE STATUS_CODE=V_TMP_ONSITE.STATUS_CODE)),
    V_SVC_STATUS_ID_A,
    SYSDATE,
    SYSTIMESTAMP,
    V_SOURCE_SITE_ID,
    NULL
    END IF;
    SELECT COUNT(*) INTO V_COUNT FROM MT_ONSITE WHERE DPS_NBR=V_TMP_ONSITE.DPS_NBR AND STATUS_DESC='COMPL' AND TIME_STAMP=V_TMP_ONSITE.COMPL_TIMESTAMP;
    IF V_COUNT=0 THEN
    INSERT INTO ERR_SVC_ACTIVITY E (
    E.ACTIVITY_ID,
    -- E.SOURCE_SYS_CREATE_DTS,
    E.ACTIVITY_DESC,
    -- E.ACTIVITY_DURACTION,
    E.ACTIVITY_EFF_DATE,
    E.ACTIVITY_EFF_DTS,
    E.ACTIVITY_END_DATE,
    E.ACTIVITY_END_DTS,
    -- E.ACTIVITY_NOTIFICATION_DATE,
    -- E.ACTIVITY_NOTIFICATION_DTS,
    E.ACTIVITY_REASON_ID,
    E.ACTIVITY_START_DATE,
    E.ACTIVITY_START_DTS,
    -- E.ALT_CONTACT_PHONE,
    E.CASE_ID,
    E.CAUSE_ID,
    -- E.CUSTOMER_GMT_OFFSET,
    E.DELL_PROD_SVC_DESC_ID,
    E.INTERACTION_ID,
    -- E.SECONDARY_CONTACT_NAME,
    -- E.SECONDARY_CONTACT_PHONE,
    -- E.SRC_ACTIVITY_CODE,
    E.SVC_ACTIVITY_SRC_ID,
    E.SVC_EVENT_TYPE_ID,
    E.SVC_INTERACTION_ID,
    -- E.SVC_ORG_GROUP_ID,
    E.SVC_PROVIDER_ID,
    -- E.SVC_QUEUE_ID,
    E.SVC_RESULT_ID,
    -- E.SVC_SEVERITY_ID,
    E.SVC_STATUS_ID,
    -- E.SVC_URGENCY_ID,
    E.EXTRACT_DATE,
    E.EXTRACT_DTS,
    E.SOURCE_SITE_ID,
    -- E.SOURCE_SYS_CREATE_BY,
    -- E.SOURCE_SYS_CREATE_DATE,
    -- E.SOURCE_SYS_UPDATE_BY,
    -- E.SOURCE_SYS_UPDATE_DATE,
    -- E.SOURCE_SYS_UPDATE_DTS,
    E.LOAD_SEQ_NUM,
    E.ERR_DESC,
    E.ERR_DATE
    VALUES (
    NULL, --V_TMP_ONSITE.DPS_NBR || 'COMPL' || V_TMP_ONSITE.COMPL_TIMESTAMP,
    'COMPL',
    V_TMP_ONSITE.COMPL_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.COMPL_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    V_TMP_ONSITE.COMPL_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.COMPL_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    NULL, --V_TMP_ONSITE.PROBLEM_CODE,
    V_TMP_ONSITE.ARRIVE_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.ARRIVE_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    NULL, --V_TMP_ONSITE.CLH_CASE_NUM,
    NULL, --V_TMP_ONSITE.CAUSE_CODE,
    NULL, --V_TMP_ONSITE.JH_DPS_TYPE,
    NULL, --V_TMP_ONSITE.CLH_DATE_CODE || V_TMP_ONSITE.CLH_CASE_NUM || V_TMP_ONSITE.CLH_FLG_DELLSRV,
    V_TMP_ONSITE.SVC_ACTIVITY_SRC_ID,
    NULL, --V_TMP_ONSITE.ACTION_CODE,
    NULL, --V_TMP_ONSITE.DPS_NBR,
    NULL, --V_TMP_ONSITE.JH_TPM_CODE,
    NULL, --V_TMP_ONSITE.STATUS_CODE,
    NULL, --V_SVC_STATUS_ID_C,
    SYSDATE,
    SYSTIMESTAMP,
    V_SOURCE_SITE_ID,
    NULL,
    'The MT_ONSITE master doesn''t have the dps number and COMPL and compl timestamp.(' || V_TMP_ONSITE.DPS_NBR || ',COMPL,' || V_TMP_ONSITE.COMPL_TIMESTAMP || ')',
    SYSDATE
    UPDATE TABLE_STATUS SET STATUS='UPDATED!!',UPDATE_DATE=SYSDATE WHERE TABLE_NAME='ERR_SVC_ACTIVITY';
    COMMIT;
    ELSE
    INSERT INTO SVC_ACTIVITY02 A (
    A.ACTIVITY_ID,
    -- A.SOURCE_SYS_CREATE_DTS,
    A.ACTIVITY_DESC,
    -- A.ACTIVITY_DURACTION,
    A.ACTIVITY_EFF_DATE,
    A.ACTIVITY_EFF_DTS,
    A.ACTIVITY_END_DATE,
    A.ACTIVITY_END_DTS,
    -- A.ACTIVITY_NOTIFICATION_DATE,
    -- A.ACTIVITY_NOTIFICATION_DTS,
    A.ACTIVITY_REASON_ID,
    A.ACTIVITY_START_DATE,
    A.ACTIVITY_START_DTS,
    -- A.ALT_CONTACT_PHONE,
    A.CASE_ID,
    A.CAUSE_ID,
    -- A.CUSTOMER_GMT_OFFSET,
    A.DELL_PROD_SVC_DESC_ID,
    A.INTERACTION_ID,
    -- A.SECONDARY_CONTACT_NAME,
    -- A.SECONDARY_CONTACT_PHONE,
    -- A.SRC_ACTIVITY_CODE,
    A.SVC_ACTIVITY_SRC_ID,
    A.SVC_EVENT_TYPE_ID,
    A.SVC_INTERACTION_ID,
    -- A.SVC_ORG_GROUP_ID,
    A.SVC_PROVIDER_ID,
    -- A.SVC_QUEUE_ID,
    A.SVC_RESULT_ID,
    -- A.SVC_SEVERITY_ID,
    A.SVC_STATUS_ID,
    -- A.SVC_URGENCY_ID,
    A.EXTRACT_DATE,
    A.EXTRACT_DTS,
    A.SOURCE_SITE_ID,
    -- A.SOURCE_SYS_CREATE_BY,
    -- A.SOURCE_SYS_CREATE_DATE,
    -- A.SOURCE_SYS_UPDATE_BY,
    -- A.SOURCE_SYS_UPDATE_DATE,
    -- A.SOURCE_SYS_UPDATE_DTS,
    A.LOAD_SEQ_NUM
    VALUES (
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE IX_MT_ONSITE) */ NUMERIC_KEY FROM MT_ONSITE WHERE DPS_NBR=V_TMP_ONSITE.DPS_NBR AND STATUS_DESC='COMPL' AND TIME_STAMP=V_TMP_ONSITE.COMPL_TIMESTAMP)),
    'COMPL',
    V_TMP_ONSITE.COMPL_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.COMPL_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    V_TMP_ONSITE.COMPL_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.COMPL_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE_PROBLEM IX_MT_ONSITE_PROBLEM) */ NUMERIC_KEY FROM MT_ONSITE_PROBLEM WHERE PROBLEM_CODE=V_TMP_ONSITE.PROBLEM_CODE)),
    V_TMP_ONSITE.ARRIVE_TIMESTAMP,
    TO_TIMESTAMP(TO_CHAR(V_TMP_ONSITE.ARRIVE_TIMESTAMP,'yyyy-mm-dd hh24:mi:ss')),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_CASE_HEADER IX_MT_CASE_HEADER) */ NUMERIC_KEY FROM MT_CASE_HEADER WHERE CASE_NUM=V_TMP_ONSITE.CLH_CASE_NUM)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE_CAUSE IX_MT_ONSITE_CAUSE) */ NUMERIC_KEY FROM MT_ONSITE_CAUSE WHERE CAUSE_CODE=V_TMP_ONSITE.CAUSE_CODE)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT DELL_PROC_SVC_DESC_ID FROM M_PROD_SVC_TYPE WHERE SRC_DESC_DESC_CODE=V_TMP_ONSITE.JH_DPS_TYPE)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_CALL_LOG_HEADER IX_MT_CALL_LOG_HEADER) */ NUMERIC_KEY FROM MT_CALL_LOG_HEADER WHERE DATE_CODE=V_TMP_ONSITE.CLH_DATE_CODE AND CASE_NUM=V_TMP_ONSITE.CLH_CASE_NUM AND FLG_DELLSRV=V_TMP_ONSITE.CLH_FLG_DELLSRV)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || V_TMP_ONSITE.SVC_ACTIVITY_SRC_ID),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE_ACTION IX_MT_ONSITE_ACTION) */ NUMERIC_KEY FROM MT_ONSITE_ACTION WHERE ACTION_CODE=V_TMP_ONSITE.ACTION_CODE)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDDEX(MT_JDPS_HEADER IX_JDPS_HEADER) */ NUMERIC_KEY FROM MT_JDPS_HEADER WHERE DPS_NBR=V_TMP_ONSITE.DPS_NBR)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_TPM_CODE IX_MT_TPM_CODE) */ NUMERIC_KEY FROM MT_TPM_CODE WHERE TPM_CODE=V_TMP_ONSITE.JH_TPM_CODE)),
    TO_NUMBER(V_SOURCE_SITE_ID_N || (SELECT /*+ INDEX(MT_ONSITE_STATUS IX_MT_ONSITE_STATUS) */ NUMERIC_KEY FROM MT_ONSITE_STATUS WHERE STATUS_CODE=V_TMP_ONSITE.STATUS_CODE)),
    V_SVC_STATUS_ID_C,
    SYSDATE,
    SYSTIMESTAMP,
    V_SOURCE_SITE_ID,
    NULL
    END IF;
    V_LIMIT := V_LIMIT + 1;
    IF V_LIMIT > 10000 THEN
    COMMIT;
    V_LIMIT :=0;
    END IF;
    END LOOP;
    -- カーソルのクローズ
    CLOSE C_TMP_ONSITE;
    COMMIT;
    V_LIMIT :=0;
    UPDATE TABLE_STATUS SET STATUS='COMPLETED',UPDATE_DATE=SYSDATE WHERE TABLE_NAME='SVC_ACTIVITY02';
    COMMIT;
    END IF;

    The procedure takes two optional parameters, a date, which defaults to sysdate if not passed, and an integer which defaults to 31 if not passed.
    The BITAND function does a bitwise and on msk and the constants. A bitwise and works like this. It takes the binary representation of the two numbers and compares each bit. If both are the same, then it sets the corresponding bit in the output to 1, if they are different, then the corresponding bit is 0. So
    31 binary is: 11111
    2 binary is 10
    So to do a bitand, you pad the shorter number on the left with zeroes and compare each bit so:
    11111
    00010
    00010so BITAND(31, 2) = 2
    I'm not really sure how your application is determining the value for msk to pass to the procedure, and don't have the time to decipher the posted code to see how it is really using it, but one common use for bit masks is to store several yes/no or on/off flags in a very compact form.
    For example, one application I worked with several years ago had a security model that determined for each user for each screen what they could do with that screen. The permissions were stored in a single number similar to the file permissions in UNIX. So, reading from the right:
    Bit 1 Set = Read permission
    Bit 2 Set = Insert permission
    Bit 3 set = Update Permission
    Bit 4 set = Delete permissionSo, a user who could read and update but not insert or delete would have bits set as 0101 or 5. To determine if the user could insert a record, the application would do something like:
    IF BITAND(permission_no, 2) = 1 THEN
       allow update
    ELSE
       deny update
    END IF;HTH
    John

  • PLSQL procedures please help

    Have put below my query

    Hi all,
    Sorry for troubling ,again i am requesting your inputs and any possible help.
    I am thinking that my the question confusing now also? I very appreciate your suggestions and accordingly i will try so that everyone can understand and help on the query.
    Edited by: user_7000011 on 23-Mar-2009 10:52

  • Deffered Tax Configuration

    Hi,
    I am doing the configuration for Maxico company.
    Here taxes are recongnised on payment basis. So we need to configure the deffered tax setting here.
    But in spro, i could not get following configuration node to configure these settings:
    IMG>Financial Accounting>General Ledger Accounting>Business Transaction>Report>Sales/Purchase tax returns>Deferred Taxes
    The client is using ECC6.
    Wanted to know how i can activate these nodes & what precaucions we need to take for activating these settings.

    Hello,
    Go through the SAP best practices configuration documents for Mexican companies. You will find the solution.
    You will find the SAP best configuration guides at the following link:
    http://help.sap.com/bp_bblibrary/500/BBLibrary_start.htm
    Regards,
    Ravi

  • Indonnesian Taxing Procedure

    Dear Experts,
    I have to do the Tax configuration for an Indonesian Company. I seek total guidance regarding that. So please help me by providing me with documentation if possible.
    Please help me regarding this assignment. Its for a Steel Rolling mill .
    Thnx in advance
    Sankhajeet

    Hi ,
    The following information might be useful.
    [Indonesian Taxing Procedure|http://help.sap.com/erp2005_ehp_03/helpdata/EN/44/57fd0922e24de0e10000000a1553f7/frameset.htm]
    Rewar if helpful.
    Thanks and Regards,
    Naveen Dasari.

  • Tax procedure for China

    Hi,
    I am in a roll-out project and my client is willing to create new customer account group for China & Hong Kong, is it possible? and should I create new Sales doc. type for China and Hong kong? and  Could anybody let me know Step by Step configuration of China tax procedure or Full Implementation Guide of Country Version China? (Tax procedure is very urgent).
    Regards
    Jibanjyoti

    Hi,
    client is willing to create new customer account group for China & Hong Kong, is it possible?
    Yes you can create account groups as many as your client wish, but look for related setting like create number range interval and assignment, assign partner determination procedure to account group
    and should I create new Sales doc. type for China and Hong kong?
    It is totally depends an your client, if client need then configure new document type and look for related settings
    like copy control sales to delivery to invoice, pricing procedure,etc
    and Could anybody let me know Step by Step configuration of China
    You can take help of FI consultant
    kapil

  • Suppress standard Tax procedure for tax returned from external tax server

    Hi All,
    We are facing an issue after implementing the external tax engine called CTE.
    In some scenarios, when CTE is returning reverse charge lines, we are passing the same lines into the BAPI for posting.
    Ex: We can clearly see that two reverse charge lines (input and output taxes) being returned by CTE.
    Now, we pass the tax lines into the BAPI for posting. We get the following:
    We can clearly see that apart from the tax lines which have been sent by CTE, we also get two additional lines having +-1000 as amount.
    Now, we tried to post the document without passing the tax lines into BAPI and we get,
    The additional lines are still there. Thus, I came to the conclusion that these tax lines are being added by SAP standard tax procedure as tax calculation.
    Now, since we have already calculated tax using CTE (for some cases specially reverse charge scenario), we do not need SAP standard tax procedure to calculate tax again and add new tax lines to the posted document.
    Thus, our main objective is to suppress the standard tax procedure ( like TAXAT, TAXGB, etc) or few of the cases.
    We tried to analyze from our end but still could not reach a solution for the same.
    Is there any way or any indicator which you can use to suppress the standard tax procedure in case we are using CTE to calculate tax?
    Please help.
    Regards,
    Saurabh.

    Hi
    You can create and use a new tax code which is applicable only for Delivery charge cases.
    Use a new pricing condition type for this Tax .and condition records with access sequence and tax code can be amintianed only for this condition type.
    You will have to modify pricing procedure for the same.
    Depending on condition records and document inputs the tax values for delivery will get triggered.
    You can also put an order reason in Accounting determination access sequence through which on This special sales ,
    account determiantion can be changed.
    hope this helps
    Regards
    Mandar

  • Curve 8520 browser problems - please help!

    I've had my Curve 8520 for three weeks and it was working like a dream. However, yesterday evening, the browser application suddenly stopped working. I know it's not an issue with my wi-fi, as my laptop is still working fine. When I try to load the browser and visit a website, it flashes up "requesting..." as normal, and then goes to "loading" with a white screen, but refuses to load the web page. What's wrong with it? I've tried changing options in the browser configuration, but nothing works. Please help me!

    With any glitch on a BlackBerry, first off do a battery pull reboot,
    With the BlackBerry device powered ON, remove the battery a few seconds and then reinsert the battery to reboot. 
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • JDBC for Postgresql(on Linux): java.lang.NullPointerExceptio--Please HELP!

    I'm trying to build a JSP web application with Apache Tomcat 4.0 on Linux, using PostgreSQL database.
    The test page for building a connection to the database is very simple.
    However, unfortunately, I always get the following error message from the web server.
    The code is also show below.
    I have another Tomcat server working on Window2000 with Oracle. So I change the JDBC driver to Oracle on that machine, and it works fine.
    I guessed I might have some problem with the Tomcat setting, but I'm not sure what I need to change.
    The directory of my web application is built under the webapps.
    And I've added JAVA_HOME, JAVA_HOME/lib/tool.jar, and JDBC for PostgreSQL to my CLASSPATH.
    Is there any other configuration that I missed?
    Please help if you see the problem.
    Thanks a lot in advance.
    Error message:
    type: Exception report
    message: Internal Server Error
    description: The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         at org.apache.jsp.index$jsp._jspService(index$jsp.java:231)
         at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
         at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:484)
    Here's my code:
    <%@ page language="java" import="java.io.*, java.sql.*, java.util.*, java.lang.*" %>
    <HTML>
    <HEAD>
    <TITLE>TEST</TITLE>
    </HEAD>
    <BODY>
    <b> City </b><br>
    <%
         Class.forName("org.postgresql.Driver");
         String sqlurl = "jdbc:postgresql://localhost:5432/customer";
         String username = "guest";
         String passwd = username;
         Connection conn = DriverManager.getConnection(sqlurl, username, passwd);
         Statement st = conn.createStatement();
         String queryStr = "select CITY from WEATHER";
         ResultSet rs = st.executeQuery(queryStr);
         if (rs != null){
              while(rs.next()){
                   String strCity = rs.getString(1);
    %>
    -- <%=strCity %> --<br>
    <%
         st.close();
         conn.close();
    %>
    </BODY>
    </HTML>

    Error is not there in the code what you are showing. Can you edit index$jsp.java and see what is there in line 231?
    You may find it in tomcat_home\work\your_application directory.
    Sudha

  • Find my iphone not working on 3gs (with a valid account). Please help?

    Hi All,
    I created a free Mobile Me account with my iPad and enabled 'Find my iPhone' on it. After that, I went to my 3GS and activated 'Find my iPhone' successfully.
    The thing is: nothing works with the 3gs. With the iPad, I can lock it, and send messages to it (I didn't try to erase it, for obvious reasons). I cannot send messages to the 3GS and can't lock it, either.
    Both devices with the latest iOS version (4.2.1).
    I tried erasing all email accounts, and reseting network configuration. Push enabled.
    Please help
    Thanks
    Message was edited by: yogurtu

    There is a loop hole. Just register your account using the same steps on any iphone4 ipad or itouch 4th gen FIRST then u'll be able to use your account on your 3gs that allows it to track your iphone...up to a max of 3 diff devices. google the other forums, this was what i read from them.

Maybe you are looking for