Catalog in CN22 transaction

Hi Experts,
I just wanted to know, the catalog which is shown in CN22 transaction by selecting the activity and then clicking on catalog button in the below screen in CN22 transion.
Where exactly the link to the catalog maintained for that.
Thanx in adv.
Regards
Ashis

Hi Gokul,
Thanx for the reply..but dat does not work for material catalog ..that is only for  ps text
//ashis

Similar Messages

  • I have problem with cn22 transaction while uploading

    dear Experts
    i  have problem while uploading the data into the CN22 transaction
    i t is updating frontend  mode 'A' but not updating with backend  when  'N'
    please tell me the solution.
    perform bdc_dynpro      using 'SAPLCOKO' '2000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'CAUFVD-AUFNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=LIST'.
    perform bdc_field       using 'CAUFVD-AUFNR'
                                  wa_data-aufnr.
    perform bdc_dynpro      using 'SAPLCOVG' '2000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=EINF'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'AFVGD-VORNR(01)'.
    perform bdc_field       using 'RC27X-FLG_SEL(01)'
                                   FLG_SEL_01_002.
    perform bdc_dynpro      using 'SAPLCOVG' '2000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'AFVGD-ARBPL(01)'.
    perform bdc_field       using 'AFVGD-VORNR(01)'
                                   wa_data-vornr.
    perform bdc_field       using 'AFVGD-LTXA1(01)'
                                  wa_data-ltxa1.
    perform bdc_field       using 'AFVGD-DAUNO(01)'
                                  wa_data-dauno.
    perform bdc_field       using 'AFVGD-ARBPL(01)'
                                  wa_data-arbpl.
    perform bdc_dynpro      using 'SAPLCOVG' '2000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'VSNETEXT-NPLNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BU'.
    *perform bdc_transaction using 'CN22'.
    call transaction 'CN22' using it_bdcdata
    OPTIONS FROM wa_CTU_PARAMS
    messages into mess_tab.

    Hi,
    First check the messages in intenal table mess_tab in debugging mode with mode N.
    Recording looks ok.
    Regards
    Praveen

  • CN22 transaction

    in change mode in cn22 transaction,
    system satus is ACAS CRTD MANC NMAT
    when the user goes to edit-> status->release it will set to
    system staus to ACAS MANC NMAT REL.
    before changing the staus to release, i need to validate,
    how to do( comare the current system release againt the ealier)
    any ideas welcome

    Hi,
    You can use AT_RELEASE method in WORKORDER_UPDATE badi. This ll definitely solve ur issue.
    Regards,
    Balaji

  • Reg: cannot access fields from field catalog in kea6 transaction

    hi experts,
    I am suppose to create a co-pa report . i dont find the required fields in the f4 help for the elements to be inserted in the report. i am able to see the fields in the transaction kea6 but cannot access them ...
    kindly help out
    points will be rewarded

    Thanks for your quick reply,
    I already have tested that option, and I try it again, but no success too.
    I don't understand the error, because the connection between the sql server 2005 and business view manager it's ok, so I can see the content of each selected field on BVM, and I can see the fields in the repository on crystal reports server client, but it say's in the preview:
    failure logon
    Details: cannot find DSN in connection string
    can it be a problem with licenses? I don't think so, because I have samples that the database is loaded from the web and they work fine, is only this abnormal situation.
    I tried to search and they said this:
    The data connection component is where the user establishes a connection to the data source. The setting up of the connection component is similar to the setting up of a connection in Crystal Reports and, in a lot of cases, uses the same drivers and dialog boxes. The user can enter in a username and password. This is the username that will authenticate against the data source and the username and password are then stored in the repository.
    this data connection is defined in the business view manager, and I put that user and pass but I always get the same error!
    Have anyone the same problem? or a new ideia? =)
    Thanks

  • Catalog in IA07 Transaction

    Hi,
    Need help in understanding the functionality of catlog tab in transaction code IA07 ? It is visible in component overview.
    Regards,
    Meghana

    Hi,
         The same Tab exists in IW32 ->Component Tab ..it is for Non stock component selection and purchase of Non stock components .., it is used for OCI and SRM Interface ..
    http://help.sap.com/saphelp_470/helpdata/en/5d/0eba5fa0084247acbb0c04cede18e8/content.htm
    http://help.sap.com/saphelp_rc10/helpdata/en/5d/0eba5fa0084247acbb0c04cede18e8/content.htm
    regards
    pushpa

  • Supplier catalogs integration with Purchase Requisiton (ME51N) transaction

    Hi MM Gurus,
    I was looking to integrate supplier catalogs (punch out) to ME51N transaction in ECC-EHP4. I see config node in SPRO under MM->Purchasing->Environment Data->Web Services: ID and Description.
    - I created catalog ID but Catalog button is not showing up in ME51N for catalog selection. What set up is required?
    - How can we restrict access to catalogs, is there any set up to assign to plants or assign to doc type / users etc?
    Please share, if you have any experience with it?
    I appreciate your input.
    Thanks,
    Chandra

    Hi,
    you don't need SRM for using a catalog in MM transactions ME51n, ME21n. You have to consider that you can use only one catalog. If you want to use more then one catalog you should use SRM. That's the design.
    Customizing:
      -> Purchasing
         -> Environment Data
            -> Web Services: ID and Description                                               
    you can find more detailed information about the settings in Customizing of Supplier Relationship Management  (-> SRM Server -> Master Data -> Define External Web Services )
    You can maintain more than one WEB Services, but you have to set the 'Default Indicator' for one of them, otherwise you will not get any Catalog to be displayed in ME51n/ME21n.
    br, G

  • SRM MDM Catalog - SRM OCI mapping relevant for Contract Catalogs

    Hi,
    According to the scenario we would like to implement, the contract items are distibuted to a catalog and later on they are recalled within other contracts. In this case to do OCI mapping in SRM (customizing activity?) is still relevant? Is this activity necessary for all catalogs internal or external?
    Is this what is enabling to dispaly the catalog within SRM transaction like Process Contracts for all type of catalogs?
    Thank you in advance,
    Edited by: Gaia K. on Nov 18, 2008 6:16 PM

    Hi,
    Thanks for your input,
    I did unmapping between OCI fields and MDM fields at OCI Mapping and but i have selected unmapped fields at all Views.
    Now when i login and checked at my catalog side, i can able to see the data for that fields, which i have unmapped at OCI Mapping.
    My question is :
    1) Why this fields are getting values , when i Unmapped at OCI mapping Level?
    2) If this fields are getting values at catalog irrespective of mapping/unmapping at OCI Mapping level, then what is the actual use of OCI mapping?
    3) where exactly adding of Custom fields at OCI side is helpful?
    Your solution will be rewarded in points
    Thanks
    Bharat

  • How to attach a custom transaction to a user menu

    Hi all,
    I need some help on how to attach a transaction code to a user menu.
    I've checked the forum but I could not find the exact instructions on how to do it.
    This is how the user menu should look like:
    User menu for Ricky Orea
    '->Manager Catalog Content
    '--->Standard transaction
    '--->Standard transaction
    '--->(insert my transaction here)
    Appreciate the help.  Useful answer will be rewarded.
    Thanks,
    Ricky

    Hi
    The user menu is the set of menu of all roles of user, so you should check the roles of the user and update one of menu of user roles.
    You can do it by transactions PFGC, but if you change a role you'll change the menu of all users have that role.
    This operation usually is made by the administrators of system.
    Max
    Message was edited by: max bianchi

  • The catalog that you have selected is currently unavailable

    Hi,
    I am trying to display product catalog at sales transaction and I have made the following settings:
    1. Created product catalog and indexed to TREX server--I can see the indexes at txn TREXADM and program TREX_RFC_AE_EXAMPLE
    2. http://<hostname>:<port>/shopadmin/admin/xcm/init.do---created my own app conf.
    3. http://<hostname>:<port>/shopadmin/shopadmin/init.do---created my web shop with the previously created product catalog
    When I try to display the catalog;  "The catalog that you have selected is currently unavailable" error is displayed.
    I have double checked my settings according note #980678.
    Checked the Visual Admin settings as follows:
    "Go to Cluster->Services->TREX Service and check the entry "nameserver.address". It should have "tcpip://<trex host name>:<name server port>. ex tcpip://mytrexserver:30201."
    Does anyone has faced an issue like this?
    Thanks..

    Hi there,
    Are you using staging for the product catalog?  If so then you need to activate the index.
    Is the catalog and variant active also?
    Otherwise check your xcm settings for the web app (b2b or b2c) so its set up for the right IMS settings.
    Cheers
    Andrew

  • Create contract based on punch-out catalog

    Dear Experts,
    My client wants to create a contract per vendor hosted (punch-out) catalog. Is this posible for this type of catalog?
    What is best practice to:
    1) Control spend on punch out catalog (besides the SHC approval)?
    2) Control that the supplier does not increase the price on the items
    Thanks

    Hi,
    Purchaser can call catalog from contract transaction and create a contract with supplier parts number.
    Is this the function you are looking for ?
    Regards,
    Masa

  • Hi: Uploading data for CN22 tcode

    Hi,
    Iam uploading data from flat file to sap, for CN22 transaction.
    If i execute in foreground , it's working fine.
    when iam trying to execute in background it is not updating.
    i also used WAIT.
    still it is not updating.
    points will be rewarded,
    thanks in advance,
    ravi shankar reddy

    Hi Ravi,
    Iam using the same thing , but it is not working.
    pls check the code.
    REPORT zcn22networkid
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    *include bdcrecx1.
                 DATA DECLARATIONS                                      *
    TYPES : BEGIN OF ty_rectab,
              aufnr TYPE caufvd-aufnr,
              vornr TYPE afvgd-vornr,
              ltxa1 TYPE afvgd-ltxa1,
              dauno(7),   " TYPE afvgd-dauno,
              arbei(9),   " TYPE afvgd-arbei,
              arbpl TYPE afvgd-arbpl,
              mat_prkst(14),  " TYPE afvgd-mat_prkst,
              prkst(14),      "  TYPE afvgd-prkst,
              waers TYPE afvgd-waers,
              sakto TYPE afvgd-sakto,
            END OF ty_rectab.
    TYPES: BEGIN OF ty_msg,
              msgnr(24), " TYPE bdcmsgcoll-msgnr,
              msgtyp(10),  "TYPE bdcmsgcoll-msgtyp,
              message(500),
           END OF ty_msg.
    DATA : l_string(500).
    DATA : fname TYPE string.
    DATA : fname1 TYPE string.
    DATA : l_indx(6) TYPE n.
    DATA : l_indx1(6) TYPE n.
    DATA : l_tab(1) TYPE c VALUE cl_abap_char_utilities=>horizontal_tab.
    DATA : g_fieldname TYPE string.
    DATA : opt TYPE ctu_params.
                INTERNAL TABLES                                         *
    DATA : it_upload TYPE string OCCURS 0 WITH HEADER LINE.
    DATA : bdcdata TYPE STANDARD TABLE OF bdcdata WITH HEADER LINE.
    DATA : messtab TYPE STANDARD TABLE OF bdcmsgcoll WITH HEADER LINE.
    DATA : it_rec TYPE STANDARD TABLE OF ty_rectab WITH HEADER LINE.
    DATA : it_rec1 TYPE STANDARD TABLE OF ty_rectab WITH HEADER LINE.
    DATA : it_msg TYPE STANDARD TABLE OF ty_msg WITH HEADER LINE.
    DATA : it_rec2 TYPE STANDARD TABLE OF ty_rectab WITH HEADER LINE.
    DATA : it_rec3 TYPE STANDARD TABLE OF ty_rectab WITH HEADER LINE.
         SELECTION SCREEN                                               *
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME.
    PARAMETERS : p_file TYPE rlgrap-filename OBLIGATORY.
    PARAMETERS : r_fgrd RADIOBUTTON GROUP g1.
    PARAMETERS : r_bgrd RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME.
    PARAMETERS : p_efile TYPE rlgrap-filename. " OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK block2.
               F4 HELP FOR FILE                                         *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM f4_filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_efile.
      PERFORM get_errorfile.
    START-OF-SELECTION.
      PERFORM upload_data.
    *****FOR FOREGROUND*****
      IF r_fgrd = 'X'.
        opt-dismode = 'A'.
        opt-updmode = 'S'.
        opt-defsize = 'X'.
    ****FOR BACKGROUND******
      ELSEIF r_bgrd = 'X'.
        opt-dismode = 'N'.
        opt-updmode = 'S'.
        opt-defsize = 'X'.
      ENDIF.
    ****BDC Data************
      PERFORM bdc_data.
      IF it_msg[] IS NOT INITIAL.
        it_msg-msgnr = 'NetworkID'.
        it_msg-msgtyp   = 'Msgtyp'.
        it_msg-message  = 'Message'.
        PERFORM download_errorfile.
      ENDIF.
    *&      Form  f4_filename                                             *
    FORM f4_filename .
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          field_name = 'P_FILE'
        IMPORTING
          file_name  = p_file.
    ENDFORM.                    " f4_filename
    *&      Form  get_errorfile                                           *
    FORM get_errorfile .
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          field_name = 'P_EFILE'
        IMPORTING
          file_name  = p_efile.
    ENDFORM.                    " get_errorfile
    *&           FORM UPLOAD_DATA                                         *
    FORM upload_data .
      fname = p_file.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = fname
          filetype                = 'ASC'
        TABLES
          data_tab                = it_upload
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc NE 0.
        MESSAGE e001(00) WITH 'Error occurred while file reading'.
      ELSE.
        LOOP AT it_upload.
          SPLIT it_upload AT l_tab INTO it_rec-aufnr
                                        it_rec-vornr
                                        it_rec-ltxa1
                                        it_rec-dauno
                                        it_rec-arbei
                                        it_rec-arbpl
                                        it_rec-mat_prkst
                                        it_rec-prkst
                                        it_rec-waers
                                        it_rec-sakto  IN CHARACTER MODE.
          APPEND it_rec.
          CLEAR it_rec.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " upload_data
               FORM BDC DATA
    FORM bdc_data .
      it_rec1[] = it_rec[].
      SORT it_rec1 BY aufnr.
      DELETE ADJACENT DUPLICATES FROM it_rec1 COMPARING aufnr.
      LOOP AT it_rec.
        IF ( ( it_rec-dauno IS NOT INITIAL ) AND
                ( it_rec-arbei IS NOT INITIAL ) AND
                ( it_rec-arbpl IS NOT INITIAL ) AND
                ( it_rec-mat_prkst IS NOT INITIAL ) ).
          MOVE it_rec-aufnr TO it_rec2-aufnr.
          MOVE it_rec-vornr TO it_rec2-vornr.
          MOVE it_rec-ltxa1 TO it_rec2-ltxa1.
          MOVE it_rec-dauno TO it_rec2-dauno.
          MOVE it_rec-arbei TO it_rec2-arbei.
          MOVE it_rec-arbpl TO it_rec2-arbpl.
          MOVE it_rec-mat_prkst TO it_rec2-mat_prkst.
          APPEND it_rec2.
          CLEAR it_rec2.
        ELSEIF ( ( it_rec-dauno IS INITIAL ) AND
                       ( it_rec-arbei IS INITIAL ) AND
                       ( it_rec-arbpl IS INITIAL ) AND
                       ( it_rec-mat_prkst IS INITIAL ) ).
          MOVE it_rec-aufnr TO it_rec3-aufnr.
          MOVE it_rec-vornr TO it_rec3-vornr.
          MOVE it_rec-ltxa1 TO it_rec3-ltxa1.
          MOVE it_rec-prkst TO it_rec3-prkst.
          MOVE it_rec-waers TO it_rec3-waers.
          MOVE it_rec-sakto TO it_rec3-sakto.
          APPEND it_rec3.
          CLEAR it_rec3.
        ENDIF.
      ENDLOOP.
      SORT it_rec2 BY aufnr.
      SORT it_rec3 BY aufnr.
      LOOP AT it_rec1.
        CLEAR l_indx.
        CLEAR l_indx1.
        PERFORM bdc_dynpro      USING 'SAPLCOKO' '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'CAUFVD-AUFNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'CAUFVD-AUFNR'
                                       it_rec1-aufnr.
        PERFORM bdc_dynpro      USING 'SAPLCOKO' '2100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'CAUFVD-KTEXT'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=LIST'.
    --table control--
        LOOP AT it_rec2 WHERE aufnr = it_rec1-aufnr.
          l_indx  = l_indx + 1.
          IF l_indx EQ 14 .
            l_indx = l_indx MOD 12.
            PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=P+'.
          ENDIF.
          PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          CONCATENATE 'AFVGD-DAUNO(' l_indx ')' INTO  g_fieldname.
          PERFORM bdc_field       USING   g_fieldname
                                         'AFVGD-DAUNO'.
          PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          CONCATENATE 'AFVGD-ARBPL(' l_indx ')' INTO  g_fieldname.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                         g_fieldname.
          CONCATENATE 'AFVGD-VORNR(' l_indx ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec2-vornr.
          CONCATENATE 'AFVGD-LTXA1(' l_indx ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec2-ltxa1.
          CONCATENATE 'AFVGD-DAUNO(' l_indx ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec2-dauno.
          CONCATENATE 'AFVGD-ARBEI(' l_indx ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec2-arbei.
          CONCATENATE 'AFVGD-ARBPL(' l_indx ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec2-arbpl.
          PERFORM bdc_dynpro      USING 'SAPLCONW' '1000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=BACK'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'AFVGD-VORNR'.
          PERFORM bdc_field       USING 'AFVGD-VORNR'
                                         it_rec2-vornr.
          PERFORM bdc_field       USING 'AFVGM-LTXA1'
                                         it_rec2-ltxa1.
          PERFORM bdc_field       USING 'AFVGD-ARBPL'
                                         it_rec2-arbpl.
          PERFORM bdc_field       USING 'AFVGD-ARBEI'
                                         it_rec2-arbei.
          PERFORM bdc_field       USING 'AFVGD-DAUNO'
                                         it_rec2-dauno.
          PERFORM bdc_dynpro      USING 'SAPLCONW' '1000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=BACK'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'AFVGD-VORNR'.
          PERFORM bdc_field       USING 'AFVGD-VORNR'
                                         it_rec2-vornr.
          PERFORM bdc_field       USING 'AFVGM-LTXA1'
                                         it_rec2-ltxa1.
          PERFORM bdc_dynpro      USING 'SAPLCONW' '1000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=BACK'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'AFVGD-VORNR'.
          PERFORM bdc_field       USING 'AFVGD-VORNR'
                                         it_rec2-vornr.
          PERFORM bdc_field       USING 'AFVGM-LTXA1'
                                         it_rec2-ltxa1.
          PERFORM bdc_dynpro      USING 'SAPLCONW' '1000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=BACK'.
          PERFORM bdc_field       USING 'AFVGD-VORNR'
                                         it_rec2-vornr.
          PERFORM bdc_field       USING 'AFVGM-LTXA1'
                                         it_rec2-ltxa1.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'AFVGD-MAT_PRKST'.
          PERFORM bdc_field       USING 'AFVGD-MAT_PRKST'
                                         it_rec2-mat_prkst.
          PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'VSNETEXT-NPLNR'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ARBL'.
        ENDLOOP.
        LOOP AT it_rec3 WHERE aufnr = it_rec1-aufnr.
          l_indx1  = l_indx1 + 1.
          IF l_indx1 EQ 14 .
            l_indx1 = l_indx1 MOD 12.
            PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'..
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=P+'.
          ENDIF.
          PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'.
          CONCATENATE 'AFVGD-SAKTO(' l_indx1 ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        'AFVGD-SAKTO'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=KOSL'.
          PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'VSNETEXT-NPLNR'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=KOSL'.
          PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          CONCATENATE 'AFVGD-SAKTO(' l_indx1 ')' INTO  g_fieldname.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                         g_fieldname.
          CONCATENATE 'AFVGD-VORNR(' l_indx1 ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec3-vornr.
          CONCATENATE 'AFVGD-LTXA1(' l_indx1 ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec3-ltxa1.
          CONCATENATE 'AFVGD-PRKST(' l_indx1 ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec3-prkst.
          CONCATENATE 'AFVGD-WAERS(' l_indx1')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec3-waers.
          CONCATENATE 'AFVGD-SAKTO(' l_indx1 ')' INTO  g_fieldname.
          PERFORM bdc_field       USING g_fieldname
                                        it_rec3-sakto.
          PERFORM bdc_dynpro      USING 'SAPLCONW' '1000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=BACK'.
          PERFORM bdc_field       USING 'AFVGD-VORNR'
                                         it_rec3-vornr.
          PERFORM bdc_field       USING 'AFVGM-LTXA1'
                                         it_rec3-ltxa1.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'AFVGD-PRKST'.
          PERFORM bdc_field       USING 'AFVGD-PRKST'
                                         it_rec3-prkst.
          PERFORM bdc_field       USING 'AFVGD-WAERS'
                                         it_rec3-waers.
          PERFORM bdc_field       USING 'AFVGD-SAKTO'
                                         it_rec3-sakto.
          PERFORM bdc_dynpro      USING 'SAPLCONW' '1000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=BACK'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'AFVGD-VORNR'.
          PERFORM bdc_field       USING 'AFVGD-VORNR'
                                         it_rec3-vornr.
          PERFORM bdc_field       USING 'AFVGM-LTXA1'
                                         it_rec3-ltxa1.
          PERFORM bdc_dynpro      USING 'SAPLCONW' '1000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=BACK'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'AFVGD-VORNR'.
          PERFORM bdc_field       USING 'AFVGD-VORNR'
                                         it_rec3-vornr.
          PERFORM bdc_field       USING 'AFVGM-LTXA1'
                                         it_rec3-ltxa1.
          PERFORM bdc_dynpro      USING 'SAPLCONW' '1000'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=BACK'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'AFVGD-VORNR'.
          PERFORM bdc_field       USING 'AFVGD-VORNR'
                                         it_rec3-vornr.
          PERFORM bdc_field       USING 'AFVGM-LTXA1'
                                         it_rec3-ltxa1.
          PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'VSNETEXT-NPLNR'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=ARBL'.
        ENDLOOP.
        CLEAR it_rec.
        WAIT UP TO 10 SECONDS.
        PERFORM bdc_dynpro      USING 'SAPLCOVG' '2000'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VSNETEXT-NPLNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=BU'.
        REFRESH messtab.
        CLEAR messtab.
        CALL TRANSACTION 'CN22' USING bdcdata
                          OPTIONS FROM opt MESSAGES INTO messtab.
    ********ERROR MESSAGES TABLE************
        LOOP AT messtab WHERE ( msgtyp = 'E' ).
          CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
              id        = messtab-msgid
              lang      = '-D'
              no        = messtab-msgnr
              v1        = messtab-msgv1
              v2        = messtab-msgv2
              v3        = messtab-msgv3
              v4        = messtab-msgv4
            IMPORTING
              msg       = l_string
            EXCEPTIONS
              not_found = 1
              OTHERS    = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSE.
            it_msg-msgnr    = it_rec-aufnr.
            it_msg-msgtyp   = messtab-msgtyp.
            it_msg-message  = l_string.
            APPEND it_msg.
            CLEAR it_msg.
            CLEAR l_string.
            CLEAR messtab.
          ENDIF.
        ENDLOOP.                "IT_REC
        REFRESH bdcdata.
        CLEAR bdcdata.
      ENDLOOP.                                                  "IT_REC1
    ENDFORM.                    " bdc_data
           Start new screen                                             *
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                 *
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDFORM.                    "BDC_FIELD
    *&      Form  download_errorfile                                      *
    FORM download_errorfile .
      fname1 = p_efile.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = fname1
          filetype                = 'ASC'
          write_field_separator   = 'X'
        TABLES
          data_tab                = it_msg[]
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " download_errorfile

  • Master Catalog is locked!

    Need you help!
    Our master catalog is locked and I'm trying to unlock it. As I read some of the postings in this thread, I checked /CCM/D_CTLG_REG and I see two versions of our master catalog. However, both versions are inactive (there's no x next to either one).
    To unlock or delete inactive catalogs, there's /CCM/CLEANUP_CATALOG. Since our master catalog is inactive for both versions, if I delete 'inactive' version, would that delete both of them? How do I set one of these to active and delete the inactive one?
    Please help.
    SN

    Hi
    <u>Which CCM version are you using ?</u>
    <b>We faced fimilar issue ... SAP has suggested this long back -></b>
    <i>The problem is as a result of a system restart which occured while a
    publication job was in process. The shutdown cancelled the job for
    program /CCM/PE_START_REG_PUBLICATION but did not cancel or clean up
    the corresponding table entries which are causing the error you now
    encounter</i>
    Go to table <b>/ccm/d_pub_st</b>
    Here you will see one entry in status 'R' (Running) this needs to be
    changed to status 'E' (Published with errors)
    Then Use report again /ccm/cleanup_catalog
    <b>Related Help links -></b>
    To remove the locks, use SE38 transaction and type program name as /CCM/CLEANUP_CATALOG to unlock or delete catalogues. Please select the correct option !
    Re: CCM Mater catalog is locked
    Re: /CCM/CLEANUP_CATALOG won't unlock the catalog
    Re: CCM Related
    <b>Related SAP OSS Notes -></b>
    Note 965357 - /CCM/CLEANUP_MAPPING: Long runtimes Note 773975 - TIME_OUT short dump when publishing very large catalogs
    Note 909907 - Improved performance of update overview (CCM20)
    <b>Please see the related links which deal with the same issue, and will definitely answer your query -></b>
    Unlock catalog
    Go to transaction SE38 and execute program /CCM/CLEANUP_CATALOG. Information about the catalog status is held in table /CCM/D_CTLG_REQ.
    If your catalog is locked by UI (i.e. publishing) try the report /CCM/CLEANUP_UPDATE_STATUS.
    CCM Mater catalog is locked
    Re: /CCM/CLEANUP_CATALOG won't unlock the catalog
    Do let me know incase you still have any queries.
    Regards
    - Atul

  • Call a external vendor catalog - OCI In ECC using web dynpro

    Hello Everyone,
    We have a requirement to call a OCI External Catalog in ME51n Transaction in ECC, that is working fine.
    Now we need to create a Web dynpro ABAP Application which performs the Task of ME51n Transaction along with OCI Integration.
    So far i have create a small Web dynpro ABAP application to check does OCI Catalog can be integrated in ECC using web dynpro ABAP.
    My Screen Consit of a single Button UI, on click of the button i am calling the External Catalog, from the catalog i select all the materials and click on submit finally we need to bring all the selected materials to get displayed ina table.
    Half of the Development is done i.e i am able to call the catalog but not able to receive the selected materials.
    following are the details-
    1. I check in SRM first how the Ctalogs are been called, i found 2 Services responsible for the same in SICF transaction -
    Inbound HLDR and Outbound HLDR which uses handler class as SAPSRM_CL_CH_WD_INBOUND_HDLR and SAPSRM_CL_CH_WD_OUTBOUND_HDL, so i copied the same classes into ECC and created the same SICF Service.
    Contn. in next post

    2.In my Web Dynpro ABAP application i have a Inbound plug in my window in the  handler method of the inbound plug i fill a table lt_parameters of  TYPE tihttpnvp, it has 2 columns name and value
    In this table i fill following entries-
    Name-CATALOG_URL
    Value-https://XXXXXXXX.com/invoke/BVProcess.SAPOCI/processCatalogRequest
    Name-USERNAME
    Value-XXXXXXXX
    Name-PASSWORD
    Value-XXXXXXXX
    NAME  = 'HOOK_URL'.
    VALUE = 'http:/XXXXX.hostederp.local:8000/sap/ZOTC_CAT/Zinbound_hdlr'."?TARGET_URL= {Appdress of the WDA Apllication}
    NAME  = 'OCI_VERSION'.
    VALUE = '4.0'.
    NAME  = 'OPI_VERSION'.
    VALUE = '1.0'.
    NAME  = 'returntarget'.
    VALUE = _top
    also in this inbound plug handler method i fill a lv_url variable of type string with-
    lv_url = 'http://XXXXXX.hostederp.local:8000/sap/ZOTC_CAT/Zoutbound_hdlr?sap-client=100&sap-language=E'.
    3. finally from the handler method of the inbound plug i call a Suspend plug p[assing the above two variables i.e
    lt_parameters and  lv_url.
    wd_this->fire_zw_suspend_plg( url =    lv_url   i_parameter_tab = lt_parameters ).
    4. Using above i cam able to call the catalog and select the materials.
    5. Now if i Finally clcik on submit on the catalog it should return the materials to the WDA Application.
    For WDA Application to accept the Materials i have created a resume plug in which i am using -
    wdr_task=>server->request->get_form_fields( CHANGING fields = lt_fields ). to get all the selected materials into lt_fields.
    6. But unfortunately i am unable to receive the selected materials in lt_fields.
    I think i am missing something in Hook URL or some other parameter.
    Please help, ur comments and suggestions are welcome.
    Regards,
    Akash Rana

  • Interface for Procurement Using Catalogs (OCI)

    Hello all,
    I like to have a lot of explications for this cutomizing for a flow PM.I would like call a catalog if I create order PM never pass to EBP sytem.
    If I finish this customizing Interface for <b>Procurement</b> <b>Using Catalogs (OCI)</b> in R/3 system who R/3 taking all informations for a catalog when a order PM has been created.
    There is a button to use a catalog if a transaction IW31 or IW32 has been executed or not?
    This version SAP is ECC5.
    Thanks for your response.

    Hi Mady,
    here are high level steps for PM/OCI:
    - SPRO: Maintenance and Service Orders -> Interface for Procurement Using Catalogs (OCI) --> Define Catalogs
    - SPRO: Maintenance and Service Orders -> Interface for Procurement Using Catalogs (OCI) --> Assign Catalog to Order Type
    As of SAP ECC 5.00, PLM Extension (EA_PLM 500), you can call up an external catalog in a maintenance order or service order, a maintenance task list or a network, and copy services from this catalog into the order or task list or network.
    You also now have the option of storing multiple catalogs for each of the following criteria:
    - Order type and planning plant
    - Task list category and plant
    - Network type and plant
    If all this customizing is OK, a little "Catalog" button will appear in maintenance or service order transaction.
    Rgds
    Christophe

  • How to Download all the images for given product catalog into Localsystem?

    IN CRM - requirement is  to Identify products which are all having images for a given product catalog (maintained via Transaction Code : COMM_PCAT_ADM ) Download them into desktop.
    (around 20000 images).Please suggest me Function Modules if any.(or Standard transactions avaialable?)
    Thanks

    You can check if catalog Export functionality can be used to do your job. The feature allows to export the catalog with the mime objects (the images)...

Maybe you are looking for

  • What's wrong with my method

    I have a method with 2 parameters: public void getFileInfo(int array_length,String user_name) int arraylength=array_length; username=user_name; downloadname_files = new String[arraylength]; displayname_files = new String[arraylength]; size_files = ne

  • My email messages are not loading. I have not changed any settings. I can still send messages but cannot receive them

    As of 5:30 pm yesterday my emails stopped coming in. When I open the account it shows I have 23 messages but nothing loads. I can still send messages and my internet connection is strong. How can I fix this?

  • List in table of contents

    I'm trying to set up my TOC but it won't insert the paragraph numbers.  I'm using Pages version 5.0.1 and have been able to set the TOC up but none of the paragraph numbers have been inserted.  Any ideas?

  • How to call Web URL's as values of an BW InfoObject via BEx Web

    Hi experts, I want to call Web URL´s as values of an BW InfoObject via BEx Web. Is there any option to convert the character into a direct URL link to call the Web adress directly? Example: no direct URL (e.g. http://help.sap.com) to call the Web add

  • URGENT !! Calling XML document in FORMS 6i

    Hello Friends, This is Anurag here . I have created an Application Help System in XML based on a WORD Document . Please can any one let me know how can I call this XML document in my application created in FORMS 6i. Its slightly urgent and any help f