Delivery cost not created during GRN of PO using BAPI

I have a customized program which use BAPI - BAPI_PO_CREATE1 to create PO, PO was created successully.
then program will use BAPI - BAPI_PO_CHANGE to update condition pricing, which is also executed succesfully. all condition pricing (KONV) updated correctly.
Lastly, the program will use BAPI - BAPI_GOODSMVT_CREATE to create GRN and update delivery cost. However in my case, the delivery cost is not update, EKBZ table record is not created, as well as GRN item line table MSEG table is not updated with delivery cost.
Anyone face this type of problem before?What is the possible causes?
Any help and suggestion is greatly appreciated.

Lai,
you should try asking this on ABAP forum thread. You will get a response. May be there is another BAPI u should use or may be you the usage of BAPI is incomplete. Pl confirm with ABAP forum.
Rgds

Similar Messages

  • Delivery should not create with out company code data

    Hi all,
              We have created a customer master without company code data with T code VD01 and subsequently created sales order and delivery with PGI and invoice also saved but no accounting document is getting generated. But we want to stop at delivery only; system should not allow creating delivery. Please do the needful
    Thanks in advance
    Regards,
    Nagesh

    hi nagesh,.
    from standard SAP it might not be possible.
    but check this work around:
    after creating the COMPANY CODE DATA by the marketing people only you please go ahead and create a delivery till that time the sales order will be in open status.
    if you want to stop it through the SAP system:
    then you need to contact TECHNICAL PERSON on the same:
    MV45AFZZ : USEREXIT_SAVE_DOCUMENT_PREPARE for checking while creating a delivery if not created then to throw an ERROR message - this is the only probability to check
    but he may not be having solution for your query.
    except the work around.
    please check and confirm
    balajia

  • Holder-Position relationship not created during hiring in PA40

    Hi,
    I have an issue right now where the holder-position relationship was not created when I hired a new employee thru PA40. We could correct this via RHINTE00. However, we would like to know first before we run the program on what could be the probable cause why the relationship was not created. All infotype records of the employee were added successfully in the system, it is only the SP relationship in HRP1001 that was not created during hiring. I'm  still trying to replicate it to find the probable cause but still no luck. It only occurred once (quite rare). Since we can't replicate it, may we know when or how the relationship will not be created?
    Your response will be greatly appreciated. Thank you very much.
    Regards,
    Angelo

    Hi Venkatesh, thanks for the reply.
    Yes, the PLOGI - ORGA switch is set to X

  • Delivery shouold not create only with Materail A

    Hi All,
    My requiment is:
    I have created one Sales Order with Four Materails (A,B,C,D).
    Now I want to create delivery - here the delivery should not be created only with Materail A. that means to create a delivery i have to enter materail B or C or D with A (with single materail A delivery should not create)
    The materail is not a BOM item or solution is not related to Delivery group.
    Can any one kindly suggest me how can i made setting such that i cannot create Delivery only with Materail A.
    << Moderator message - Please do not offer points >>
    Best Regars
    Amjathpasha
    Edited by: Rob Burbank on Nov 25, 2010 3:49 PM

    hi amjad,
    this is to inform you that you cannot achieve this in standard configuration.
    but with technical person you can achieve the same.
    I have created one Sales Order with Four Materails (A,B,C,D) - ok
    Now I want to create delivery - here the delivery should not be created only with Materail A - ok.
    that means to create a delivery i have to enter materail B or C or D with A (with single materail A delivery should not create) - ok
    this is copy control routine from sales document to delivery document.
    logic for the same is:
    read VBAP-POSNR 10,20,30 & 40 & VBAP-MATNR that is MATERIAL A,B,C,& D.
    check if when ever VBAP-POSNR 10 - material -A is coming into the delivery whether the associated VBAP - POSNR's (any one). is there or not.
    if it is there with any one of the POSNR's then process it other wise "E" message with "No Associated Materials Exist for Material A"
    note : for this process please copy and create a new sales order to delivery to billing documents.
    hope this helps.
    please check with your abaper and update the forum.
    regards,
    balajia

  • Negative delivery costs not allowed

    Hi Experts,
    In the below situation I am getting message like 'Negative delivery costs not allowed'.Please
    give your suggestions.
    There is a PO line item which I want to check the 'Delivery completion indicator' But when I am
    going to change mode of the PO, in that line item delivery costs are coming in negative & samething
    is shown in PO header condition tab as well.
    So system throws message that ' PO Header still faulty'. 'Negative delivery costs not allowed'.
    Please suggest how to overcome this problem.
    Regards,
    Partha

    Hi,
    PLease check which condition is causing this error and change "rounding rule" to B. If this does not solve the error, I would recommend that you open a ticket at SAP.
    Best Regards,
    Arminda Jack

  • SmbServer: could not create socket: Address already in use

    When I start SmbServerAgent,
    it fails again and again.
    In SmbServer.log there exists
    "SmbServer: could not create socket: Address already in use,"
    but SmbServer was already shutdown.
    How do resolve such issue? Thanks a lot.
    ergent

    Something else is already using that TCP port.
    BTW you can only re-use a TCP port number if you're binding to a different NIC IP address than the one bound by the previous binder to that TCP port. You're not, so you can't.

  • GR based IV for delivery costs not working

    Hi Gurus,
    GR based IV is not working for certain delivery costs. I have not assigned any accrual key to the condition type in the calculation schema.
    When I try to perform invoice verification for the delivery cost, the GR quantity / value does not appear automatically.
    Is there anything I need to do with the schema / condition type?
    Regards,
    Aroop

    Hi Kumar,
    I had missed out the Vendor in GR option 2 in the condition type configuration: I changed it to 2, but the problem remains.
    During PO creation, the vendor gets mentioned against the condition type automatically.
    Any further idea on this?
    Regards,
    Aroop

  • Planned Delivery Cost is changed during GR

    Hi Experts,
    PO is created with Planned Delivery Cost. When GR is created, the costs will be distributed to material cost.
    However, delivery costs can be changed for each delivery.
    How does SAP handle or distribute actual delivery costs into the received materials for each delivery? Where do I enter actual delivery costs with GR.
    Thanks,
    Sukhbold

    Hi,
    one option is availabe in SAP to post the unplanned delivery costs apart from the planned delivery costs,
    we can post the unplanned delivery costs to material 'or' separate G/L account also,
    pls check the fallowing path,
    IMG-Materials Management-Logistics Invoice Verification-Incoming Invoice-Configure How Unplanned Delivery Costs Are Posted,
    pls note that the above costs can post while doing invoice posting only
    chenna kesava reddy

  • Planned delivery cost not updating Through Invoic02 idoc

    Hi,
    We are using Inbound IDOC (INVOIC02) to create invoice. The enhancement that we are looking to do is to use the indicator Goods/Service items + planned delivery costs which is seen when we manually post invoices using MIRO. Can you please let us know of any inputs in this regard.
    For your information - the current functional module we are using to post invoices received through EDI is IDOC_INPUT_INVOIC_MRM and the message type is INVOIC. But this does not seem to help us in case of goods which has got a planned freight attached to it.
    Thanks
    Shasi

    Hi Experts ,
    Kaindly provide me your inputs ..
    Thanks
    Shasi

  • Delivery costs not reversed in GR reversal

    Hi,
    I have a situation where in PO following conditions are used-
    ZR0 - (100) USD - Statistical - Accrual - Discount/Surcharge type
    ZR2 - (100) USD - Statistical - Accrual - Discount/Surcharge type - Delivery cost - (100% of ZR0)
    ZR3 - (-100) USD - Statistical - Accrual - Discount/Surcharge type - (-100% of ZR0)
    When I post the GR, the following entries are posted-
    148000    CAInv NonTradStock S   30,421.60  AUD
    311700    CLPbls GR-IR Clearin   64,991.68- AUD
    629935    Std-Actual Price Var   34,570.08  AUD
    611900    Purchasing (FG)        64,991.68  AUD
    611910    Purchase offset (FG)   64,991.68- AUD
    311700    CLPbls GR-IR Clearin   14,504.64- AUD (ZR0)
    120240    CARecv Sundry-Extern   14,504.64  AUD
    311700    CLPbls GR-IR Clearin   14,504.64  AUD (ZR2)
    311700    CLPbls GR-IR Clearin   14,504.64- AUD (ZR3)
    But when I reverse the GR, the following entries only are posted-
    99 148000    CAInv NonTradStock S   32,653.56- AUD
    86 311700    CLPbls GR-IR Clearin   64,991.68  AUD
    96 629935    Std-Actual Price Var   32,338.12- AUD
    50 611900    Purchasing (FG)        64,991.68- AUD
    40 611910    Purchase offset (FG)   64,991.68  AUD
    Can you please let me know why the ZR0/ZR2/ZR3 cond are not reversed in the 102 movement?

    Hello Jurgen,
    I am cancelling the initial material document (101) with MIGO - 102.
    When I check the accounting documents:
    For the 101:
    001 89       311010     STK RAW MAT                                   18,219.00
    002 96       408111     UNVOUCH A/P RAW MAT                           11,489.81-
    003 86       601120     PURCHASES RAW MAT (O                             548.57
    004 50       408113     UNVOUCH A/P TRANSP                             6,384.00-
    005 50       408113     UNVOUCH A/P TRANSP                               893.76-
    For the 102:
    Itm PK  BusA Acct no.   Description                    Tx     Amount in   USD
    001 99       311010     STK RAW MAT                                   18,219.00-
    002 86       408111     UNVOUCH A/P RAW MAT                           11,489.81
    003 86       601120     PURCHASES RAW MAT (O                             345.19
    004 40       408113     UNVOUCH A/P TRANSP                             6,384.00
    There were several goods receipts between 101 and 102 (but no invoicing) because this is an automated flow with EDI.
    The PO has 2 freight condition types:
    FRC1 (freight/qty) with vendor A in the details of the conditions on the PO
    FRA3 (freight %) with vendor B in the details of the conditions on the PO
    For different reasons, the pricing is maintained in MEK1 (not in an info-record).
    Thanks for your help,
    Annabelle R.

  • UNPLANNED DELIVERY COST NOT PROPERLY DISTRIBUTED TO MATERIAL LINE ITEM

    Hi ,
    Presently my system is Configured to distribute  Unplanned Delivery Costs among invoice items,but it is not properly distributed among line item while doing the posting.
    What may be the problem,Is there any additional settings to be checked ?or in which areas i need to check? Plz Help regarding this.
    Thanks,
    Raju

    Hi,
    Plz chek the SPRO settings for unplanned delivery cost. You need to maintain the company code
    in SPRO - Material Management - Logistics Invoice Verification -Incoming invoices - Configure How Unplanned Delivery Costs Are Posted
    regards

  • Cash Sales delivery has not created

    Hi guru's
    here iam facing one error when iam creating cash sales the system giving message no delivery created
    i checked vov8 for cs in shipping tab delivery is x-create delivery immediately if quantity confirms today
    and one more thing i have enough stock
    plz solve the issue
    thanks and regards
    srinivas

    As per ur query, I think that....copying from CS to delivery is not working. As u said, copycontrolls is configured, I once again suggest you to check the Item category of sales document is existing in Copy controls - Item data.
    Also check Item category determination for deliveries in Logistics Execution of SPRO.
    Regards,
    Praveen.

  • Delivery Cost not to be inventorised

    Dear all,
    I need your advise in our business scenario.
    Basic Price = 100.00
    Customs duty = 10.00
    I dont want to inventorise the customs duty to the material cost but required as a separate entry like below:
    Inventory account Dr. 100.00
    Customs duty      Dr.   10.00
      GR/IR clearing a/c Cr. 110.00
    Because the imported materials are exported within 180 days.  Initially we pay the customs as deposit not as a duty.  If we are unable to export within 180 days then the deposit amount should get transferred to Customs duty account and to be inventorised to the material account.
    Please advise.
    Regards,
    S.Suresh

    Hi Suresh,
    For this you define respecive custom duty condition type as accrual in customizing and condition type as delivery cost then after in pricing procedure mentin your defined account keys against custom duty condition type.
    Hope it will solve your problem
    Regards
    VS

  • Inspection Lot not created during GR

    Hi All,
    I have an issue wherein the QM View is not activated during PO creation. This has caused the succeeding Goods Receipt to move the stock to Unrestricted eventhough I have already activated QM.
    How can I rectify this problem that GR for this PO will go to QI and will create inspection lot.
    Thanks,
    Raymond

    Hi,
    Please follow following steps,
    I hope you have now activarted inspection type 01 for the material.
    1. Go to PO with transcation ME22n,
    2. For the matreial , go and change the stock type to Qulaity , instaed of unrestriced.
    3. Save and come out.
    Go and do GR .. Inspection lot will be generated.

  • Bad file is not created during the external table creation.

    Hello Experts,
    I have created a script for external table in Oracle 10g DB. Everything is working fine except it does not create the bad file, But it creates the log file. I Cann't figure out what is the issue. Because my shell scripts is failing and the entire program is failing. I am attaching the table creation script and the shell script where it is refering and the error. Kindly let me know if something is missing. Thanks in advance
    Table Creation Scripts:_-------------------------------
    create table RGIS_TCA_DATA_EXT
    guid VARCHAR2(250),
    badge VARCHAR2(250),
    scheduled_store_id VARCHAR2(250),
    parent_event_id VARCHAR2(250),
    event_id VARCHAR2(250),
    organization_number VARCHAR2(250),
    customer_number VARCHAR2(250),
    store_number VARCHAR2(250),
    inventory_date VARCHAR2(250),
    full_name VARCHAR2(250),
    punch_type VARCHAR2(250),
    punch_start_date_time VARCHAR2(250),
    punch_end_date_time VARCHAR2(250),
    event_meet_site_id VARCHAR2(250),
    vehicle_number VARCHAR2(250),
    vehicle_description VARCHAR2(250),
    vehicle_type VARCHAR2(250),
    is_owner VARCHAR2(250),
    driver_passenger VARCHAR2(250),
    mileage VARCHAR2(250),
    adder_code VARCHAR2(250),
    bonus_qualifier_code VARCHAR2(250),
    store_accuracy VARCHAR2(250),
    store_length VARCHAR2(250),
    badge_input_type VARCHAR2(250),
    source VARCHAR2(250),
    created_by VARCHAR2(250),
    created_date_time VARCHAR2(250),
    updated_by VARCHAR2(250),
    updated_date_time VARCHAR2(250),
    approver_badge_id VARCHAR2(250),
    approver_name VARCHAR2(250),
    orig_guid VARCHAR2(250),
    edit_type VARCHAR2(250)
    organization external
    type ORACLE_LOADER
    default directory ETIME_LOAD_DIR
    access parameters
    RECORDS DELIMITED BY NEWLINE
    BADFILE ETIME_LOAD_DIR:'tstlms.bad'
    LOGFILE ETIME_LOAD_DIR:'tstlms.log'
    READSIZE 1048576
    FIELDS TERMINATED BY '|'
    MISSING FIELD VALUES ARE NULL(
    GUID
    ,BADGE
    ,SCHEDULED_STORE_ID
    ,PARENT_EVENT_ID
    ,EVENT_ID
    ,ORGANIZATION_NUMBER
    ,CUSTOMER_NUMBER
    ,STORE_NUMBER
    ,INVENTORY_DATE char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,FULL_NAME
    ,PUNCH_TYPE
    ,PUNCH_START_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,PUNCH_END_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,EVENT_MEET_SITE_ID
    ,VEHICLE_NUMBER
    ,VEHICLE_DESCRIPTION
    ,VEHICLE_TYPE
    ,IS_OWNER
    ,DRIVER_PASSENGER
    ,MILEAGE
    ,ADDER_CODE
    ,BONUS_QUALIFIER_CODE
    ,STORE_ACCURACY
    ,STORE_LENGTH
    ,BADGE_INPUT_TYPE
    ,SOURCE
    ,CREATED_BY
    ,CREATED_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,UPDATED_BY
    ,UPDATED_DATE_TIME char date_format date mask "YYYYMMDD HH24:MI:SS"
    ,APPROVER_BADGE_ID
    ,APPROVER_NAME
    ,ORIG_GUID
    ,EDIT_TYPE
    location (ETIME_LOAD_DIR:'tstlms.dat')
    reject limit UNLIMITED;
    _***Shell Script*:*----------------_*
    version=1.0
    umask 000
    DATE=`date +%Y%m%d%H%M%S`
    TIME=`date +"%H%M%S"`
    SOURCE=`hostname`
    fcp_login=`echo $1|awk '{print $3}'|sed 's/"//g'|awk -F= '{print $2}'`
    fcp_reqid=`echo $1|awk '{print $2}'|sed 's/"//g'|awk -F= '{print $2}'`
    TXT1_PATH=/home/ac1/oracle/in/tsdata
    TXT2_PATH=/home/ac2/oracle/in/tsdata
    ARCH1_PATH=/home/ac1/oracle/in/tsdata
    ARCH2_PATH=/home/ac2/oracle/in/tsdata
    DEST_PATH=/home/custom/sched/in
    PROGLOG=/home/custom/sched/logs/rgis_tca_to_tlms_create.sh.log
    PROGNAME=`basename $0`
    PROGPATH=/home/custom/sched/scripts
    cd $TXT2_PATH
    FILELIST2="`ls -lrt tstlmsedits*.dat |awk '{print $9}'`"
    NO_OF_FILES2="`ls -lrt tstlmsedits*.dat |awk '{print $9}'|wc -l`"
    $DEST_PATH/tstlmsedits.dat for i in $FILELIST2
    do
    cat $i >> $DEST_PATH/tstlmsedits.dat
    printf "\n" >> $DEST_PATH/tstlmsedits.dat
    mv $i $i.$DATE
    #mv $i $TXT2_PATH/test/.
    mv $i.$DATE $TXT2_PATH/test/.
    done
    if test $NO_OF_FILES2 -eq 0
    then
    echo " no tstlmsedits.dat file exists " >> $PROGLOG
    else
    echo "created dat file tstlmsedits.dat at $DATE" >> $PROGLOG
    echo "-------------------------------------------" >> $PROGLOG
    fi
    NO_OF_FILES1="`ls -lrt tstlms*.dat |awk '{print $9}'|wc -l`"
    FILELIST1="`ls -lrt tstlms*.dat |awk '{print $9}'`"
    $DEST_PATH/tstlms.datfor i in $FILELIST1
    do
    cat $i >> $DEST_PATH/tstlms.dat
    printf "\n" >> $DEST_PATH/tstlms.dat
    mv $i $i.$DATE
    # mv $i $TXT2_PATH/test/.
    mv $i.$DATE $TXT2_PATH/test/.
    done
    if test $NO_OF_FILES1 -eq 0
    then
    echo " no tstlms.dat file exists " >> $PROGLOG
    else
    echo "created dat file tstlms.dat at $DATE" >> $PROGLOG
    fi
    cd $TXT1_PATH
    FILELIST3="`ls -lrt tstlmsedits*.dat |awk '{print $9}'`"
    NO_OF_FILES3="`ls -lrt tstlmsedits*.dat |awk '{print $9}'|wc -l`"
    $DEST_PATH/tstlmsedits.datfor i in $FILELIST3
    do
    cat $i >> $DEST_PATH/tstlmsedits.dat
    printf "\n" >> $DEST_PATH/tstlmsedits.dat
    mv $i $i.$DATE
    #mv $i $TXT1_PATH/test/.
    mv $i.$DATE $TXT1_PATH/test/.
    done
    if test $NO_OF_FILES3 -eq 0
    then
    echo " no tstlmsedits.dat file exists " >> $PROGLOG
    else
    echo "created dat file tstlmsedits.dat at $DATE" >> $PROGLOG
    echo "-------------------------------------------" >> $PROGLOG
    fi
    NO_OF_FILES4="`ls -lrt tstlms*.dat |awk '{print $9}'|wc -l`"
    FILELIST4="`ls -lrt tstlms*.dat |awk '{print $9}'`"
    $DEST_PATH/tstlms.datfor i in $FILELIST4
    do
    cat $i >> $DEST_PATH/tstlms.dat
    printf "\n" >> $DEST_PATH/tstlms.dat
    mv $i $i.$DATE
    # mv $i $TXT1_PATH/test/.
    mv $i.$DATE $TXT1_PATH/test/.
    done
    if test $NO_OF_FILES4 -eq 0
    then
    echo " no tstlms.dat file exists " >> $PROGLOG
    else
    echo "created dat file tstlms.dat at $DATE" >> $PROGLOG
    fi
    #connecting to oracle to generate bad files
    sqlplus -s $fcp_login<<EOF
    select count(*) from rgis_tca_data_ext;
    select count(*) from rgis_tca_data_history_ext;
    exit;
    EOF
    #counting the records in files
    tot_rec_in_tstlms=`wc -l $DEST_PATH/tstlms.dat | awk ' { print $1 } '`
    tot_rec_in_tstlmsedits=`wc -l $DEST_PATH/tstlmsedits.dat | awk ' { print $1 } '`
    tot_rec_in_tstlms_bad=`wc -l $DEST_PATH/tstlms.bad | awk ' { print $1 } '`
    tot_rec_in_tstlmsedits_bad=`wc -l $DEST_PATH/tstlmsedits.bad | awk ' { print $1 } '`
    #updating log table
    echo "pl/sql block started"
    sqlplus -s $fcp_login<<EOF
    define tot_rec_in_tstlms     = '$tot_rec_in_tstlms';
    define tot_rec_in_tstlmsedits     = '$tot_rec_in_tstlmsedits';
    define tot_rec_in_tstlms_bad     = '$tot_rec_in_tstlms_bad';
    define tot_rec_in_tstlmsedits_bad='$tot_rec_in_tstlmsedits_bad';
    define fcp_reqid ='$fcp_reqid';
    declare
    l_tstlms_file_id number := null;
    l_tstlmsedits_file_id number := null;
    l_tot_rec_in_tstlms number := 0;
    l_tot_rec_in_tstlmsedits number := 0;
    l_tot_rec_in_tstlms_bad number := 0;
    l_tot_rec_in_tstlmsedits_bad number := 0;
    l_request_id fnd_concurrent_requests.request_id%type;
    l_start_date fnd_concurrent_requests.actual_start_date%type;
    l_end_date fnd_concurrent_requests.actual_completion_date%type;
    l_conc_prog_name fnd_concurrent_programs.concurrent_program_name%type;
    l_requested_by fnd_concurrent_requests.requested_by%type;
    l_requested_date fnd_concurrent_requests.request_date%type;
    begin
    --getting concurrent request details
    begin
    SELECT fcp.concurrent_program_name,
    fcr.request_id,
    fcr.actual_start_date,
    fcr.actual_completion_date,
    fcr.requested_by,
    fcr.request_date
    INTO l_conc_prog_name,
    l_request_id,
    l_start_date,
    l_end_date,
    l_requested_by,
    l_requested_date
    FROM fnd_concurrent_requests fcr, fnd_concurrent_programs fcp
    WHERE fcp.concurrent_program_id = fcr.concurrent_program_id
    AND fcr.request_id = &fcp_reqid; --fnd_global.conc_request_id();
    exception
    when no_data_found then
    fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
    fnd_file.put_line(fnd_file.log, 'No data found for request_id');
    fnd_file.put_line(fnd_file.log, sqlerrm);
    raise_application_error(-20001,
    'Error occured when executing RGIS_TCA_TO_TLMS_CREATE.sh ' ||
    sqlerrm);
    when others then
    fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
    fnd_file.put_line(fnd_file.log,
    'Error occured when retrieving request_id request_id');
    fnd_file.put_line(fnd_file.log, sqlerrm);
    raise_application_error(-20001,
    'Error occured when executing RGIS_TCA_TO_TLMS_CREATE.sh ' ||
    sqlerrm);
    end;
    --calling ins_or_upd_tca_process_log to update log table for tstlms.dat file
    begin
    rgis_tca_to_tlms_process.ins_or_upd_tca_process_log
                   (l_tstlms_file_id,
                   'tstlms.dat',
                   l_conc_prog_name,
                   l_request_id,
                   l_start_date,
                   l_end_date,
                   &tot_rec_in_tstlms,
                   &tot_rec_in_tstlms_bad,
                   null,
                   null,               
                   null,
                   null,
                   null,
                   null,
                   null,
                   l_requested_by,
                   l_requested_date,
                   null,
                   null,
                   null,
                   null,
                   null);
    exception
    when others then
    fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
    fnd_file.put_line(fnd_file.log,
    'Error occured when executing rgis_tca_to_tlms_process.ins_or_upd_tca_process_log for tstlms file');
    fnd_file.put_line(fnd_file.log, sqlerrm);
    end;
    --calling ins_or_upd_tca_process_log to update log table for tstlmsedits.dat file
    begin
    rgis_tca_to_tlms_process.ins_or_upd_tca_process_log
                   (l_tstlmsedits_file_id,
                   'tstlmsedits.dat',
                   l_conc_prog_name,
                   l_request_id,
                   l_start_date,
                   l_end_date,
                   &tot_rec_in_tstlmsedits,
                   &tot_rec_in_tstlmsedits_bad,
                   null,
                   null,               
                   null,
                   null,
                   null,
                   null,
                   null,
                   l_requested_by,
                   l_requested_date,
                   null,
                   null,
                   null,
                   null,
                   null);
    exception
    when others then
    fnd_file.put_line(fnd_file.log, 'Error:RGIS_TCA_TO_TLMS_CREATE.sh');
    fnd_file.put_line(fnd_file.log,
    'Error occured when executing rgis_tca_to_tlms_process.ins_or_upd_tca_process_log for tstlmsedits file');
    fnd_file.put_line(fnd_file.log, sqlerrm);
    end;
    end;
    exit;
    EOF
    echo "rgis_tca_to_tlms_process.sql started"
    sqlplus -s $fcp_login @$SCHED_TOP/sql/rgis_tca_to_tlms_process.sql $fcp_reqid
    exit;
    echo "rgis_tca_to_tlms_process.sql ended"
    _**Error:*----------------------------------*_
    RGIS Scheduling: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    TCATLMS module: TCA To TLMS Import Process
    Current system time is 18-AUG-2011 06:13:27
    COUNT(*)
         16
    COUNT(*)
         25
    wc: cannot open /home/custom/sched/in/tstlms.bad
    wc: cannot open /home/custom/sched/in/tstlmsedits.bad
    pl/sql block started
    old 33:     AND fcr.request_id = &fcp_reqid; --fnd_global.conc_request_id();
    new 33:     AND fcr.request_id = 18661823; --fnd_global.conc_request_id();
    old 63:                &tot_rec_in_tstlms,
    new 63:                16,
    old 64:                &tot_rec_in_tstlms_bad,
    new 64:                ,
    old 97:                &tot_rec_in_tstlmsedits,
    new 97:                25,
    old 98:                &tot_rec_in_tstlmsedits_bad,
    new 98:                ,
    ERROR at line 64:
    ORA-06550: line 64, column 4:
    PLS-00103: Encountered the symbol "," when expecting one of the following:
    ( - + case mod new not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set specification>
    <an alternatively-q
    ORA-06550: line 98, column 4:
    PLS-00103: Encountered the symbol "," when expecting one of the following:
    ( - + case mod new not null others <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql st
    rgis_tca_to_tlms_process.sql started
    old 12: and concurrent_request_id = '&1';
    new 12: and concurrent_request_id = '18661823';
    old 18: and concurrent_request_id = '&1';
    new 18: and concurrent_request_id = '18661823';
    old 22: rgis_tca_to_tlms_process.run_tca_data(l_tstlms_file_id,&1);
    new 22: rgis_tca_to_tlms_process.run_tca_data(l_tstlms_file_id,18661823);
    old 33: rgis_tca_to_tlms_process.run_tca_data_history(l_tstlmsedits_file_id,&1);
    new 33: rgis_tca_to_tlms_process.run_tca_data_history(l_tstlmsedits_file_id,18661823);
    old 44: rgis_tca_to_tlms_process.send_tca_email('TCATLMS',&1);
    new 44: rgis_tca_to_tlms_process.send_tca_email('TCATLMS',18661823);
    declare
    ERROR at line 1:
    ORA-20001: Error occured when executing RGIS_TCA_TO_TLMS_PROCESS.sql ORA-01403:
    no data found
    ORA-06512: at line 59
    Executing request completion options...
    ------------- 1) PRINT   -------------
    Printing output file.
    Request ID : 18661823      
    Number of copies : 0      
    Printer : noprint
    Finished executing request completion options.
    Concurrent request completed successfully
    Current system time is 18-AUG-2011 06:13:29
    ---------------------------------------------------------------------------

    Hi,
    Check the status of the batch in SM35 transaction.
    if the batch is locked by mistake or any other error, now you can release it and aslo you can process again.
    To Release -Shift+F4.
    Also you can analyse the job status through F2 button.
    Bye

Maybe you are looking for

  • Using Time Machine to back up an external hard drive

    Hi, This has probably been asked a lot but i'm struggling to find an answer. I want to back up my external hard drive using Time Machine but i'm not sure how to do it? Is there a way that I can connect my external hdd and create a back up that is sto

  • How to track changes to Financial Reports

    I am being asked by our auditors to propose a process where we monitor and document changes to our Hyperion Financial Reports used for P&Ls, Balance Sheets, etc. Is there a history kept anywhere of the modified date for reports? I know that the clien

  • Dynamic structure creating based on the input parameter

    Hi all,              How to create a dynamic structure based on the input parameter given in the selection screen. I have a file path given and it contains three fields in common, but after that depending upon the input given the fields get changed.

  • How do I find my icloud contacts for my pc?

    I am using the icloud calendar.  I am sharing data with an iMac user and also with my own iPhone and iPad.  I also use a PC.  I would like to capture birthdates or use a contacts list which has birthdates to show on my icloud calendar.  Can you expla

  • Download of saved views of an interactive report

    Hi all When I am on a saved view of an interactive report and choose 'Download', I always get the data of the actual worksheet but not that form the saved report. Has anyone a solution of this problem? best regards Gerhild