Getting GL Code combination description

Hi All,
we have xla_oa_functions_pkg.get_ccid_description in R12 for getting the description of code combination.
can anyone let me know its counter part in 11i version..
Thanks in advance..

See http://ashokkumartj.blogspot.com/2011/02/key-flex-field-structures-table-details.html for useful queries for KFF

Similar Messages

  • Problem Getting Error Code and Description in Alerts

    We are having trouble getting the Error code and Error description in the Alerts and we're having trouble getting a alert for message mapping exceptions.  I have read through the BLOGs and the help on SAP.  I'm not sure it is something to do with the configuration or SP14.  We did not have these problems with SP12 at our other customer XI implementations.
    Background -
    We have setup an "XI Alert" classification with three Alert categories -"XI_Mapping_Error", "XI_Adapter_Error", "XI_Runtime_Error". 
    For the "XI_Mapping_Error" alert category, we have setup a rule so that any Integration Engine Application Mapping.* Error code will create an alert.  However, when we have a mapping error in XI which we can see in MONI, we do not get an alert.  The checkbox for "Suppress Multiple Alerts of this Rule" is not selected.  I am not sure why we're not getting the alert.
    For the "XI_Adapter_Error" alert category, we have setup a rule so that any Adapter Engine * adapter type will create an alert.  The alert gets created - however, some of the container variables do not get poulated in the email.  We have defined Container variables pointing to the corresponding ABAP data dictionary elements - i have double checked these definitions.
    Here is an alert email - the Error Code (SXMS_ERROR_CODE -  SXMSERRTX) and Error Category (SXMS_ERROR_CAT - SXMSERRCAT) are not being extracted:
    Alert ID: ##23896##
    Error Code =
    Error Category =
    Message ID = 1506eab0-6125-11da-9ba2-00505685 Time = 14:26:12 Date = 29.11.2005
    Sender Party =
    Sender Service = BS_CPI
    Sender Interface = MI_CPI_INV_RFC_REQ_ABS
    Receiver Party =
    Receiver Service = BS_CPI
    Receiver Interface =
    We are not able to figure out why the Alert framework is not working correctly.  We are running XI 3.0 SP 14 on Win2K, SQL 2000.
    Anyone encounter these problems?  Any help would be appreciated.
    Regards,
    Jay Malla

    >> There are some problems with SP 14 and the alert framework.
    Very true! Join the team!
    >> We applied Note 876546 which triggered certain alerts that were not getting triggered. However, we're not getting the Error code and Error Description in some of the alerts.
    Jay, This note is specifically for a situation where the 'where did the error occur' set to No Restriction. I don't think anything else is included in this fix .01 to patch 0.9 of SPS 12 of XI 3.0!!!
    My problem is that even the messageID variable is not getting replaced!!! In SP12 everything was perfect. After SP14, the errors are coming almost instantaneously to the inbox, but without any variable replacement.
    Best of luck,
    Kannan

  • To get code combination in transaction screen -AR

    hi all
    i am using r12
    in AR super user -transactions-in the transactions screen -when it is queried say 10000086 in the field Number
    when distributions tab is clicked we get to see a field named GL account eg 701-100001-1000-0101-1220001-000000-0000-0000
    when i see record history for Transactions screen it says RA_CUSTOMER_TRX_PARTIAL_V
    when i see record  history for gl account   RA_CUST_TRX_LINE_GL_DIST_V  but i don't see the code combinations
    how to join RA_CUSTOMER_TRX_PARTIAL_V and RA_CUST_TRX_LINE_GL_DIST_V
    i did join with customer_trx_id but it gives more number of rows
    kindly guide
    thanking in advance

    Do you want sql script to find GL Code Combinations for a AR transaction?
    If yes, following is the query.
    select rcta.trx_number, gcck.concatenated_segments
    from ra_customer_trx_all rcta, ra_customer_trx_lines_all rctla, RA_CUST_TRX_LINE_GL_DIST rctlgd, gl_code_combinations_kfv gcck
    where rcta.trx_number = '<Give your AR Invoice>'
    and rcta.customer_trx_id = rctla.customer_trx_id
    and rctla.customer_trx_line_id = rctlgd.customer_trx_line_id
    and rctlgd.code_combination_id = gcck.code_combination_id;
    If you are looking for something else, please be clear
    Regards,
    Srini

  • Gl code combination segments description

    Hi all
    i am feeling very difficulty to retrieve the gl code combination segments description. Can any one help on this by giving the query
    Advance Thanks

    See http://ashokkumartj.blogspot.com/2011/02/key-flex-field-structures-table-details.html for useful queries for KFF

  • How to get Code Combination Range (Account Range From - Account Range To)

    Hi,
    I have a requirement that I need to get the range of code of combinations based on the parameter (Account Range From & Account Range To) in the query. Please could anyone help how to fetch this value based on the parameter.
    Account Range From (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    Account Range To (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    These is the example of value which I will be getting on the Accounting Range From and Accounting Range. Based on this account range, I need to pull records from the GL_CODE_COMBINATIONS table. Any help on this plz?
    Thanks,
    Geno

    I would not use the code_combination_id. That code_combinaition_id is incremented by one for each new account, so unless you happened to create all your accounts in the right sequential order (not likely), then you cannot do a range of FROM code id a TO code id b. Do an SQL against the code combinations table and sort on the segments columns and take a look at the code combination id on each row, and I think you will see that they jump around quite a bit. I think you can only rely on using the segment columns values for doing an account range.
    John Dickey

  • GL Code Combination from GL_SUBR_LED table using ACCT_ID and ACCTNG_UNIT_ID

    Hi Gurus,
    Is there anyway that I can get the GL Code Combination ID from GL_SUBR_LED for OPM Transaction by using the ACCT_ID and ACCTNG_UNIT_ID. It is very urgent.
    Please help me on this.
    Thanks,
    Genoo

    Yes, one parameter per segment. As I explained earlier, I'm currently doing it just fine using 3 separate queries, but it seems highly inefficient.
    Here is what I'm doing [but wanting to create a view]:
    Parameter 1: Company segment1
    Parameter 2: GL Account segment2
    Perameter 3: Dept (cost center) segment3
    So I was thinking the view should look something like [each are columns]:
    co_value | co_descr | gl_acct_value | gl_acct_descr | dep_value | dep_descr
    I did something like this yesterday---but that's definitely not what I want.
    (SELECT     fvt.flex_value_meaning, ffv.flex_value
         FROM     apps.fnd_flex_values_tl fvt, apps.fnd_flex_values ffv
    WHERE          ffv.flex_value_id = fvt.flex_value_id
                   AND ffv.flex_value_set_id = y
                   AND ffv.enabled_flag = 'Y')
    UNION ALL
    (SELECT     fvt.description, ffv.flex_value
         FROM     apps.fnd_flex_values_tl fvt, apps.fnd_flex_values ffv
    WHERE          ffv.flex_value_id = fvt.flex_value_id
                   AND ffv.flex_value_set_id = x
                   AND ffv.enabled_flag = 'Y')
    Edited by: Akatsuki on Aug 31, 2010 1:46 PM
    Edited by: Akatsuki on Aug 31, 2010 2:00 PM

  • Unable to get Material No and Description from VBAP

    Hi Gurus
    Can anyone please help me to get material number and description from vbap table, The report is fine but I am unable to get material no and description.
    regards
    report ZCHGDOC_BY_SALES no standard page heading
                              line-size 132.
    type-pools:
      slis.                     " ALV types
    Tables
    tables:
      cdhdr,                    " Change documents: Header
      cdpos,                    " Change documents: Items
      vbak,                     " Sales order: Header
      mara,                     " Material No
      user_addr,                 " User Address
      vbap.                     " Contract order: Items
    Types
    types:
      begin of ty_cdhdr,
        objectclas like cdhdr-objectclas,     " Object class
        objectid   like cdhdr-objectid,       " Object value
        changenr   like cdhdr-changenr,       " Document change number
        username   like cdhdr-username,       " Changed by
        udate      like cdhdr-udate,          " Changed on
        utime      like cdhdr-utime,          " Changed at
        tcode      like cdhdr-tcode,          " Transaction code
      end of ty_cdhdr,
      ty_it_cdhdr type ty_cdhdr occurs 0,
      begin of ty_cdpos,
        objectclas like cdpos-objectclas,     " Object class
        objectid   like cdpos-objectid,       " Object value
        changenr   like cdpos-changenr,       " Document change number
        tabname    like cdpos-tabname,        " Table name
        tabkey     like cdpos-tabkey,         " Table key
        fname      like cdpos-fname,          " Field name
        chngind    like cdpos-chngind,        " Change indicator
        value_new  like cdpos-value_new,      " New value of field
        value_old  like cdpos-value_old,      " Old value of field
      end of ty_cdpos,
      ty_it_cdpos type ty_cdpos occurs 0,
      begin of ty_dd03l,
        tabname   like dd03l-tabname,
        fieldname like dd03l-fieldname,
        as4local  like dd03l-as4local,
        as4vers   like dd03l-as4vers,
        rollname  like dd03l-rollname,
      end of ty_dd03l,
      ty_it_dd03l type ty_dd03l occurs 0,
      begin of ty_dd04t,
        rollname   like dd04t-rollname,
        ddlanguage like dd04t-ddlanguage,
        as4local   like dd04t-as4local,
        as4vers    like dd04t-as4vers,
        scrtext_l  like dd04t-scrtext_l,
      end of ty_dd04t,
      ty_it_dd04t type ty_dd04t occurs 0,
      begin of ty_kna1,
        kunnr like kna1-kunnr,                 " Customer number
        name1 like kna1-name1,                 " Customer name
      end of ty_kna1,
      ty_it_kna1 type ty_kna1 occurs 0,
       begin of ty_user_addr,
        bname    like user_addr-bname,              " user no
        name_textc like user_addr-name_textc ,      " Username
      end of ty_user_addr,
      ty_it_user_addr type ty_user_addr occurs 0,
      begin of ty_vbap,
        matnr     like vbap-matnr,             " Material No
        arktx     like vbap-arktx,             " Production Description
      end of ty_vbap,
      ty_it_vbap type ty_vbap occurs 0,
      ty_text(500) type c,
      ty_lines type tline,
      ty_it_lines type ty_lines occurs 0,
      begin of ty_merged,
        vbeln     like vbak-vbeln,            " Sales order number
        erdat     like vbak-erdat,            " Created on
        auart     like vbak-auart,            " Order type
        faksk     like vbak-faksk,            " Billing block in SD document
        netwr     like vbak-netwr,            " Net value
        waerk     like vbak-waerk,            " Currency
        vkorg     like vbak-vkorg,            " Sales organisation
        vtweg     like vbak-vtweg,            " Distribution channel
        vkbur     like vbak-vkbur,            " Sales office
        fkara     like vbak-fkara,            " Proposed billing type
        kunnr     like vbak-kunnr,            " Sold-to party
        bname     like vbak-bname ,           " User No
        xblnr     like vbak-xblnr,            " Reference
        fbuda     like vbkd-fbuda,            " Date services rendered
        username  like cdhdr-username,        " Changed by
        udate     like cdhdr-udate,           " Changed on
        utime     like cdhdr-utime,           " Changed at
        tcode     like cdhdr-tcode,           " Transaction code
        tabname   like cdpos-tabname,         " Table name
        tabkey    like cdpos-tabkey,          " Table key
        fname     like cdpos-fname,           " Field name
        chngind   like cdpos-chngind,         " Change indicator
        value_new like cdpos-value_new,       " New value of field
        value_old like cdpos-value_old,       " Old value of field
        scrtext_l like dd04t-scrtext_l,       " Description of field
        intnote   type ty_text,               " Internal note
        hdrnote   type ty_text,               " Header note
        name1     like adrc-name1,            " Sold-to party name
        matnr     like vbap-matnr,            " Material No
        arktx     like vbap-arktx,            " Product Description
      end of ty_merged,
      ty_it_merged type ty_merged occurs 0,
      begin of ty_vbak,
        vbeln    like vbak-vbeln,             " Sales order number
        erdat    like vbak-erdat,             " Created on
        auart    like vbak-auart,             " Order type
        faksk    like vbak-faksk,             " Billing block in SD document
        netwr    like vbak-netwr,             " Net value
        waerk    like vbak-waerk,             " Currency
        vkorg    like vbak-vkorg,             " Sales organisation
        vtweg    like vbak-vtweg,             " Distribution channel
        vkbur    like vbak-vkbur,             " Sales office
        fkara    like vbak-fkara,             " Proposed billing type
        kunnr    like vbak-kunnr,             " Sold-to party
        xblnr    like vbak-xblnr,             " Reference
        objectid like cdhdr-objectid,         " Change document object
      end of ty_vbak,
      ty_it_vbak type ty_vbak occurs 0,
      begin of ty_vbkd,
        vbeln like vbkd-vbeln,                " Sales order number
        posnr like vbkd-posnr,                " Sales order item
        fbuda like vbkd-fbuda,                " Date services rendered
      end of ty_vbkd,
      ty_it_vbkd type ty_vbkd occurs 0.
    Internal tables
    data:
      it_cdhdr    type ty_it_cdhdr,
      it_cdpos    type ty_it_cdpos,
      it_fieldcat type slis_t_fieldcat_alv,
      it_kna1     type ty_it_kna1,
      it_user_addr type ty_it_user_addr,
      it_merged   type ty_it_merged,
      it_vbak     type ty_it_vbak,
    Material No
      it_vbap     type ty_it_vbap,
      it_vbkd     type ty_it_vbkd.
    data:
      wa_vbak  type ty_vbak.
    data:
      st_tvariant  like disvariant,
      st_variant   like disvariant.
    constants:
      co_as4local_a           like dd03l-as4local     " Active version
                              value 'A',
      co_objectclas_verkbeleg like cdhdr-objectclas
                              value 'VERKBELEG',
      co_posnr_initial        like vbkd-posnr         " Initial item number
                              value is initial,
      co_posnr_initial_2        like vbap-posnr         " Initial item number
                              value is initial,
      co_save_u               type c                  " User display variant
                              value 'U',              " saving allowed.
      co_trvog_0              like vbak-trvog         " Sales order
                              value '0'.
    data:
      va_exit                 type c,                 " ALV display
      va_tabix                like sy-tabix.
    selection-screen: begin of block b1 with frame title text-001.
    select-options:
      s_vkorg  for vbak-vkorg OBLIGATORY,            " Sales organisation
      s_vkbur  for vbak-vkbur,            " Sales office
      s_vtweg  for vbak-vtweg,            " Distribution channel
      s_vbeln  for vbak-vbeln,            " Sales order number
      s_usrnme for cdhdr-username,        " Changed by
      s_udate  for cdhdr-udate.           " Changed on
    selection-screen: end of block b1,
                      begin of block b2 with frame title text-002.
    parameters:
      p_varint like disvariant-variant.   " Display variant.
    selection-screen: end of block b2.
    Initialization
    initialization.
    Load display variant.
      if not p_varint is initial.
        move st_variant to st_tvariant.
        move p_varint to st_tvariant-variant.
        call function 'REUSE_ALV_VARIANT_EXISTENCE'
             exporting
                  i_save     = co_save_u
             changing
                  cs_variant = st_tvariant.
        st_variant = st_tvariant.
      else.
        clear st_variant.
        st_variant-report = sy-repid.
      endif.
    at selection-screen on value-request for p_varint.
    Provide display variant list for this program.
      call function 'REUSE_ALV_VARIANT_F4'
           exporting
                is_variant = st_variant
                i_save     = co_save_u
           importing
                e_exit     = va_exit
                es_variant = st_tvariant
           exceptions
                not_found  = 2.
      if sy-subrc eq 2.
        message id sy-msgid type 'S'
                number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      else.
        if va_exit eq space.
          st_variant = st_tvariant.
          p_varint = st_tvariant-variant.
        endif.
      endif.
    At selection screen
    at selection-screen.
    Load display variant.
      if not p_varint is initial.
        move st_variant to st_tvariant.
        move p_varint to st_tvariant-variant.
        call function 'REUSE_ALV_VARIANT_EXISTENCE'
             exporting
                  i_save     = co_save_u
             changing
                  cs_variant = st_tvariant.
        st_variant = st_tvariant.
      else.
        clear st_variant.
        st_variant-report = sy-repid.
      endif.
    Start of selection
    Extract order details from VBAK
      select vbeln erdat auart faksk netwr waerk vkorg vtweg vkbur fkara
             kunnr xblnr
             from  vbak
             into  table it_vbak
             where vkorg in s_vkorg
             and   vkbur in s_vkbur
             and   vbeln in s_vbeln.
      if sy-subrc ne 0.
      No data found for selection
        message s001(zgen).
        exit.
      endif.
      loop at it_vbak into wa_vbak.
        va_tabix = sy-tabix.
        wa_vbak-objectid = wa_vbak-vbeln.
        modify it_vbak from wa_vbak
                       index va_tabix
                       transporting objectid.
      endloop.
    if sy-subrc ne 0.
      No data found for selection
       message s001(zgen).
       exit.
    endif.
    loop at it_vbak into wa_vbak.
       va_tabix = sy-tabix.
       wa_vbak-objectid = wa_vbak-vbeln.
       modify it_vbak from wa_vbak
                      index va_tabix
                      transporting objectid.
    endloop.
    Extract  Change data
      select objectclas objectid changenr username udate utime tcode
             from  cdhdr
             into  table it_cdhdr
             for   all entries in it_vbak
             where objectclas eq co_objectclas_verkbeleg
             and   objectid   eq it_vbak-objectid
             and   username   in s_usrnme
             and   udate      in s_udate.
      if sy-subrc eq 0.
        select objectclas objectid changenr tabname tabkey fname chngind
               value_new value_old
               from  cdpos
               into  table it_cdpos
               for   all entries in it_cdhdr
               where fname NE 'CMPRE_FLT'
               and objectclas eq it_cdhdr-objectclas
               and   objectid   eq it_cdhdr-objectid
               and   changenr   eq it_cdhdr-changenr.
      endif.
    Extract customer details from KNA1
      select kunnr name1
             from  kna1
             into  table it_kna1
             for   all entries in it_vbak
             where kunnr eq it_vbak-kunnr.
    ---- Changes are made here -
    Extract Material details from vbap
      select matnr arktx
             from  vbap
             into  table it_vbap
             for   all entries in it_vbak
             where
             vbeln eq it_vbak-vbeln
              and   posnr eq co_posnr_initial.
    -----------------End of Change ----------------------*
    Extract Contract No from vbkd.
      select vbeln posnr fbuda
             from  vbkd
             into  table it_vbkd
             for   all entries in it_vbak
             where vbeln eq it_vbak-vbeln
             and   posnr eq co_posnr_initial.
      perform merge_data tables it_cdhdr
                                it_cdpos
                                it_kna1
                                it_user_addr
                                it_merged
                                it_vbak
                                it_vbap
                                it_vbkd.
      if it_merged[] is initial.
        message s001(zgen).
        exit.
      endif.
    Release memory no longer required.
      free: it_cdhdr,
            it_cdpos,
            it_kna1,
            it_user_addr,
            it_vbak,
            it_vbap,
            it_vbkd.
    Build field catalog for call to report function
      perform build_field_catalog tables it_fieldcat.
    Output report.
      perform output_report tables it_fieldcat
                                   it_merged.
    *&      Form  merge_data
          text
    form merge_data  tables   pa_it_cdhdr  type ty_it_cdhdr
                              pa_it_cdpos  type ty_it_cdpos
                              pa_it_kna1   type ty_it_kna1
                              pa_it_user_addr type ty_it_user_addr
                              pa_it_merged type ty_it_merged
                              pa_it_vbak   type ty_it_vbak
                              pa_it_vbap   type ty_it_vbap
                              pa_it_vbkd   type ty_it_vbkd.
    Local internal tables
    data:
      lit_dd03l type ty_it_dd03l,
      lit_dd04t type ty_it_dd04t.
    Local work areas
    data:
      lwa_cdhdr  type ty_cdhdr,
      lwa_cdpos  type ty_cdpos,
      lwa_dd03l  type ty_dd03l,
      lwa_dd04t  type ty_dd04t,
      lwa_kna1   type ty_kna1,
      lwa_user_addr type ty_user_addr,
      lwa_merged type ty_merged,
      lwa_vbak   type ty_vbak,
      lwa_vbap   type ty_vbap,
      lwa_vbkd   type ty_vbkd.
    Local variables
    data:
      lva_dd03l_tabix like sy-tabix,
      lva_dd04t_tabix like sy-tabix.
    Sort Data
      sort pa_it_cdhdr by objectid changenr.
      sort pa_it_cdpos by objectid changenr tabname tabkey fname.
      sort pa_it_kna1  by kunnr.
      sort pa_it_user_addr by bname.
      sort pa_it_vbak  by vbeln.
       sort pa_it_vbkd  by vbeln.
      loop at pa_it_vbak into lwa_vbak.
        clear lwa_merged.
      Assign sales order fields to reporting work area
        lwa_merged-vbeln = lwa_vbak-vbeln.
        lwa_merged-erdat = lwa_vbak-erdat.
        lwa_merged-auart = lwa_vbak-auart.
        lwa_merged-faksk = lwa_vbak-faksk.
        lwa_merged-netwr = lwa_vbak-netwr.
        lwa_merged-waerk = lwa_vbak-waerk.
        lwa_merged-vkorg = lwa_vbak-vkorg.
        lwa_merged-vtweg = lwa_vbak-vtweg.
        lwa_merged-vkbur = lwa_vbak-vkbur.
        lwa_merged-fkara = lwa_vbak-fkara.
        lwa_merged-kunnr = lwa_vbak-kunnr.
       lwa_merged-bname = 1wa_user_addr-bname.
        lwa_merged-xblnr = lwa_vbak-xblnr.
    Assgin Material to reporting work area
       lwa_merged-matnr  = lwa_vbap-vbeln.
      Get name of sold-to party from PA_IT_KNA1
        clear lwa_kna1.
        read table pa_it_kna1 into lwa_kna1
                              with key kunnr = lwa_vbak-kunnr
                              binary search.
        lwa_merged-name1 = lwa_kna1-name1.
      Get name  from PA_it_user_addr
       clear lwa_user_addr.
       read table pa_it_user_addr into lwa_user_addr
                             with key  = lwa_user_addr-bname
                             binary search.
       lwa_merged-username = lwa_user_addr-name_textc.
      Get business data from PA_IT_VBKD.
        clear lwa_vbkd.
        read table pa_it_vbkd into lwa_vbkd
                              with key vbeln = lwa_vbak-vbeln
                              binary search.
        lwa_merged-fbuda = lwa_vbkd-fbuda.
    Get Material Data
      clear lwa_vbap.
        read table pa_it_vbap into lwa_vbap
                             with key matnr = lwa_vbap-matnr
                                with key vbeln = lwa_vbak-vbeln
                              binary search.
        lwa_merged-arktx = lwa_vbap-arktx.
      Get internal note text for sales order
        perform read_text using '0002'
                                '1'
                                lwa_merged-vbeln
                                'VBBK'
                                lwa_merged-intnote.
      Get header note 1 text for sales order
        perform read_text using 'Z002'
                                '1'
                                lwa_merged-vbeln
                                'VBBK'
                                lwa_merged-hdrnote.
      Determine if change documents exist for sales order.
        clear lwa_cdhdr.
        read table pa_it_cdhdr into lwa_cdhdr
                               with key objectid = lwa_vbak-objectid.
        if sy-subrc ne 0.
          continue.
        endif.
        loop at pa_it_cdhdr into lwa_cdhdr
                            from sy-tabix.
          lwa_merged-username = lwa_cdhdr-username.
          lwa_merged-udate    = lwa_cdhdr-udate.
          lwa_merged-utime    = lwa_cdhdr-utime.
          lwa_merged-tcode    = lwa_cdhdr-tcode.
          clear lwa_cdpos.
          read table pa_it_cdpos into lwa_cdpos
                                 with key objectid = lwa_cdhdr-objectid
                                          changenr = lwa_cdhdr-changenr
                                 binary search.
          loop at pa_it_cdpos into lwa_cdpos
                              from sy-tabix.
            lwa_merged-tabname   = lwa_cdpos-tabname.
            lwa_merged-tabkey    = lwa_cdpos-tabkey.
            lwa_merged-fname     = lwa_cdpos-fname.
            lwa_merged-chngind   = lwa_cdpos-chngind.
            lwa_merged-value_new = lwa_cdpos-value_new.
            lwa_merged-value_old = lwa_cdpos-value_old.
          Get description for field - determine date element
            clear lwa_dd03l.
            read table lit_dd03l into lwa_dd03l
                                 with key tabname   = lwa_cdpos-tabname
                                          fieldname = lwa_cdpos-fname
                                 binary search.
            lva_dd03l_tabix = sy-tabix.
            if sy-subrc ne 0.
              select single tabname fieldname as4local as4vers rollname
                     from   dd03l
                     into   lwa_dd03l
                     where  tabname   eq lwa_cdpos-tabname
                     and    fieldname eq lwa_cdpos-fname
                     and    as4local  eq co_as4local_a.
              if sy-subrc eq 0.
                insert lwa_dd03l into lit_dd03l
                                 index lva_dd03l_tabix.
              endif.
            endif.
          If data element was found, get description
            if not lwa_dd03l is initial.
              clear lwa_dd04t.
              read table lit_dd04t into lwa_dd04t
                                   with key rollname   = lwa_dd03l-rollname
                                            ddlanguage = sy-langu
                                   binary search.
              lva_dd04t_tabix = sy-tabix.
              if sy-subrc ne 0.
                select single rollname ddlanguage as4local as4vers scrtext_l
                       from  dd04t
                       into  lwa_dd04t
                       where rollname   eq lwa_dd03l-rollname
                       and   ddlanguage eq sy-langu.
                if sy-subrc eq 0.
                  insert lwa_dd04t into lit_dd04t
                                   index lva_dd04t_tabix.
                else.
                  lwa_dd04t-scrtext_l = 'Description for field not found'.
                endif.
              endif.
            endif.
            lwa_merged-scrtext_l = lwa_dd04t-scrtext_l.
            append lwa_merged to pa_it_merged.
            at end of changenr.
            Only process field changes for this change document.
              exit.
            endat.
          endloop.
          at end of objectid.
          Initialise work area so we know change document for order has
          been processed.
            clear lwa_merged.
          Only process change documents for this sales order.
            exit.
          endat.
        endloop.
      endloop.
    endform.                    " merge_data
    *&      Form  build_field_catalog
          text
    form build_field_catalog tables pa_it_fieldcat type slis_t_fieldcat_alv.
    data:
    Local variable
      lva_col_pos   type slis_fieldcat_alv-col_pos,
    Local structure
      st_fieldcat   type slis_fieldcat_alv.
      lva_col_pos = 0.
      clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'VBELN'.
      st_fieldcat-ref_tabname   = 'VBAK'.
      st_fieldcat-ref_fieldname = 'VBELN'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
      clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'VKBUR'.
      st_fieldcat-ref_tabname   = 'VBAK'.
      st_fieldcat-ref_fieldname = 'VKBUR'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-outputlen = '6'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
    clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'VKORG'.
      st_fieldcat-ref_tabname   = 'VBAK'.
      st_fieldcat-ref_fieldname = 'VKORG'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-outputlen = '6'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
    clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'KUNNR'.
      st_fieldcat-ref_tabname   = 'VBAK'.
      st_fieldcat-ref_fieldname = 'KUNNR'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-col_pos       = lva_col_pos.
        st_fieldcat-outputlen = '6'.
      append st_fieldcat to pa_it_fieldcat.
    clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'NAME1'.
      st_fieldcat-ref_tabname   = 'KNA1'.
      st_fieldcat-ref_fieldname = 'NAME1'.
      st_fieldcat-row_pos       = '1'.
        st_fieldcat-outputlen = '15'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
    clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'MATNR'.
      st_fieldcat-ref_tabname   = 'VBAP'.
      st_fieldcat-ref_fieldname = 'MATNR'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-col_pos       = lva_col_pos.
        st_fieldcat-outputlen = '6'.
      append st_fieldcat to pa_it_fieldcat.
    clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'SCRTEXT_L'.
      st_fieldcat-ref_tabname   = 'DD04T'.
      st_fieldcat-ref_fieldname = 'SCRTEXT_L'.
      st_fieldcat-row_pos       = '1'.
       st_fieldcat-outputlen = '20'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
      clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'UDATE'.
      st_fieldcat-ref_tabname   = 'CDHDR'.
      st_fieldcat-ref_fieldname = 'UDATE'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-outputlen = '10'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
      clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'USERNAME'.
      st_fieldcat-ref_tabname   = 'CDHDR'.
      st_fieldcat-ref_fieldname = 'USERNAME'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-outputlen = '6'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
      clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'FNAME'.
      st_fieldcat-ref_tabname   = 'CDPOS'.
      st_fieldcat-ref_fieldname = 'FNAME'.
      st_fieldcat-row_pos       = '4'.
      st_fieldcat-outputlen = '8'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
      clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'CHNGIND'.
      st_fieldcat-ref_tabname   = 'CDPOS'.
      st_fieldcat-ref_fieldname = 'CHNGIND'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-outputlen = '8'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
      clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'WAERK'.
      st_fieldcat-ref_tabname   = 'VBAK'.
      st_fieldcat-ref_fieldname = 'WAERK'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-outputlen = '5'.
      st_fieldcat-col_pos       = lva_col_pos..
      append st_fieldcat to pa_it_fieldcat.
      clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'VALUE_NEW'.
      st_fieldcat-ref_tabname   = 'CDPOS'.
      st_fieldcat-ref_fieldname = 'VALUE_NEW'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-outputlen = '20'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
      clear st_fieldcat.
      add 1 to lva_col_pos.
      st_fieldcat-tabname       = 'PA_IT_MERGED'.
      st_fieldcat-fieldname     = 'VALUE_OLD'.
      st_fieldcat-ref_tabname   = 'CDPOS'.
      st_fieldcat-ref_fieldname = 'VALUE_OLD'.
      st_fieldcat-row_pos       = '1'.
      st_fieldcat-outputlen = '20'.
      st_fieldcat-col_pos       = lva_col_pos.
      append st_fieldcat to pa_it_fieldcat.
    endform.                    " build_field_catalog
    *&      Form  output_report
          text
    form output_report tables pa_it_fieldcat type slis_t_fieldcat_alv
                              pa_it_merged   type ty_it_merged.
    Local variables
    data:
      lva_formname type slis_formname,
      lva_repid    like sy-repid.
      lva_repid = sy-repid.
      lva_formname = 'ALV_USER_COMMAND'.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program = lva_repid
          i_callback_user_command = lva_formname
          i_save             = 'A'
          is_variant         = st_variant
          it_fieldcat        = pa_it_fieldcat[]
        tables
          t_outtab           = pa_it_merged
        exceptions
          program_error      = 1
          others             = 2.
    endform.                    " output_report
    *&      Form  alv_user_command
          text
    form alv_user_command using pa_ucomm    like sy-ucomm
                                pa_selfield type slis_selfield.
    Local work areas
    data:
      lwa_merged type ty_merged.
      clear lwa_merged.
      read table it_merged into lwa_merged
                           index pa_selfield-tabindex.
      case pa_selfield-fieldname.
        when 'VBELN'.
        Contract Number
          set parameter id 'AUN' field lwa_merged-vbeln.
         call transaction 'VA03' and skip first screen.
    S_BCE_68001393
    when 'USERNAME'.
        Username
          set parameter id 'username' field lwa_merged-username.
          call transaction 'S_BCE_68001393' and skip first screen.
        when 'KUNNR'.
        Customer number
          set parameter id 'KUN' field lwa_merged-kunnr.
          set parameter id 'VKO' field space.
          set parameter id 'VTW' field space.
          set parameter id 'SPA' field space.
          call transaction 'XD03' and skip first screen.
      endcase.
    endform.                    " alv_user_command
    *&      Form  read_text
          text
    form read_text  using    pa_id
                             pa_inline_count
                             pa_name
                             pa_object
                             pa_text.
    Local internal tables
    data:
      lit_inlines type ty_it_lines,
      lit_lines   type ty_it_lines.
    Local work areas
    data:
      lwa_lines   type ty_lines.
    Local variables
    data:
      lva_tdname    like thead-tdname.
      refresh: lit_inlines,
               lit_lines.
      lva_tdname = pa_name.
      call function 'READ_TEXT_INLINE'
        exporting
          id                    = pa_id
          inline_count          = pa_inline_count
          language              = sy-langu
          name                  = lva_tdname
          object                = pa_object
        tables
          inlines               = lit_inlines
          lines                 = lit_lines
        exceptions
          id                    = 1
          language              = 2
          name                  = 3
          not_found             = 4
          object                = 5
          reference_check       = 6
          others                = 7.
      loop at lit_lines into lwa_lines.
        concatenate pa_text
                    lwa_lines-tdline
                    into pa_text separated by space.
      endloop.
    endform.                    " read_text ENDLOOP.

    Hi
    As per your code here:
    "-------------- Changes are made here ----------------
    *Extract Material details from vbap
    select matnr arktx
    from vbap
    into table it_vbap
    for all entries in it_vbak
    where
    vbeln eq it_vbak-vbeln
    and posnr eq co_posnr_initial.   " Here the condition specifies you want to select sales order items where there is no item number, which i beleive shouldnt be the case
    " -----------------End of Change ----------------------
    Try as below by commenting the Item Number is INITIAL condition:
    select matnr arktx
       from vbap
       into table it_vbap
       for all entries in it_vbak
       where
       vbeln eq it_vbak-vbeln.
    "and posnr eq co_posnr_initial.
    Regards
    Eswar

  • When I try to open Photoshop CS6 I get "Error Code 16"

    When I try to open Photoshop CS6 I get "Error Code 16"
    I have researched Internet - ADOBE and others - to find a solution, but no luck! (see under)
    The problem started around one year ago but I was able to open Bridge and go to Photoshop from there until recently.
    Now I get "Error Code 16" in Bridge too when I am trying to go to Photoshop.
    I have tried everything I could think of (including creating a new Administrator-user) with help from my Internet research and my own pretty good experience (I started working with computer systems as a Systems Analysts 1968...... - now it is only PCs)
    I miss my Photoshop and Bridge a lot - it is very frustrating to have this problem, but I can see I am not the only one!!!
    I also have these Adobe products:
    Adobe Photoshop
    1045-1297-1724-5553-8938-xxxx
    Adobe InDesign
    1037-1476-0290-3491-8464-xxxx
    Adobe Audition
    1137-1169-5106-2253-7226-xxxx
    Adobe Photoshop
    1045-1007-5934-1160-3319-xxxx
    Adobe Photoshop Elements
    1057-4535-7945-2468-2014-xxxx
    and some more.
    I am grateful for all help.
    /// Björn Andrén   -   [email protected]   (member ID)
    =======================================================================
    Configuration error 16 when you start a Creative Cloud (CC) or Creative Suite (CS) application
    https://helpx.adobe.com/x-productkb/policy-pricing/configuration-error-cs5.html
    ========================================================================
    Adobe CC/CS6 - Error 16 and no SLStore or PCD File
    https://forums.adobe.com/message/7157810
    https://forums.adobe.com/thread/1243845?tstart=0
    =========================================================================
    How to Erase an Adobe Registration File
    http://smallbusiness.chron.com/erase-adobe-registration-file-45714.html
    =========================================================================
    Why can't I open Photoshop CS6? Missing Adobe PCD and SLstore folders!?
    https://answers.yahoo.com/question/index?qid=20130608085953AAuWzEA
    ========================================================================
    Issue with getting an Error code '16' if trying to install Adobe Photoshop CS5
    http://thedailybuggle.com/forum/issue-getting-error-code-16-if-trying-install-adobe-photos hop-cs5-66.html
    ========================================================================
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    Mon Feb 09 17:24:22 2015] ---------------------------------------------------------
    [Mon Feb 09 17:24:22 2015] *=*=*=*=*=*=*=*=* :: Start Session :: *=*=*=*=*=*=*=*=*=*
    [Mon Feb 09 17:24:22 2015] ---------------------------------------------------------
    [Mon Feb 09 17:24:22 2015] Win OS Version: 6.1
    [Mon Feb 09 17:24:22 2015] Cleaner Tool version        : 2.0.0.0
    [Mon Feb 09 17:24:22 2015] Cleanup source directory    : C:\Program Files (x86)\Common Files\Adobe\AdobeCreativeCloudCleanerTool
    [Mon Feb 09 17:24:22 2015] [AdobeProgramFiles]        : C:\Program Files (x86)\Adobe
    [Mon Feb 09 17:24:22 2015] [AdobeProgramFiles_x64]    : C:\Program Files\Adobe
    [Mon Feb 09 17:24:22 2015] [AdobeCommon]            : C:\Program Files (x86)\Common Files\Adobe
    [Mon Feb 09 17:24:22 2015] [AdobeCommon_x64]        : C:\Program Files\Common Files\Adobe
    [Mon Feb 09 17:24:22 2015] [UserRoamingAppData]        : C:\Users\BEAR2\AppData\Roaming
    [Mon Feb 09 17:24:22 2015] [UserLocalAppData]        : C:\Users\BEAR2\AppData\Local
    [Mon Feb 09 17:24:22 2015] [StartMenu]                : C:\ProgramData\Microsoft\Windows\Start Menu\Programs
    [Mon Feb 09 17:24:22 2015] [System32Folder]            : C:\Windows\system32
    [Mon Feb 09 17:24:22 2015] [SharedApplicationData]    : C:\ProgramData
    [Mon Feb 09 17:24:28 2015] Language selected: English
    [Mon Feb 09 17:24:28 2015] Displaying the Adobe End User License Agreement
    ADOBE
    Gen_WWCombined-en_US-20121017_1230
    [Mon Feb 09 17:24:28 2015] Please enter (y) for Yes or (n) for No. ... >>
    [Mon Feb 09 17:24:38 2015] Choose from one of the following options to clean up :
    [Mon Feb 09 17:24:38 2015] 1.  All
    [Mon Feb 09 17:24:38 2015] 2.  Adobe Flash Player 10.2
    [Mon Feb 09 17:24:38 2015] 3.  Creative Cloud 2014 , Creative Cloud & CS6 Products
    [Mon Feb 09 17:24:38 2015] 4.  Creative Cloud 2014 only
    [Mon Feb 09 17:24:38 2015] 5.  Creative Cloud only
    [Mon Feb 09 17:24:38 2015] 6.  CS6 only
    [Mon Feb 09 17:24:38 2015] 7.  CS5-CS5.5-CS6
    [Mon Feb 09 17:24:38 2015] 8.  CS5-CS5.5
    [Mon Feb 09 17:24:38 2015] 9.  CS3, CS4
    [Mon Feb 09 17:24:38 2015] 10.  Adobe Id credentials
    [Mon Feb 09 17:24:38 2015] 11.  Quit
    [Mon Feb 09 17:24:38 2015] Choice :>
    [Mon Feb 09 17:24:44 2015] User selected: CS6 Only
    [Mon Feb 09 17:24:44 2015] Executed the command : call copy /Y "C:\Program Files (x86)\Common Files\Adobe\caps\pdb.db" "C:\Program Files (x86)\Common Files\Adobe\backup20150209T172444\pdb.db"
    [Mon Feb 09 17:24:44 2015] Executed the command : call copy /Y "C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db" "C:\Program Files (x86)\Common Files\Adobe\backup20150209T172444\Media_db.db"
    [Mon Feb 09 17:24:44 2015] Opened DB connection with path: C:\Program Files (x86)\Common Files\Adobe\caps\pdb.db
    [Mon Feb 09 17:24:44 2015] DB does not exist at: C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db
    [Mon Feb 09 17:24:44 2015] List of products installed on this machine
    [Mon Feb 09 17:24:44 2015] Listing products for cleanup:
    [Mon Feb 09 17:24:44 2015] Please enter the option number of the product you wish to remove; enter (q) to quit ... >>
    [Mon Feb 09 17:25:02 2015] response 1
    [Mon Feb 09 17:25:02 2015] Are you sure you want to clean all the listed products and associated files?
    [Mon Feb 09 17:25:02 2015] Type (y) to confirm and remove or (n) to quit ... >>
    [Mon Feb 09 17:25:07 2015] Please wait for Adobe Creative Cloud Cleaner Tool to finish........
    [Mon Feb 09 17:25:07 2015] User selected: 'Clean All'
    [Mon Feb 09 17:25:07 2015] *-*-*-*-*-*-* Start removing product : ALL *-*-*-*-*-*-*
    [Mon Feb 09 17:25:07 2015] *-*-*-*-*-*-* Finished removing product : ALL *-*-*-*-*-*-*
    [Mon Feb 09 17:25:07 2015] Action : Deleting the C:\Program Files (x86)\Common Files\Adobe\backup20150209T172444 folder as there is no product deleted.
    [Mon Feb 09 17:25:07 2015] LOG FILE SAVED TO: C:\Users\BEAR2\AppData\Local\Temp\Adobe Creative Cloud Cleaner Tool.log
    [Mon Feb 09 17:25:07 2015] Adobe Creative Cloud Cleaner Tool completed successfully
    [Mon Feb 09 17:25:07 2015]
    [Mon Feb 09 17:25:07 2015] *-*-*-*-*-*- ::START:: - SUMMARY OF Warnings -*-*-*-*-*-*
    [Mon Feb 09 17:24:44 2015] DB does not exist at: C:\Program Files (x86)\Common Files\Adobe\caps\Media_db.db
    [Mon Feb 09 17:25:07 2015] *-*-*-*-*-*- :: END :: - SUMMARY OF Warnings -*-*-*-*-*-*
    [Mon Feb 09 17:25:07 2015] ---------------------------------------------------------
    [Mon Feb 09 17:25:07 2015] *=*=*=*=*=*=*=*=* :: End Session :: *=*=*=*=*=*=*=*=*=*=*
    [Mon Feb 09 17:25:07 2015] ---------------------------------------------------------
    [Mon Feb 09 17:28:53 2015] ---------------------------------------------------------
    [Mon Feb 09 17:28:53 2015] *=*=*=*=*=*=*=*=* :: Start Session :: *=*=*=*=*=*=*=*=*=*
    [Mon Feb 09 17:28:53 2015] ---------------------------------------------------------
    [Mon Feb 09 17:28:53 2015] Win OS Version: 6.1
    [Mon Feb 09 17:28:53 2015] Cleaner Tool version        : 2.0.0.0
    [Mon Feb 09 17:28:53 2015] Cleanup source directory    : C:\Program Files (x86)\Common Files\Adobe\AdobeCreativeCloudCleanerTool
    [Mon Feb 09 17:28:53 2015] [AdobeProgramFiles]        : C:\Program Files (x86)\Adobe
    [Mon Feb 09 17:28:53 2015] [AdobeProgramFiles_x64]    : C:\Program Files\Adobe
    ================================================================================
    OS Name    Microsoft Windows 7 Professional
    Version    6.1.7601 Service Pack 1 Build 7601
    Other OS Description     Not Available
    OS Manufacturer    Microsoft Corporation
    System Name    BEAR-PC
    System Manufacturer    System manufacturer
    System Model    System Product Name
    System Type    x64-based PC
    Processor    Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 3401 Mhz, 4 Core(s), 8 Logical Processor(s)
    BIOS Version/Date    American Megatrends Inc. 0801, 2011-08-15
    SMBIOS Version    2.6
    Windows Directory    C:\Windows
    System Directory    C:\Windows\system32
    Boot Device    \Device\HarddiskVolume1
    Locale    United States
    Hardware Abstraction Layer    Version = "6.1.7601.17514"
    User Name    BEAR-PC\BEAR2
    Time Zone    Eastern Standard Time
    Installed Physical Memory (RAM)    16.0 GB
    Total Physical Memory    16.0 GB
    Available Physical Memory    12.1 GB
    Total Virtual Memory    31.9 GB
    Available Virtual Memory    28.1 GB
    Page File Space    16.0 GB
    Page File    C:\pagefile.sys

    Run the cleaner tool and reinstall.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Download CS6 products
    Mylenium

  • Getting error code 1 when calling SSIS package from a stored procedure (SQL Server 2008 R2)

    Hello,
    I am trying to execute a SSIS package from SQL Server 2008 R2 stored procedure but getting error code 1 (as per my knowledge, error code description is as below:
    0 The package executed successfully.
    1 The package failed.
    3 The package was canceled by the user.
    4 The utility was unable to locate the requested package. The package could not be found.
    5 The utility was unable to load the requested package. The package could not be loaded.
    6 The utility encountered an internal error of syntactic or semantic errors in the command line.
    Details:
    I have a stored procedure named "Execute_SSIS_Package" (see below sp) which executes 'Import_EMS_Response' SSIS package (when I execute this package directly from SQL Server BID it works fine it means package itself is correct) and calling
    it from SQL as:- EXEC Execute_SSIS_Package 'Import_EMS_Response'.
    Here I receives error code 1.
    Can anyone help me to resolve this issue please?
    Thanks in advance!
    CREATE PROCEDURE [dbo].[Execute_SSIS_Package]
     @strPackage nvarchar(100)
    AS
    BEGIN
     -- SET NOCOUNT ON added to prevent extra result sets from
     -- interfering with SELECT statements.
     SET NOCOUNT ON;
     DECLARE @cmd VARCHAR(8000)
     DECLARE @Result int
     DECLARE @Environment VARCHAR(100)
        SELECT @Environment = Waarde
     FROM  Sys_Settings
     WHERE Optie = 'Omgeving'
     --print @Environment
     SET @strPackage = '"\W2250_NGSQLSERVER\BVT\' + @Environment + '\' + @strPackage + '"'
     SET @cmd = 'dtexec /SQL ' + @strPackage +  ' /SERVER "w2250\NGSQLSERVER"  /Decrypt "BVT_SSIS" /CHECKPOINTING OFF /REPORTING E'
     --print @cmd
     EXECUTE @Result = master..xp_cmdshell @cmd, NO_OUTPUT
     --print @Result
    END

    It has something to do with the security.
    E.g. cmdshell is not enabled or the caller has not rights over the package.
    There could be a syntax error, too.
    I suggest you make the package runnable off a SQL Agent job then trigger the job from the stored proc with
    sp_start_job <job name>
    Arthur
    MyBlog
    Twitter

  • Get error code 0x80070643 when I try to install Sql Server 2008 R2 Service Pack 1 (KB2528583)

    I keep getting error code 0x80070643 when I try to install Sql Server 2008 R2 Service Pack 1 (KB2528583)
    Operating System is Windows 2008 R2 64 bit

    Hi JamesRead,
    According to your description, when you install SQL Server 2008 R2 service pack 1, we need to verify if
    you must have administrative rights on the computer.
    There are multiple files available for the download, you will be prompted to select the files you need. We need to verify if you run the SQLServer2008R2SP1-KB2528583-x64-ENU.exe. Or you can install SQL server updates from the command
    prompt and check if it can install successfully.
    You can prepare an installation of database engine instance to include product update:
    setup.exe /q /IAcceptSQLServerLicenseTerms /ACTION=PrepareImage /UpdateEnabled=True /UpdateEnabled=True /UpdateSource=<path where the update is downloaded> /INSTANCEID=<Instance ID> /FEATURES=SQLEngine
    For more information, you can review the following article about installing Updates from the Command Prompt.
    http://technet.microsoft.com/en-us/library/dd638066.aspx
    Thanks,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Bapi_Acc_Document_Post - E 018 : Invalid tax code and company code combination

    Hi All,
    I need the help of this forum once again.
    I am using bapi Bapi_Acc_Document_Post to create KR documents in SAP. The bapi works absolutely fine except for one scenario:
    For a particular type of invoice coded to Company "XXXX" with lines having tax code "I0", the bapi returns error message "E 018 : Invalid tax code and company code combination". The tax code "I0" and the company code "XXXX" has been mapped in SAP and if I try to create the invoice manually in SAP using the GUI, the invoice gets created without any issue.
    I have tried searching the forum but could not find any post on this topic.
    Therefore, requesting the masters to please help me out on this.
    Best Regards
    Sutirtha Roy

    Hi Gowthami,
    how have you solved your problem, because I am facing the similiar issue and trying desperately to post the following combination with BAPI_ACC_POST_DOCUMENT:
    001 40       490100     Aufw. aus Marge PP              R2                 15,92
    002 31       10000003   Kreditor                                R2                 15,92-
    003 50       175060     Abzugsverfahren USt            R2                  3,18-
    004 40       154060     Abzugsverfahren Vst             R2                  3,18
    THANX!
    Regards
    Marko

  • Item Codes with description in inventory - R12

    Dear All
    In R12, Inventory module, from where and how to get the item code and item description simultaneously.
    e.g: Suppose I have an item having 3 segments. I want to display the item code with descriptions like this:
    01-Stores | 001-Waste | 0001-Cotton
    where '01' is code of segment 1 and its value against a value set is 'Stores'
    similarly '001' is code of segment 2 and its value against a value set is 'Waste'
    and '0001' is code of segment 3 and its value against a value set is 'Cotton'
    Please advise
    I shall be ever thankful.
    Thanks & Best Regards
    OraLearner

    Start with this    SELECT     ffv1.description || ffv2.description || ffv3.description
         FROM mtl_system_items_b msi
              fnd_flex_values_vl ffv1,
              fnd_flex_values_vl ffv2,
              fnd_flex_values_vl ffv3,
        WHERE ffv1.flex_value = msi.segment1
          AND ffv1.flex_value_set_id = 1010291
          AND ffv2.flex_value = msi.segment2
          AND ffv2.flex_value_set_id = 1010292
          AND ffv3.flex_value = msi.segment3
          AND ffv3.flex_value_set_id = 1010293
          AND msi.organization_id = &organization_id and msi.inventory_item_id = &inventory_item_id  You will have to change the value set ids above. You can find those id's by going to the KFF definition screen for items.
    Hope this helps
    Sandeep Gandhi
    Independent Techno-functional Consultant

  • How to get KM Layout Set Description

    Hello,
    Can we get the Layout Set description through KM API?
    We are able to get all existing Layout sets using String[] ids=layoutService.getAllLayoutSetIDs(); but we want descriptions also for these Layout Sets
    Please let me know if anybody have an idea
    Thanks

    Hi Bobby,
    For 7.3, it is
    IConfigManager configManager = ConfigHelper.getConfigManager(request.getUser());
    IConfigPlugin catPlugin = configManager.getConfigPlugin("/cm/ui/settings");
    IMutableConfigurable myConfigurable = catPlugin.getConfigurable("AdminExplorer");
    String desc = myConfigurable.getPropertyValue("description");
    For this code, the only SharingReference needed is "SAPJ2EE::service:sap.com/tckmconfig~srv".
    For 7.0, things are slightly different, but if you search for "IConfigPlugin" on SDN, you will get the stuff needed immediately.
    Hope it helps
    Detlev

  • Code combination based hierarchy

    Hi,
    I am wanting to overlay a code combination based alternative reporting hierarchy in Finance against budgets, balances and journals.
    The nature of the overlay is that the first contact is from code combination id (all of the used segments in the chart of accounts) to a parent code / description. Each parent code then has a level number and may have a parent of its own, only linked to the original gl codes through the total chain of parents.
    From initial analysis I do not think this is possible using standard functionality - but if anyone thinks overwise - let me know!
    My question is, is there a document that I can utilise to perform the analysis on how this could be linked into the existing physical table structure? (i.e. I need to understand the current PK -> FK links in the physical layer to scope the extent of the work)
    thanks,
    Robert.

    Hi,
    my requirement is that the hierarchy is multi-leveland joined on all of the six live accounting segments.
    So; -
    Level 1 - 101.10222.8554.0444.000.00000 (accounting segments) joins to; AAAAA - My analysis code level 1
    Level 2 - AAAAA (parent) joins to BBBBB - My analysis code level 2
    Note it is the total combination of all the segments which is the requirement, so just because the first segment is 101, this does not mean that all entries with first segment 101 will be this parent, only when in combination with the rest of the segments exactly as above (so one code combination id effectively)
    regards,
    Robert.

  • After loading Maverick iTunes will not launch.  I get an error code: -45054.  I am the administrator and have no groups or guests.  Sharing options don't fix this.  Als Fetch will not launch, I get error code: SSL error 9807.  These worked perfectly befor

    After loading Maverick iTunes will not launch.  I get an error code: -45054.  I am the administrator and have no groups or guests.  Sharing options don't fix this.  Also Fetch will not launch, I get error code: SSL error 9807.  These worked perfectly before installing Maverick.  Also everything that loads, all programs, take twice as long to load.  I have MacKeeper and have cleaned and discarded all the garbage. 

    Remove "MacKeeper" as follows. First, back up all data.
    "MacKeeper" is a scam with only one useful feature: it deletes itself.
    Note: These instructions apply to the version of the product that I downloaded and tested in early 2012. I can't be sure that they apply to other versions.
    If you have incompletely removed MacKeeper—for example, by dragging the application to the Trash and emptying—then you'll have to reinstall it and start over.
    IMPORTANT: "MacKeeper" has what the developer calls an “encryption” feature. In my tests, I didn't try to verify what this feature really does. If you used it to “encrypt” any of your files, “decrypt” them before you uninstall, or (preferably) restore the files from backups made before they were “encrypted.” As the developer is not trustworthy, you should assume that the "decrypted" files are corrupt unless proven otherwise.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A. The "MacKeeper" application is in the folder that opens. Quit it if it's running, then drag it to the Trash. You'll be prompted for your login password. Click the Uninstall MacKeeper button in the dialog that appears. All the functional components of the software will be deleted. Reboot.
    ☞ Quit MacKeeper before dragging it to the Trash.
    ☞ Don't empty the Trash. Let MacKeeper delete itself.
    ☞ Don't try to drag the MacKeeper Dock icon to the Trash.

Maybe you are looking for

  • No Sound from Mac Pro, however, volume icon moves up and down

    Hello, I was using my 12 month old Mac Pro last night and it worked fine with sound as normal. When I powered it up today there is no sound coming from my monitor, but the volume icon moves up and down when I press the keys? I've checked in the Prefe

  • Logic 7.2.3, Protools 7.1, Mac OS 10.4.6 & Universal Audio TDMs Pluggins

    Hello, I am doing an install later this week on G5 Quad Processor. Seems I need Logic 7.2.3 to work with the Quad, Prools 7.1 to work with the Quad and Mac OS 10.4.6 to work With Protools 7.1, problem is Universal Audio only supports it's TDM pluggin

  • Error 1720 when installing CS3 on Win 7 64-bit home premium

    I've been directed to the Forum for help as the Support Tech said she could not help me as they only help with CS5.  She said that CS3 WON"T WORK on a Windows 7 machine and yet I have googled and found people who have had it work.  She then told me t

  • X-SAN Media Network Advice

    I am researching into the implementation of a video / audio network using X-SAN as a system to manage multiple workstations and a pool storage array. Could I ask your advice about what I think I require in order ensuring I get the right network setup

  • Need inputs on CONVERT function in oracle.

    My source DB is : US7ASCII My target DB is : AL32UTF8 Basically I am using oracle CONVERT funciton to convert the data. Unforutnately AL32UTF8 is not predefined in CONVERT function. So, is there are any other ways to convert the data ? Plz let me kno