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.

Similar Messages

  • 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.......... " "

  • CUSTOMER_REL - Business partner not created; duplicate check on address

    Hello Colleagues
    I have a problem during CUSTOMER_REL replication from ERP to CRM.
    In r3am1 object looks fine but in some BDoc following error appears:
    Assignment person - address exists already
    Message no. AM038
    and the Business Partner for Contact Person is not created.
    We are on:
    SAP_ABA     701     0005     SAPKA70105     Cross-Application Component
    SAP_BASIS     701     0005     SAPKB70105     SAP Basis Component
    PI_BASIS     701     0005     SAPK-70105INPIBASIS     Basis Plug-In
    ST-PI     2008_1_700     0001     SAPKITLRD1          SAP Solution Tools Plug-In
    SAP_BS_FND701     0005     SAPK-70105INSAPBSFND     SAP Business Suite Foundation
    SAP_BW     701     0005     SAPKW70105     SAP Business Warehouse
    SAP_AP     700     0018     SAPKNA7018     SAP Application Platform
    WEBCUIF     00     0005     SAPK-70005INWEBCUIF     SAP WEBCUIF 700
    BBPCRM     700     0005     SAPKU70005     BBPCRM
    BP-CRM70     700V1     0000               SAP Best Practices for CRM 7.0
    BP-INSTASS     600V7     0000               SAP Best Practices Solution Builder
    ST-A/PI     01L_CRM5700000               Application Servicetools for CRM 500 51
    And have already applied
    1394635
    1396910
    1397895
    1410788
    1438046
    But it is seems problem lies on SAP_ABA as I have found note
    1092089 - Business partner not created; duplicate check on address
    which is valid for different BP role and
    SAP_ABA 700
    SAP_ABA 710 but not for our 701
    Have you ever seen similar issue?
    Thanks in advance
    Michal

    Hi Naresh,
    Thanks for reply. Correction instructions from this note refer to METHOD MODIFY_CONP_ADDRES which doesn't exist in crm7.0.
    I can see in CRM that contact person is replicated and is present in BUT000 but table BUT052 is empty for this contact.
    What is more we have implemented in our CRM note 564538  To change Contact Persons grouping replicated from ECC to CRM.
    But also have: Note 757955 - Incompatible change concerning CRMC_BUT_CALL_FU.
    We checked as well
    Note 609766 - Correction of BP GUIDS in CRMM_BUT_CUSTNO, BUT000, CRMKUNNR
    Note 836353 and run reports to find inconsistencies in tables BUT052, BUT051, ADCP and ADRVP. However no inconsistencies were found.
    Thanks in advance if you have any other idea.
    Cheers,
    Michal

  • JCO.server could not create server function - IDOC_INBOUND_ASYNCHRONOUS

    Hello all.
    On this platform I have found some threads for the above error we get, but unfortunately the solution was not described in detail.
    We get this error in sending Idocs from a SAP 4.7 system to our Business Connector.
    Complete error info is :
    com.sap.mw.jco.JCO$Exception: (120) JCO_: JCO.Server could not create server function 'ä¥u201Eä½u0192å½u2030ä¹u201Aä½u2022ä¹u201E彁åu2122ä¹u0192ä¡u2019'
    com.sap.mw.jco.JCO$Exception: (123) JCO_: Server repository could not create function template 'ä¥u201Eä½u0192å½u2030ä¹u201Aä½u2022ä¹u201E彁åu2122ä¹u0192ä¡u2019' caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM GWHOST=CPAAQAT.US.CPO.COM, GWSERV=sapgw01, ASHOST=CPAAQAT.US.CPO.COM, SYSNR=01 LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host 172.20.12.65, service 3301) TIME Fri Jul 15 10:35:58 2011 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODU
    Typically the message gets rolled-back and no sender, receiver or message info in visable in the transaction list.
    Transaction List
    Date    TID    Sender    Receiver    Msg Type    State   Delete
    2011-07-14 08:00:19 BST  AC140C4150524E1E92E80002     Rolled back   
    Who can help us.
    Thanks in advance.
    Marcel

    Hi,
    ä¥u201Eä½u0192å½u2030ä¹u201Aä½u2022ä¹u201E彁åu2122ä¹u0192ä¡
    looks like a character encoding error. Did you check the Unicode, code page at the RFC destination, and related SAP notes?
    Sandra

  • Business partner not created when User is intergrated in SRM org Structure

    Hi SRM gurus,
    A new users  in integrated into the SRM org structure thro Z tcode ,business partner is not created.
    the user is not able to create shopping cart.
    When we try to check for t.code:BBP_BP_OM_INTEGRATE we are getting this error"
    Connection of object us XXXXXX to object u2018CPu2019 is not unique"
    how to resolve this error.
    Regards
    G.Ganesh kumar

    Hi  all,
    1) I  have checked the SLG1 -No error log is found
    2) In the basic tab there is no details to enter.
    I am getting this error"Missing Authorisation : info type 1001 ,object type BP,Subtype A207".
    since it is Production system -can we run run PFAL directly
    G.Ganesh Kumar

  • Business Partner not created

    I'm sending a message from XI to CRM using the proxy "ABABusinessPartnerIn".
    There are no error messages . However the Business Partner is not created.
    How do I troubleshoot this issue ?

    Manoj,
    In CRM execute SPROXY,  and select your interface.  Under menu item PROXY->Test Interface, you'll be able to execute the proxy interface in debug mode.  You'll need to download your message payload to test with.  Also, there's a how-to guide "How to debug XI applications" available on the SDN at this link https://www.sdn.sap.com/irj/sdn/howtoguides?rid=/webcontent/uuid/dd0326a7-0d01-0010-f690-b94802b06c8a. [original link is broken]
    Leo

  • 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.

  • Business partner not created in FSCM

    Hi,
    I have a problem where in creating customer master data in FI creates a business partner in FSCM for all the payers except in the case when partner functions(sold-to, ship-to) on the sales area tab of the customer master record are populated. I do not know why this is the case - why would partner function fields on the customer master record break the automatic creation of business partner in FSCM?
    Helpful answers would be rewarded.

    Hi
    We dont have any problem by entering the Industry field in the customer master for the creation of the business parter for FSCM.   May be you need to check what are the parameters that will be passed on for creating a business partner from the customer master.
    Thanks
    Ashok

  • Can not create planning function types (for process empty records)

    Hi! SAP Experts,
         I want to copy 0RSPL_FORMULA to another function types for processing empty records, ZRSPL_FORMULA. I checked this function type via RSPLAN, there is no error!.   But when i try to use it in planning modeler. We found the error message "Infoobject 1FORMULA is does not available in version A". Do we need to create this infoobject?... Anyone know, please let me know.
    Thanks,
    Sake

    Hi!,
    Thanks for your help but I've already put that parameter,HIDDENFORMULAVARTAB->1FORMULA, in my planning function, ZRSPL_FORMULA. I validated it and no error found. But when I go to planning modeler, in web browser, and try to create a new planning function based on ZRSPL_FORMULA. I found the problem as I mention in previous message, "infoobject 1FORMULA is not available in version A". I try to search this infoobject in my system. The result is there is no this infoobject in my system. So, my question is do i need to create it with myself? What kind of infoobject i have to create? Key Figures or Characteristics?
    Anyway, If I have to do this, why 0RSPL_FORMULA still used as normal.
    Brgds,
    Sake

  • 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

  • Business partner not created in SRM in  HR-SRM  integration

    Hi All,
    We are setting up SRM HR integration set up with ALE idocs message type.
    I ve done configuration as per guide available in SAP.Setting up parnter profiles,maintaining message types in both the systems ,mainyaining entries in tavle T77S0 for HRALX , maintaining filters in distribution model in BD64. When I start replicating the data using PFAL in R/3 ,the idocs triggered are green in both R/3 and SRM for org units ,Postions and also Persons.
    Still i dont see BP created for most of the employees.Only few are getting craeted.When I check the log in SLG1 it says Marital status could not be converted.
    I maintained all entries as per the entries available in R/3 in SPRO-Cross application components- SAP Business Partner-Business partners-Natural Persons-Maintain Marital status . Still i rceive the same error in SLG1 and BP is not getting craeted with idoc in green in SRM.
    CAn any one please help.
    Thanks in advance,
    Sheetal

    Hi
    On SRM side using WE05 transaction see the failed IDOC's to get the complete details of the error. As you are saying that some of the users are successfully replicated issue may be on the ECC side HR info type relation ship missing. Ask your HR team to check the same.
    On ECC side check table HRP1001 to see the difference between the successully replcaited users and one which failed.
    with regards
    Manjunath

  • Acorbat Professional can not create fully functional pdf?

    This was working fine for months, until i just installed an update and now the "save as pdf" button in word 07 does not do anything (after i select i want to do a fully functional pdf). When i open professional and try and create a pdf by browsing to the word file, it says it has failed "PDF Convsersion process failed, please correct the error and retry", the message then disappears and nothing happens? The quick and simple pdf seems to work when i do it from word 07.
    I have Vista, anyone have a solution?
    O and i tried to repair it etc nothing worked.
    Word 2007, Adobe Professional 8.1.4 and Windows Vista.

    Did you try the print options I mentioned. You need to trouble shoot at the base level of the PDF creation and work your way up until the problem is found. That is why I asked about using the printer. PDF Maker (create PDF) is just a front end for the printer, thus the printer is the basic operation. Using the print-to-file just takes one more part of the process out of the picture to get to the most fundamental process. Work your way backward until things do not work and then we can possibly solve the issue.

  • 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 in PPOMA_BBP

    Hi this is for a new implementation where we are trying to Setup IDES for the initial training... The problem is - system is not showing any BP for the objects in the Org Structure. Tried running BBP_BP_OM_INTEGRATE too but no results. There is no descrepancy with the Area Code or Postal Code as well...
    Can anyone pls suggest what else to check.
    Regards
    --Vikas

    Hi,
    Please enter only these field in the ADDRESS TAB of SRM Org Structure, for getting BP.
    1) Sub Type.
    2) City.
    3) Country.
    4) Region.
    It will work.
    All the best.
    Please award the points if it helps.
    BR,
    Vijay Mittal

  • Adobe form is not displayed via function module

    Hi to all,
    I have written a function module.
    Import parameter: ADOBEFORM_NAME type FPNAME.
    DATA: fm_name           TYPE rs38l_fnam,     
          fp_docparams      TYPE sfpdocparams,   
          fp_outputparams   TYPE sfpoutputparams.
    CALL FUNCTION 'FP_JOB_OPEN'                  
      CHANGING
        ie_outputparams = fp_outputparams
      EXCEPTIONS
        Cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        OTHERS          = 5
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'          
      EXPORTING
        i_name     = ADOBEFORM_NAME
      IMPORTING
        e_funcname = fm_name.
    CALL FUNCTION fm_name
      EXPORTING
        /1bcdwb/docparams        = fp_docparams
       IMPORTING
        /1BCDWB/FORMOUTPUT       = fp_outputparams
      EXCEPTIONS
        usage_error           = 1
        system_error          = 2
        internal_error           = 3.
    CALL FUNCTION 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      EXCEPTIONS
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        OTHERS               = 4.
    it will execute LP01 , but didnt display adobe form.
    Please can any one tell me the problem in the code.
    I shall be thankful to you for this.
    Regards
    Pavneet Rana

    Thanks for Reply.
    Yes i have done it still there is no display of adobe from.
    DATA: fm_name           TYPE rs38l_fnam,
          fp_docparams      TYPE sfpdocparams,
          fp_outputparams   TYPE sfpoutputparams.
    fp_docparams-langu   = 'E'.
    fp_docparams-country = 'US'.
    fp_docparams-FILLABLE = 'X'.
    fp_outputparams-PREVIEW = 'X'.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams       = FP_OUTPUTPARAMS
    EXCEPTIONS
       CANCEL                = 1
       USAGE_ERROR           = 2
       SYSTEM_ERROR          = 3
       INTERNAL_ERROR        = 4
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name                     = ADOBEFORM_NAME
    IMPORTING
       E_FUNCNAME                 = fm_name.
      E_INTERFACE_TYPE           = E_INTERFACE_TYPE
    CALL FUNCTION fm_name
      EXPORTING
        /1bcdwb/docparams        = fp_docparams
      IMPORTING
        /1BCDWB/FORMOUTPUT       = fp_outputparams
      EXCEPTIONS
        usage_error           = 1
        system_error          = 2
        internal_error           = 3.
    CALL FUNCTION 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      EXCEPTIONS
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        OTHERS               = 4.
    Please can any one tell me the solution for that.
    I shall be thankful to you for that.
    Regards
    Pavneet Rana

Maybe you are looking for

  • Can i use my G5 drive in the Mac Pro?

    Hi. I have a 2005 G5 with a western digital serial ata drive with all my audio on it. I also have an airport card which id like to put in the mac pro. Can i put them in my new mac pro which i should get in the next few days? Im not sure if there is a

  • Extended Withholding Tax - 1099 listings

    Hi Folks, We are not able to get the output data for S_ALR_87012143 (1099 Listings) when extended withholding tax is configured. This transaction works fine for classic withholding tax. We also have no problem with 1099-MISC for EWT. Is there any pro

  • Mapping between  a nodes 0..2 and a node 0..1

    Hi, i need to do a mapping between MT_PRICE PRICE (element 0..2)   CURRENCY (attribute)    AMOUNT      (attribute) T YPE           (attribute) for example MT_PRICE <PRICE CURRENCY="EUR" TYPE="NET">35.50 </PRICE> <PRICE CURRENCY="EUR" TYPE="NET" AMOUN

  • Cross Project Linking

    I am familiar with creating a Master Plan and linking milestones between sub projects and the master plan but can a single Project Manager create a link to another project plan without creating a master plan shell to facilitate the actions required? 

  • Purge dba_recyclebin

    All, My oracle version : 11.2.0.2 Can someone help me to fix this sql ? I'm doing mistake at converting date function and trying to make a count of dropped objects before purge older than 15 days. SQL> select count(*) from   dba_recyclebin where to_d