Corrupt Credit Note created via DI API

Hello,
when i try to create a credit note via di api i get the error message "one of the base documents has been closed", even if the source document is not closed. But this is not the main problem. After this i have a corrupt credit memo in my system, that means a credit memo with out any detail lines. The error occurs only on one customer systems, on a lot of other systems the creation of credit notes works fine. Had anybody the same effect or clue what causes this problem.
Regards

Hello we found the problem, i can reproduce it on a belgium database.
I want you to inform about a critical error in the SBO_SP_TransactionNotification.
If you check the line data of a document and send an error for this data the front end works fine. But if you use the DI-API the header data of document will be saved and the lines will be not saved.
if @object_type in ('14','19') and @transaction_type = 'A'
begin
declare @corrCRD as varchar(8)
if @object_type = '14'
set @corrCRD = (select distinct(correction) from ovtg where code in (select vatgroup from RIN1 where docentry = @list_of_cols_val_tab_del) and correction = 'N')
else if @object_type = '19'
set @corrCRD = (select distinct(correction) from ovtg where code in (select vatgroup from RPC1 where docentry = @list_of_cols_val_tab_del) and correction = 'N')
if @corrCRD = 'N'
begin
set @error = 1
set @error_message = 'You have entered a regular VAT Code on the document, this is not allowed'
end
end

Similar Messages

  • Newly created Image not listed via REST API

    Hi,
    I have created a image in azure console .Its created successfully and i could see the created image under "Image" tab in console.Also, the image created with the name appending current date, it was not before.But when I am trying to list images by
    using the below REST API its listing images except the newly created images that have the  name appended with current date.
    https://management.core.windows.net/5f2fe4c3-23b3-45c0-a70c-9560b79dcf56/services/images
    header values:
    x-ms-version : 2012-03-01
    Content-Type : application/xml
    Host: management.core.windows.net
    This makes me fail to launch new VM via REST api.I got the response as follows
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>BadRequest</Code><Message>The image vmyffdd-20140605-813455l does not exist.</Message></Error>
    Please look into this.

    hi,
    From the error, your request parameter was incorrect. I guess your image name may be wrong. How did you write your Image name and url? I suggest you don't forget the '.VHD'. Also,if you use the
    VMImageName element which is only available using version 2014-02-01 or higher
    And I suggest you could try this code sample about how to using REST api to create VM :Simple Windows Azure REST API Sample Tool
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BUT000 partner not created via function 'BAPI_BPCONSUMER_CREATE'

    Dear all,
    Hope you can help me. In a batch job we create business partners via function 'BAPI_BPCONSUMER_CREATE'. When the creation is succesfull the partner_number can be found in table BUT000. <u>Sometimes</u> however function 'BAPI_BPCONSUMER_CREATE' has been executed correctly (this means no errors/warnings in table 'ret') the partner_number is not present in the BUT000 table although the function 'BAPI_TRANSACTION_COMMIT' has been executed.
    When I check the BUT000 table afterwards there is a gap in the partner number numbering. You can see the abap code below.
    Has anyone seen this before? Thank you in advance for your help.
    With kind regards,
    Simon Tol, Bose IS
        CLEAR partner_number.
        CALL FUNCTION 'BAPI_BPCONSUMER_CREATE'
          EXPORTING
            partner_group               = 'Z001'
            partner_category            = '1'
            partner_central_data        = bupa_central
            central_data_person         = cpperson
            partner_addr                = cpaddress
            duplicate_message_type_addr = 'S'
          IMPORTING
            businesspartner             = partner_number
          TABLES
            partner_tel_addr            = cpadtel
            partner_fax_addr            = cpadfax
            partner_email_addr          = cpadsmtp
            return                      = ret.
        LOOP AT ret WHERE type = 'E' OR type = 'A'.
          PERFORM make_message USING 'I' ret-id ret-number ret-message_v1 ret-message_v2
                                                                 ret-message_v3 ret-message_v4.
          PERFORM make_message USING 'E' '00' '208' 'Error: Prospect not created' '' '' ''.
        ENDLOOP.
        IF sy-subrc <> 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          IF send_to_r3 IS INITIAL.
            CONCATENATE 'Prospect' partner_number 'created.' INTO msg
                                                   SEPARATED BY space.
          ELSE.
            CONCATENATE 'Consumer' partner_number 'created.' INTO msg
                                             SEPARATED BY space.
          ENDIF.
          PERFORM make_message USING 'S' '00' '208' msg '' '' ''.
          CLEAR but000.
          SELECT SINGLE * FROM but000 WHERE partner = partner_number.
          IF sy-subrc <> 0.
            CONCATENATE 'Error: Partner'                   
                        partner_number
                        'Partner not created, date/time'
                        sy-datum
                        sy-uzeit
                        INTO msg
            SEPARATED BY space.
            PERFORM make_message USING 'E' '00' '208' msg '' '' ''.
            PERFORM make_message USING 'E' '00' '208' 'Error: Partner not created' '' '' ''.
            gv_partner =  partner_number.
            return.
          ENDIF.

    Thank you very much for the helpful answers.
    The problem  is solved.
    'BAPI_EQUI_CREATE' needs a commit to make an entry in the Database.
    CALL FUNCTION 'BAPI_EQUI_CREATE'
    EXPORTING
      external_number    = equipmentnummer
      data_general       = data_general1
      data_specific      = data_specific1
    DATA_FLEET         = data_fleet1
    VALID_DATE         = valid_date1
      data_install       = data_install1
    IMPORTING
      equipment         = equipment1
      data_general_exp  = data_general_exp1
    data_specific_exp = data_specific_exp1
    data_fleet_exp    = data_fleet_exp1
    return            = return1 .
    DATA: ld_wait      LIKE  bapita-wait.             
    ld_wait = 'X' .
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = ld_wait.

  • Session REC-0811-4 was not created via tcode(F.14)

    Hi,
       We use the tcode(F.14) can't generate session. The following is the message. I put the selection is same as previous except the date. Could you pls help us check it?Thanks.
    ===============================
    Session REC-0811-4 was not created
    Message no. FB 202
    Diagnosis
    You have started the report SAPF120.
    System Response
    No recurring document could be selected which would have corresponded to the selection criteria you specified. The session REC-0811-4 was therefore not created.
    Procedure
    Check your entry or change your existing selection criteria.
    ================================
    Best Regards
    Park

    HI
    It's clear from the below message that, System could not process because of the selection criteria you had given.
    Please check the recurring document no entered, the validity of the recurring document.....
    System Response
    No recurring document could be selected which would have corresponded to the selection criteria you specified. The session REC-0811-4 was therefore not created.

  • Acl Entry is not removed via KM API

    Hi,
    I want to update or remove an ACL Entry for a user on a certain resource.
    For ex. If for a resource A, User "User1" has READ permissions, now if I want to remove these read permissions for user "User1" on this resource A, I am not able to do so using KM API.
    The code which i am using for this is
    resourceInfo is of Type IResource.
    // Get the Acl Security manager.
    IAclSecurityManager aclSecurityManager = (IAclSecurityManager) returnResourceInfo.getRepositoryManager().getSecurityManager(resourceInfo);
    // Get the resourceAcl manager.
    IResourceAclManager resourceAclManager = aclSecurityManager.getAclManager();
    // Get the resource Acl
    IResourceAcl rACl = resourceAclManager.getAcl(resourceInfo);
    Here i am not having any method which remove the Acl entry for the specific user ex. "User1".
    Edited by: Lokesh Malik on Nov 13, 2008 9:57 AM
    Edited by: Lokesh Malik on Nov 13, 2008 12:13 PM

    HI Lokesh,
    this might help,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1070413a-29e7-2a10-cc81-cdc92cdd231b
    but you have to take into account that the resource can inherit the acl from the folder, so
    if the ResourceAcl is null, you can create an acl and assign the permissions you want for the resource.
    IResourceAcl ra = ram.getAcl(resource);
                   if(ra == null){
                        //"inherited permissions from the folder";
    // instead of taking from the folder
    //ra = ram.getInheritedAcl(resource);
    // create your own acl                    
    ra = ram.createAcl(resource);
    ra.addOwner(resource.getContext().getUser());
    // or whatever you need for this resource....
    ra.removeOwner(<IUMPrincipal>);
    Hope this helps
    Regards
    DV

  • Cancel credit memo created via MR8M

    Hi,
    My user cancelled an invoice via MR8M & it created a credit memo.
    Now, they would like to reset the credit memo.
    Please advice.

    HI ,
    You can pst again Invoice  with MIRO on PO as PO is now opened . Now cann't reset the Credit as MR8M is reversal of MM document .
    Many Thanks

  • "Password has expired" for user created via UME API

    Hi,
    I have written a service that processes new user accounts and uses the UME API to create them. The code works fine on my local Sneak Preview installation of EP6 SP16, allowing the created users to logon and forcing them to change their password on first login.
    When I try and run this code on EP6 SP14 it completes without generating any exceptions but when I try and login I get the message "Password has expired" and cannot login or change the users password.
    Does anyone know why?
    I have the following UME settings for both servers:
    ume.logon.security_policy.password_change_allowed = TRUE
    ume.logon.security_policy.password_change_required = TRUE
    ume.logon.security_policy.password_expire_days = 99999
    The SP14 server also uses LDAP to authenticate users primarily  and has the following setting:
    ume.persistence.data_source_configuration = dataSourceConfiguration_ads_deep_readonly_db.xml
    There are some other UME configuration differences but none that seem relevant to this problem.
    Can anyone suggest what the problem might be?
    Cheers,
    Steve Archer

    The Xp machine is fine acessing the mb
    its the macbook that is having a problem accessing the xp machine coz it says that the password has expired
    but there is no password for the user on the xp machine that i am trying to access from my mb
    so that would be:
    xp to mb = fine all working
    mb to xp = password expired even though no password required for the xp user

  • File not created via UTL filr

    PROCEDURE pr_exercise (
    p_userid VARCHAR2,
    p_filename VARCHAR2,
    p_logfile VARCHAR2
    IS
    CURSOR c_exercise
    IS
    SELECT ordr.corp_name, e.exer_dt, ordr.corp_name, o.soc_sec, o.name_first,
    o.name_mi, o.name_last, u.ml_retail_account, e.exer_dt, e.exer_type,
    e.opts_exer,
    (SELECT g.opt_prc
    FROM grantz g
    WHERE g.grant_num = e.grant_num AND g.user_id = e.user_id),
    (SELECT SUM (d.shrs_sold)
    FROM dispose d
    WHERE d.exer_num = e.exer_num AND d.grant_num = e.grant_num),
    e.shrs_swap, e.mkt_prc, (NVL (e.opts_exer, 0) * NVL (u.opt_prc, 0)),
    (NVL (e.opts_exer, 0) * NVL (e.mkt_prc, 0)),
    (SELECT SUM (f.commission)
    FROM feeschgd f
    WHERE f.exer_num = e.exer_num AND f.user_id = e.user_id),
    NVL (u.tot_fee, 0), NVL (u.tot_tax, 0),
    NVL (ordr.multi_curr_handling_fee, 0),
    DECODE
    (u.exer_type,
    4, DECODE
    (NVL (u.distribution_method, 'X'),
    'X', NULL,
    pk_xop_citibank_forex.fn_get_netamount
    (u.user_id,
    u.exer_num,
    u.soc_sec,
    u.sar_cash_amount,
    NVL (u.comm_value, 0),
    NVL (u.tot_fee, 0),
    NVL (u.multi_curr_handling_fee,
    0
    ( (NVL (u.shrs_sold, 0) * NVL (u.mkt_prc, 0))
    - ( (u.opts_exer * NVL (u.opt_prc, 0))
    + DECODE (NVL (u.shrs_wthld_for_taxes, 'N'),
    'Y', 0,
    ROUND (NVL (u.tot_tax, 0), 2)
    + NVL (u.tot_fee, 0)
    + NVL (u.multi_curr_handling_fee, 0)
    + NVL (u.comm_value, 0)
    - NVL (u.backup_withholding, 0)
    ordr.ml_currency_code, ordr.foreign_currency_code,
    ordr.distribution_method, e.user_id, ivr_plan_num, u.tot_fee,
    u.exersource, xe.plan_type, e.exer_dt,
    DECODE (u.plan_type,
    0, 'ISO',
    1, 'NONQUAL',
    2, 'RES',
    3, 'SAR',
    4, 'RSU',
    5, 'RCU',
    6, 'DEU',
    7, 'PS',
    8, 'PU',
    NULL
    p.plan_id, e.create_dt,
    --:blpt_pl_ef_dt,
    fc.ivr_plan_num
    FROM exercise e,
    xop_exercise xe,
    optionee o,
    tb_ml_exer_upload u,
    tb_xop_order_manager_t ordr,
    planz p,
    tb_fc_compy fc
    WHERE e.exer_num = xe.exer_num
    AND e.user_id = xe.user_id
    AND e.opt_num = o.opt_num
    AND e.user_id = o.user_id
    AND e.exer_num = u.exer_num
    AND e.user_id = u.user_id
    AND e.exer_num = ordr.exer_num(+)
    AND e.user_id = ordr.user_log(+)
    AND e.plan_num = p.plan_num
    AND e.user_id = p.user_id
    AND (NVL (e.order_num, 0) >= 0 AND e.mkt_prc > 0)
    AND e.user_id = TRIM ('CMSGGL_USER')
    AND u.user_id = fc.compy_passwd;
    file_out_portrait UTL_FILE.FILE_TYPE;
    file_out_midas UTL_FILE.FILE_TYPE;
    v_portrait_str VARCHAR2 (32767);
    v_midas_str VARCHAR2 (32767);
    v_is_firstline BOOLEAN := TRUE;
    v_ivr_plan_num VARCHAR2 (30);
    v_midas_filepath VARCHAR2 (100);
    v_portrait_filepath VARCHAR2 (100);
    v_midas_filename VARCHAR2 (100);
    v_portrait_filename VARCHAR2 (100);
    BEGIN
    DBMS_OUTPUT.PUT_LINE('SUCCESS1');
    pr_batch_feed_errors (p_logfile,
    'Generating exercise feed for User:' || p_userid
    DBMS_OUTPUT.PUT_LINE('SUCCESS2');
    SELECT MIDAS_FILE_PATH,
    PORTRAIT_FILE_PATH,
    MIDAS_FILE_NAME,
    PORTRAIT_FILE_NAME
    INTO v_midas_filepath,
    v_portrait_filepath,
    v_midas_filename,
    v_portrait_filename
    FROM tb_xop_batch_job_info
    WHERE job_id = 2;
    DBMS_OUTPUT.PUT_LINE('SUCCESS3');
    pr_batch_feed_errors (p_logfile,
    'midas_file_path:' || v_midas_filepath||
    'portrait_file_path:' || v_portrait_filepath||
    'midas_file_name:' || v_midas_filename||
    'portrait_file_name:' || v_portrait_filename
    file_out_portrait :=
    UTL_FILE.FOPEN (v_portrait_filepath, p_filename, 'W');
    file_out_midas :=
    UTL_FILE.FOPEN (v_midas_filepath, p_filename, 'W');
    DBMS_OUTPUT.PUT_LINE('SUCCESS4');
    FOR v_exercise IN c_exercise --(v_ivr_plan_num)
    LOOP
    DBMS_OUTPUT.PUT_LINE('SUCCESS5');
    v_portrait_str :=
    /*('EXSOP'
    ||'/+/'
    ||NULL
    ||'/+/'
    ||v_company.ivr_plan_num
    ||'/+/'
    ||'CMS'
    ||v_company.compy_acronym
    ||'_USER'
    ||'/+/'
    ||v_company.compy_nme
    ||'/+/'
    || NULL
    ||'/+/'
    || v_company.ml_sec_num
    ||'/+/'
    ||v_company.compy_symbl
    ||'/+/'
    ||fn_get_fmv_rpt(sysdate,'CMS'
    ||v_company.compy_acronym
    ||'_USER')
    ||'/+/'
    ||v_company.fa_num
    ||'/+/'
    ||v_company.fa_name_hnw
    ||'/+/'
    ||v_company.maint_in_progress_flag
    ||'/+/'
    ||v_company.vc_branch_prefix
    ||'/+/'
    ||NULL
    ||'/+/'
    ||v_company.usr_winlog_id
    UTL_FILE.PUT_LINE (file_out_portrait, v_portrait_str);
    -- check if Midas need to be run
    IF fn_is_first_sat
    THEN
    --check for header
    IF v_is_firstline
    THEN
    pr_batch_feed_errors (p_logfile,
    'Midas Header'
    v_midas_str :=
    ('Corp Name'
    ||chr(9)
    ||'SSN'
    ||chr(9)
    ||'First Name'
    ||chr(9)
    ||'Middle Name'
    ||chr(9)
    ||'Last Name'
    ||chr(9)
    ||'Brokerage Account'
    ||chr(9)
    ||'Exercise Date'
    ||chr(9)
    ||'Exercise Type'
    ||chr(9)
    ||'Options Exercised'
    ||chr(9)
    ||'Grant Price'
    ||chr(9)
    ||'Shares Sold'
    ||chr(9)
    ||'Shares Swapped'
    ||chr(9)
    ||'Exercise Price'
    ||chr(9)
    ||'Cost to Exercise'
    ||chr(9)
    ||'Sale Proceeds'
    ||chr(9)
    ||'Commission'
    ||chr(9)
    ||'Total Fees'
    ||chr(9)
    ||'Total Tax'
    ||chr(9)
    ||'Multi Currency Fee'
    ||chr(9)
    ||'Net Proceeds'
    ||chr(9)
    ||'ML Currency Code'
    ||chr(9)
    ||'Foreign Currency Code'
    ||chr(9)
    ||'Distribution Method'
    ||chr(9)
    ||'User ID'
    ||chr(9)
    ||'Grant Type'
    ||chr(9)
    ||'Plan no'
    ||chr(9)
    ||'Source'
    ||chr(9)
    ||'Plan type'
    ||chr(9)
    ||'Exercise Num'
    UTL_FILE.PUT_LINE (file_out_midas, v_midas_str);
    v_is_firstline := FALSE;
    END IF;
    v_midas_str :=
    (v_exercise.corp_name
    ||chr(9)
    ||v_exercise.soc_sec
    ||chr(9)
    ||v_exercise.name_first
    ||chr(9)
    ||v_exercise.name_mi
    ||chr(9)
    ||v_exercise.name_last
    ||chr(9)
    ||v_exercise.ml_retail_account
    ||chr(9)
    ||v_exercise.exer_dt
    ||chr(9)
    ||v_exercise.exer_type
    ||chr(9)
    ||v_exercise.opts_exer
    ||chr(9)
    ||v_exercise.opt_prc
    ||chr(9)
    ||v_exercise.shrs_sold
    ||chr(9)
    ||v_exercise.shrs_swap
    ||chr(9)
    ||v_exercise.Mkt_Prc
    ||chr(9)
    ||v_exercise.exer_prc
    ||chr(9)
    ||v_exercise.shrs_prc
    ||chr(9)
    ||v_exercise.comm_value
    ||chr(9)
    ||v_exercise.tot_fee
    ||chr(9)
    ||v_exercise.tot_tax
    ||chr(9)
    ||v_exercise.multi_fee
    ||chr(9)
    ||v_exercise.Net_proceeds
    ||chr(9)
    ||v_exercise.ml_currency_code
    ||chr(9)
    ||v_exercise.Foreign_Currency_Code
    ||chr(9)
    ||v_exercise.Distribution_Method
    ||chr(9)
    ||v_exercise.user_id
    ||chr(9)
    ||v_exercise.grant_type
    ||chr(9)
    ||v_exercise.plan_no
    ||chr(9)
    ||v_exercise.source
    ||chr(9)
    ||v_exercise.plan_type
    ||chr(9)
    ||v_exercise.exer_num);
    UTL_FILE.PUT_LINE (file_out_midas, v_midas_str);
    END IF;
    END LOOP;
    pr_batch_feed_errors (p_logfile,
    'Created exercise feed for User'
    || p_userid);
    -- close Midas and Portrait file
    UTL_FILE.FCLOSE (file_out_portrait);
    UTL_FILE.FCLOSE (file_out_midas);
    EXCEPTION
    WHEN OTHERS
    THEN
    pr_batch_feed_errors
    ( p_logfile,
    'Critical Error! Code '
    || SQLCODE
    || ':'
    || SQLERRM
    || ' at '
    || USER
    || 'pk_xop_batch_feeds.pr_exercise'
    END pr_exercise;

    Hi,
    Please read SQL and PL/SQL FAQ
    If you have a performance issue have a look at SQL and PL/SQL FAQ
    Additionally when you put some code or output please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    SELECT ...
    {noformat}{noformat}
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Business Partner not created via MDS_LOAD_COCKPIT

    Hi,
    I have a question. It seems to our customer are not being replicated when I run the Sync Cockpit.
    I have checked all config:
    Config for BP<-> Cust
    Number ranges, groupings, roles, PPO active, Cust integration etc. It all seems the same in the config client. We had some Master data in the config client and i tried it there and i works but in my unit testing client it seems not to work.
    I am not getting a message anymore in MDS_PPO2 so i am kinda lost.
    Any ideas where i can check. I looked on this forum and don't find a similar issue.
    Thanks,
    Richard

    hi
    i have a big problem during using mds_load_cockpit
    when i click on product category->material group and un select backround proccess and execute the transaction i have terminated in program
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           SAPLMDS_LOAD_BRIDGES
    Application Component  AP-MD-BF-SYN
    Date and Time          10.06.2014 09:39:47
    Short text
         The current application triggered a termination with a short dump.
    What happened?
         The current application program detected a situation which really
         should not occur. Therefore, a termination with a short dump was
         triggered on purpose by the key word MESSAGE (type X).
    Error analysis
         Short text of error message:
         Long text of error message:
         Technical information about the message:
         Message class....... "MSI_PRODCAT_CUST"
         Number.............. 303
         Variable 1.......... 1
         Variable 2.......... 432339
         Variable 3.......... " "
         Variable 4.......... " "

  • Field DLN1.OpenCreQty not disposable via DI API

    Hello,
    I don't find the field in the subject.
    Isn'it present or does it have another name?
    I have to obtain only the Open Qty net from Return.
    How is it possible?
    Thank you
    Andy

    Maybe check here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c5f5dbcc-0a01-0010-5d82-f25f2bee715e
    HTH,
    Frank

  • Error creating accounting document for a credit note

    Hi All,
    I am facing an issue while creating an accounting document for the credit note created.
    The scenario is as follows:
    Created a credit memo --> created credit note --> create accounting document
    While creating accounting document, i'm getting an error message as 'The G/L account XXXXXXXX requires an assignement to CO object'.
    Please let me know why i'm getting this error and how to overcome this issue.
    Thanks,
    Anil Kumar

    While creating accounting document,
      i'm getting an error message
    First of all, I am not clear on your above statement as in normal circumstances, once you generate a credit memo, in bacground an accounting document will also be generated.
    In your case, I believe while saving the credit memo, system throws the error to maintain CO object in which case, do the following:-
    Go to TCode KA02 enter the controlling area, give the G/L acoount No and click on Master data tab.  There  select  "Default Acc Assgmnt" tab  and enter Cost centr and save.
    Next Go to FS00, input the G/L Account and click on Edit Cost Element on top.  There click on Basic Data and for the field CElem category, maintain the required numeric value.  Now select the tab Default Acct Assgnmt and there maintain the required cost center and save.
    thanks
    G. Lakshmipathi

  • 2007A PL8 UOMs are missing when creating a document via DI-API

    If a document is created via DI-API the UOMs are missing.
    The behavior till PL8 was that UOMs were taken from the item master when creating a new document.
    Regards

    This is a confirmed Bug. The DI-Api always uses the Inventory UoM. As work around you have to put the Sales UoM into the Inventory UoM.
    I hope they we will fix this soon.
    Regards

  • How to determine host status in a task via python api

    Hello all,
    using the python api I am having some issues trying to determine the status of a host within a task. For example I have a job, with one task and 10 hosts associated with that task. Eight hosts finish the task, 2 fail. However via the api I can only seem to determine the status of the job and the task. What I want is to be able to generate a report that basically matches what you see via the gui (ie 8 hosts ok, 2 hosts failed). The data structure OnStageTaskData gives me a status and a list of hosts, but not a status for each host. (Note I am not using any of the depricated functions/data structures). Currently my code looks like (minus the api init, etc)...
    # list all the jobs for last week
    joblist = api.GetJobs()
    for job in joblist:
    # if the job occured in the last week
    if job.c_time > reportstarttime:
    print "\nJob name %s Time %s " %(job.name, time.ctime(job.c_time))
    try:
    jobdetails = api.GetOnStageJob(job.id)
    except COsApiJobNotFoundException:
    print "Can't find job %s details" %job.name
    continue
    for tasks in jobdetails.job_data.tasks:
    for hostid in tasks.task_data.target:
    try:
    hostinfo = api.GetHostGroup(hostid)
    except OsApiHostNotFoundException:
    print "Can't find host details %s" %tasks.task_data.name
    print "Hostname %s Status %s" %(hostinfo.name, tasks.status)
    which generates output like...
    Job name chg233146-sol9 Time Sun Jan 13 10:31:42 2008
    Hostname tacnomsrv02 Status Failed
    Hostname tacpthsrv01 Status Failed
    anyone have another way to doing this or suggestions? Or is this kind of info not available via the api? Thank you.

    Hi ConnectSolutions,
    As you correctly pointed out, there is some bug in our code
    that keeps the room active and you dont receive any events or
    notification if you are entering as guest and waiting and the host
    arrives. Also, since you havent entered yet i.e your role is still
    5 i.e. UserRoles.LOBBY , you can't access any of the UserManager's
    collections and will get a length of 0 always. We will be fixing
    this with priority .
    But you can get around the problem as of now, by having a
    small shared model of yours ( any collectionNode or sharedModel
    will do) where you create a node and publish a message on it from
    the Owner's side whenever the owner/host enters to notify everyone
    that he has entered. Just remember to set the accessmodel of
    NodeConfiguration of node on which you are publishing to LOBBY ie.
    role = 5 , and make the publishModel = 100 so that only owners can
    publish on this node. In this way , any users waiting will be
    receiving this message and will know the host has arrived. If you
    can't get this sharedModel concept to work, let me know. I will try
    to run on my side.
    And as of our side regarding actual fix, we will fix this use
    case and put in the next drop of SDK and also update in forum about
    it.
    On the host side though, he is always notified when he enters
    if there are pending users knocking to enter. See the KnockingQueue
    example in case you want to explore that.
    Thanks
    Hironmay Basu

  • Interface tables for credit note in receivables

    Hi all,
    I need to understand the tables structure of the interface tables and necessary column and their meaning to put credit note
    automatically. I want to put some necessary information and my gl and credit note create automatically.
    Thanks

    Did you check eTRM website? -- http://etrm.oracle.com/
    Thanks,
    Hussein

  • Invoice Cancell after Credit note creation ?

    Hi
    If credit note creates with ref to Invoice system should not allow to cancell the invoice?
    How to control this?
    Plz guide me
    Regards
    rajendra

    Kentish,
    If the items coming back are good and if you want them back into stock, then create a Return ..select you Customer and items and enter the price you want to issue the Credit for.
    Copy the Return to A/R Credit Memo and the value you have on the document is the value the credit will be issued for.
    Suda

Maybe you are looking for

  • Are Photoshop's 3D features available with the Single-app subscription?

    Hello, I'm a bit confused about how I get the equivalent of "Photoshop Extended" in the subscription world. I've had the PS subscription for a while but I don't think any of the 3D features were included. Now I need to get started with matte painting

  • How to downlaod pdf documents from the email

    while opening emails in mozilla firefox- i am uanble to download pdf files- kindly help

  • Norwegian Currency Validation using NumberFormat

    Hi, I have to validate a value which will be in a Norwegian Currency. So, I use the NumberFormat class like this: String noValue = "300,50"; NumberFormat formatter = NumberFormat.getCurrencyInstance(new Locale("no", "NO")); After this one, I have to

  • Forecast plan

    Hello, Am new to IP i have a small requirement which am not able to undertsand how to do in IP. Almost all fields are coming from Finance only one field ( forecast value) i need to get from IP. how to design this requirement . Forecast value logic :

  • Cisco 877W Dual SSID/VLAN Security Issue

    Hi All I have an issue with my 877W that is as fascinating as it is frustrating. I have two SSIDs/VLANs, one for trusted LAN users (PRIVATE), and one for guests (GUEST).  The PRIVATE network is secured from the GUEST nework by zone based firewall. Ev