CCM - Publishing Master catalog gives short dump and terminates publishing

Hello Experts,
we are implementing SRM 5.0 with CCM 2.0 in SP08.
When we tried to publish the master catalog in CCM. we are getting the following error.
FYI..
i ran /CCM/initialize_cme once.
Checked TREX it is working fine. (checked with reports as well)
Your help will be greatly appreicated.
Thanks, Renga.
-========================================================-
Data type 4688C4C9FE4702CE00000000AC140239_ 0000000001  does not exist
Data type  not found
Data type  not found
Unable to initialize the characteristics/data types (catalog /CCM/MASTER_CATALOG)
Error when generating catalog /CCM/MASTER_CATALOG
Catalog update was terminated
Error when generating catalog /CCM/MASTER_CATALOG
Publication in target system was discarded
Exception /CCM/CX_PUBLICATION_FAILED occurred (program: /CCM/CL_PE_PACKAGING_SERVICE==CP, include: /CCM/CL_PE_PACKAGING_SERVICE=
Exception /CCM/CX_PUBLICATION_FAILED occurred (program: /CCM/CL_PE_REQUEST_SERVICE====CP, include: /CCM/CL_PE_REQUEST_SERVICE===
07/03/2007 13:45:01 (EST): Catalog publication was started
Publishing catalog /CCM/MASTER_CATALOG for the first time
Publication will only be local
Maximum package size (catalog items): 5000
07/03/2007 13:45:02 (EST): >>> Start: Publication of catalog model
07/03/2007 13:45:03 (EST): Data types published; 25 updated/created; 0 deleted
07/03/2007 13:45:03 (EST): Characteristics published; 35 updated/created; 0 deleted
07/03/2007 13:45:03 (EST): Schemas published; 1 updated/created; 0 deleted
07/03/2007 13:45:03 (EST): Categories published; 313 updated/created; 0 deleted
07/03/2007 13:45:03 (EST): >>> End: Publication of catalog model
07/03/2007 13:45:03 (EST): >>> Start: Publication of catalog content
07/03/2007 13:45:03 (EST) ************ Start Applications Log for Package 0001 *******************
07/03/2007 13:45:03 (EST): Package 0001 is being transferred to Update Manager
07/03/2007 13:45:03 (EST): Package 0001 is being updated locally
Catalog update was terminated
07/03/2007 13:45:05 (EST) ************* End Applications Log for Package 0001 ********************
07/03/2007 13:45:05 (EST): Package Nr. 0001 was sent
07/03/2007 13:45:01 (EST): system is waiting for response messages
07/03/2007 13:45:04 (EST): >>> Start: Processing of confirmation message for package 0001
Local update of package 0001 has failed
07/03/2007 13:45:04 (EST): >>> End: Processing of confirmation message for package 0001
07/03/2007 13:45:04 (EST): >>> Start: Processing of confirmation message for catalog
Local publication of catalog /CCM/MASTER_CATALOG has failed
07/03/2007 13:45:04 (EST): >>> End: Processing of confirmation message for catalog
07/03/2007 13:45:05 (EST): End of catalog publication
Total runtime of catalog publication: 00:00:04 ***
-========================================================-

Hi
<b>Please go through the SAP OSS Notes below -></b>
Note 866547 Error when accessing TREX server
Note 878316 - Missing standard characteristics in CCM2.0 catalogs
Note 910814 Lowercase letters in ID
Note 734168 - Error during initialization of characteristics & data types
Note 730047 CME-Customizing check
Note 937756 Runtime improvement when using view rules
Note 933796 Timeout while publishing using parallel processes
Note 904420 Tolerating inconsistencies in the view relationship
Do let me know.
Regards
- Atul

Similar Messages

  • REUSE_ALV_LIST_DISPLAY give short dump beyond 100 columns

    Hi,
    I have more than 170 columns in my internal table and this gives short dump when it reached 100the column because the structure RS_HEADER which displays column header can only hold 99 columns.
    Is there anyway I still use REUSE_ALV_LIST_DISPLAY  and overcome the short dump issue.
    Regards
    Kasi

    Although I have not encountered such a case, I would suggest the following: After 99 field, modify the field catalog by setting the excess fields as no_out = abap_true (provided TYPE-POOLS: abap is declared) Then, the user should be limited to a certain number of fields and if he/she wants more fields to be displayed, then he/she should change the layout. I hope that works.

  • SAP Short Dumps and PCI Compliance

    We've run into an issue with our PCI Compliance audit around being able to see unencrypted credit cards in short dump messages in SAP.  Has anyone run into this issue?
    Only work around I've got at this point is to restrict all access to short dumps and require many documented signoffs before turning on and off access to a short dump.  This is pretty cumbersome, and still leaves a hole in my overall security.
    We've managed to purge restricted CC data from our XI logging, and done everything right with encryption, but this short dump issue just doesn't seem to have a solution.
    Can anyone help?  We're on 6.0.
    Thanks!

    Hi David,
    This is an interesting situation you have described. ABAP short-dumps or run-time errors as they are also known as, are unhandled exceptions during program execution. The conditions that cause such exceptions is unknown or cannot be handled at run-time. To help analyze what went wrong with the said program during execution, it is necessary for the dump to contain all possible information including data values passed between programs when the error occurs. Encryption of restricted data values is a program step in itself. If the dump were to occur after this step then of course it would contain encrypted CC info. Unfortunately in your case it exposes restricted CC info because the dump occurs BEFORE this step.
    I don't believe there is a way to prevent this from happening -- for the same reason that the program logic does not know at run-time how to "handle" the exception. If occurrences of such dumps is fairly common in your system, you may want to investigate the likely causes -- for example, missing or incorrect customization. Analyzing the short dumps will probably give you a clue. Your customization team may be able to identify a pre-condition that causes this unhandled exception. If this exception can then be handled (via a program change) that returns a meaningful error instead of a short dump you would be able to close the security hole. This however entails modification to SAP standard code. I don't usually recommend such changes, but given the sensitive nature of your data it may be worth consideration.
    I personally advocate restricted access to ST22. The steps you have undertaken to enforce this may be cumbersome despite efforts to keep it simple. I suppose that's the price we pay in administering the system. If you have not already done so, you may also want to ensure that short-dumps that contain restricted CC info are not saved (using the "Keep" feature in ST22) for easy retrieval at a later point in time or they are saved, it be available only to 'restricted eyes'. Short-dumps are normally saved in the system for 7 or 14 days (not sure of exact # of days). The bigger challenge in my opinion is: How do you prevent the restricted info from being viewed by the user who during the course of program/transaction execution encounters the said short dump? No amount of security controls around ST22 will mitigate this risk. The only option that remains is program change (as mentioned above). But to get there you first need to know what causes the exception.
    Regards.
    Ashutosh

  • Extraction failed and gives short dump

    error messege  while extracting data source 0plant_attr in RSA4
    the following syntax error occured in program SAPLMDEX in include LMDEZ$01
    BIW_KNA1_S must be a flat structure ,you cannot use internal tables,srtings ,refferences or structures

    Hi
    This might occurred due to incorrect declaration of temp. variables. Please go through the shortdump. There is a point in the shortdump where a pointer points at the line of error.
    Also parallely check for user exit code written in CMOD tcode. Check the component EXIT_SAPLRSAP_001 and search for the datasource. You will find your code.
    Regards
    Murthy Gunuputi

  • How to delete and create the CCM MASTER CATALOG in Catalog Content?

    Hi All,
    Please provide the solution as we are in real trouble.
    We have to delete master catalog and upload it again. Deletion is done because the mapping and all are being corrupted. SAP has suggested to delete the catalog and again upload it and do all the mapping again related to supplier and procurement catalog
    http://help.sap.com/saphelp_srm50/helpdata/en/7f/9b62405c910272e10000000a155106/frameset.htm.
    In the link above I found information really useful, however according to the document the CCM MASTER CATALOG should be created automatically by the SAP Catalog Authoring Tool, this happens the first time that you are using the system.
    Catalog Creation
    You use this function to create catalogs in SAP Catalog Authoring Tool.
    You can create the following types of catalogs:
    Supplier catalogs
    Procurement catalogs
    Model service catalogs
    Note
    SAP Catalog Authoring Tool creates the master catalog, the SRM product catalog, SRM contract catalogs, and the contract catalog for service specifications automatically.
    When SAP Catalog Authoring Tool is used for the first time, you must open the Edit Catalogs application once, before you create any catalogs. Choosing Edit Catalogs triggers the creation of the master catalog. If you do not do this, SAP Catalog Authoring Tool outputs an error message when you try to create a catalog.
    We have already the Master Schema and we know how to map the CCM MASTER CATALOG to the supplier and procurement catalogs. The main problem is that we need to delete the CCM/MASTERCATALOG and created again.
    1. How delete the CCM/MASTERCATALOG?
    In a Test environment I have delete the CCM/MASTERCATALOG using the "Edit Catalogs" mode then choosing the catalog and confirm the deletion.
    Once this has been done, all the catalogs has been erased including the CCM/MASTERCATALOG, so now we have the system in blank. I am not sure if this is the correct way to delete the catalog or there is an easiest way where the Procurement and supplier catalogs don't disappear once the CCM/MASTERCATALOG is deleted.
    2. Once the CCM/MASTERCATAOG is deleted how to created again?
    According to the instructions the SAP Catalog Authoring Tool should created this automatically when is used for the first time, however how we can created the CCM/MASTERCATALOG again if the SAP Catalog Authoring Tool is not used for the fist time.
    Is there a way where the system can create the CCM/MASTERCATALOG for a second time?
    I follow the steps to create the CCM/MASTERCATALOG for the first time however I didn't get a positive result.
    Any help provided will be really appreciated.

    Hi,
    Generation of the /CCM/MASTER_CATALOG is automatic and does not require any additional effort from a catalog admin other than accessing the CDC (Edit Catalogs).
    If the catalog is not regenerated at this point it is likely that you then receive an error like 'Error reading catalogs, error reading Master Catalog' or something similar which would indicate that the previous deletion of the master from either table /CCM/D_CTLG or /CCM/D_CTLG_REQ was not successfully completed or that the update operation in table /CCM/D_UPD_STATE remained in update status and never for some reason completed (status 03).
    Deletion of the Master catalog should not cause the deletion of any other catalog, unless you have chosen 'delete all catalogs'! Choosing the Master and delete should result in only a deletion request for the master catalog, be aware however that all mapping records between Supplier -> Master -> Procurement catalogs will be destroyed and cannot be 'rejoined' but only rebuilt from scratch. It is also advisable after the Master deletion to chcek with report /CCM/CLEANUP_MAPPING which orphaned items and mapping records require cleanup as it is better to remove these before proceeding with the new mappings.
    Regards,
    Jason

  • Upload categories master catalog

    Hi to all,
    - I am working in the extended classic scenario
    - release 5.0
    - file .CSV 2.0
    I have a problem uploading the categories of the master catalog:
    when i go to edit the master catalog, the system doesn't permit to see the categories and i can read the following error message:"not category in the master catalog".
    The master catalog is in error.
    I can see that it has no category (it is empty) and there are two red dots, one under "published" and one under "uploaded".
    So I want one of the following:
    1.To create a new master catalog, can you help me step by step?
    2.Is it possible to have a general file in format .CSV to upload my master catalogin error?
    Best regards.
    thanks a lot.
    DaviMarc

    Hi DaviMarc,
    Which version and SP of CCM are you using? if you have problems to edit your master catalog you can check OSS Note 1024002 (depends of your version)
    On the other hand I have an example of the file to upload the schema to the master catalog, give me your ID and I can send you
    Regards,
    José Luis D.

  • Short Dump Error in deleting the Init request

    Hi Gurus,
      i am loading master data from sap r3 by init update.
    now due to some requirement i have to delete the init request , but when i try to delete the request
    it goes to short dump and gives the error message as
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          01/05/2009 01:54:15
    Short text
         The current application triggered a termination with a short du
    What happened?
         The current application program detected a situation which real
         should not occur. Therefore, a termination with a short dump wa
         triggered on purpose by the key word MESSAGE (type X).
    Error analysis
         Short text of error message:
         Error when opening an RFC connection
         Long text of error message:
         Technical information about the message:
         Message class....... "RSAR"
         Number.............. 051
         Variable 1.......... "Error when opening an RFC connection"
         Variable 2.......... " "
         Variable 3.......... " "
         Variable 4.......... " "
         Last error logged in SAP kernel
         Component............ "SAP-Gateway"
         Place................ "SAP-Gateway on host sapdev / sapgw00"
         Version.............. 2
         Error code........... 631
         Error text........... "max no of gateways exceeded (100)"
         Description.......... " "
         System call.......... " "
         Module............... "gwxxrd.c"
         Line................. 8438
         The error reported by the operating system is:
         Error number..... " "
         Error text....... " "
    Trigger Location of Runtime Error
        Program                                 SAPLRSSM
        Include                                 LRSSMF03
        Row                                     1,627
        Module type                             (FORM)
        Module Name                             DEL_SOURCE_SYSTEM_INIT
    1624           communication_failure = 1  message l_msg_text
    1625           system_failure        = 2  message l_msg_text.
    1626       if sy-subrc <> 0.
    >>>>>         message x051(rsar) with l_msg_text(50) l_msg_text+50(50) '' ''.
    1628       endif.
    Please help me on this as untill it will not be deleted, I will be unable to load the data.
    suitable answer will get Full points.
    Thanks.

    Hi Saurabh,
    PLEase go through these notes:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_cst/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383837393039%7d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_cst/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383934313030%7d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_cst/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393738303738%7d

  • Short dumps, tuning

    What are techniques used for tuning query performance? Please explain in detail?
    What are short dumps how can we check?
    What methodologies we follow for the PSA cleansing? Where exactly is the PSA change log where we can delete the request based on timestamp details am using BW 3.1c?
    plz help points assured....

    Hi,
    For query performance please check the following link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/b987eb1443534ba78a793f4beed9d5/frameset.htm
    Short dumps:
    A short dump is an program error because of which the process terminates. It is notified and can be viewed in t-code ST22 on a particular usernaem where you can analyze the reason for short dump.
    and refer these links
    http://publib.boulder.ibm.com/tividd/td/ITMAN/SC32-9195-00/en_US/HTML/sap_add06.htm
    short dump
    Short dump while loading data?
    Update rules activation gives short dump?
    Delete of Master Data creates short dump?
    PSA:
    check the following link
    http://help.sap.com/saphelp_nw70/helpdata/EN/bd/c627c88f9e11d4b2c90050da4c74dc/frameset.htm
    Hope it help u.
    Assign Points if it helps.
    Regards,
    RKC
    Edited by: RKC on Mar 7, 2008 11:29 AM

  • How to upload Master Catalog Schema in Catalog Content Management SRM

    Hi All,
    Please provide the solution as we are in real trouble.
    We have to delete master catalog and upload it again. Deletion is done because the mapping and all are being corrupted. SAP has suggested to delete the catalog and again upload it and do all the mapping again related to supplier and procurement catalog.
    Can all of you guide us what to do:
    1. How to delete a existing Master catalog (can de-publish will do it?)?
    2. We have the master catalog schema with us. Please tell how to upload this schema. Which link we have to follow?
    3. After uploading the master schema how we can check that master catalog is working fine.
    The answers will be rewarded with valuable points
    Regards
    Praveen K Ghosh

    Sridhar,
    I am contacting you regarding the same problem with the CCM MASTER CATALOG, as Praveen said, SAP has suggested to delete the catalog and again upload it and do all the mapping again related to supplier and procurement catalog.
    I have read the documents that you refer to at http://help.sap.com/saphelp_srm50/helpdata/en/7f/9b62405c910272e10000000a155106/frameset.htm.
    In this link I found information really useful, however according to the document the CCM MASTER CATALOG should be created automatically by the SAP Catalog Authoring Tool, this happends the first time that you are using the system.
    Catalog Creation
    You use this function to create catalogs in SAP Catalog Authoring Tool.
    You can create the following types of catalogs:
    Supplier catalogs
    Procurement catalogs
    Model service catalogs
    Note
    SAP Catalog Authoring Tool creates the master catalog, the SRM product catalog, SRM contract catalogs, and the contract catalog for service specifications automatically.
    When SAP Catalog Authoring Tool is used for the first time, you must open the Edit Catalogs application once, before you create any catalogs. Choosing Edit Catalogs triggers the creation of the master catalog. If you do not do this, SAP Catalog Authoring Tool outputs an error message when you try to create a catalog.
    We have already the Master Schema and we know how to map the CCM MASTER CATALOG to the supplier and procurement catalogs. The main problem is that we need to delete the CCM/MASTERCATALOG and created again.
    1. How delete the CCM/MASTERCATALOG?
    In a Test enviroment I have delete the CCM/MASTERCATALOG using the "Edit Catalogs" mode then choosing the catalog and confirm the deletion.
    Once this has been done, all the catalogs has been erased including the CCM/MASTERCATALOG, so now we have the system in blank. I am not sure if this is the correct way to delete the catalog or there is an easiest way where the Procurement and supplier catalogs dont dissapear once the CCM/MASTERCATALOG is deleted.
    2. Once the CCM/MASTERCATAOG is deleted how to created again?
    According to the instructions the SAP Catalog Authoring Tool should created this automatically when is used for the first time, however how we can created the CCM/MASTERCATALOG again if the SAP Catalog Authoring Tool is not used for the fist time.
    Is there a way where the system can create the CCM/MASTERCATALOG for a second time?
    I follow the steps to create the CCM/MASTERCATALOG for the first time however i didnt get a positive result.
    Any help provided will be really appreciated.
    Thanks in advance
    Carlos

  • Short dump while executing APD

    Hi Experts,
                      We have a requirement to populate key and text values for 23 charecterstics in to a flat file. For this we have created a APD with query as source, This query will bring key values. And text values are populated using APD routine which will look up respective text tables and all the result data is downloaded in to a flat file.
    When testing this APD i have come across a short dump, as all the charecterstics are placed in rows. Then i have applied static filters in the query for some of charecterstics and executed the APD. It worked. But if try to execute APD with no filters in the query it gives me short dump. Request you to suggest strategy which will avoid the short dump and improve the performance, where i can display all the 23 charecterstics key and text values.
    Thanks in advance.

    Hi Javed
    Here are couple of things what you can try
    - You can apply filters in the APD and split the data into small chunks and later collate the data into one final file, this can be done by decisions in APD
    - There is a difference how you have created your query and applied the filters/restrictions,In case of 7x queries none of the filters should be in Default tabs and all of them should be in Filters tab only
    - From my previous experiences I have seen that at times you add a dummy "Filter" type be applied in APD to avoid such issues, so give this a try as well
    Thanks
    Abhishek Shanbhogue

  • Short dump while using FM "BAPI_GOODSMVT_CREATE" in background

    Hi Sir,
    I am using the FM "BAPI_GOODSMVT_CREATE" to create the Goods movement. While running the program through a job in background, article docu is generated successfully,,but at the same time it gives short dump in ST22.
    Short text
        Exception condition "CNTL_ERROR" raised.
    A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP" raised the
    exception
    condition "CNTL_ERROR".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Please tell me what can be the possible reason for the same and how to avoid the same?
    Warm regards
    Krishan

    There's at least one note addressing this. You should be able to find it quite easily.
    Rob

  • Getting short dump at the time of loading data from R/3 to ODS

    Hi BW Grurus,
    I am trying to load data from R/3 to ODS, but after running for a few minutes it is getting into the short dump and displays the following run time error. So please give me solution how I can load data without getting short dump. I tried thrice but it is giving the same and failed.
    Run time error : TSV_TNEW_PAGE_ALLOC_FAILED

    Hi,
    Check, is start routine or individual routine in present in update/transfer rule?
    May be read large amount data (select * from) another ODS and put into internal table cause these type of error.
    Regards,
    Saran

  • Short Dump when downloading to EXCEL from ALV

    Hi,
    I have an ALV grid display program. The data in the grid is displayed correctly. But when trying to download the data to excel it gives a short dump.
    Assignment error: Overwriting a protected field.
    What happened?
    Error in ABAP application program.
    The current ABAP program "SAPLKKBL" had to be terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    Some times it allows to download the data, but sometimes it gives short dump.
    Thanks,
    Deepthi

    This is my part of the code:
      i_fieldcat-key     = gc_x.
      i_fieldcat-no_zero = gc_x.
      i_fieldcat-fix_column  = 'X'.
      i_fieldcat-hotspot = gc_x.
      perform bild_fieldcat using
        '' 'AUFNR' 'GT_REPORT ' ' '  'CAUFV'  ' '  'C' '12' ' '.
      perform bild_fieldcat using
        '' 'DISGR' 'GT_REPORT ' ' '  'MARC' ' '  'C' '4' ' '.
      perform bild_fieldcat using
        '' 'AUART' 'GT_REPORT ' ' '  'CAUFV' ' '  'C' '04' ' '.
      perform bild_fieldcat using
        '' 'DISPO' 'GT_REPORT ' ' '  'CAUFV' ' ' 'C' '06' ' '.
      i_fieldcat-no_zero = gc_x.
      perform bild_fieldcat using
        '' 'MATNR' 'GT_REPORT ' ' '  'MARA' ' '  'C' '18' ' '.
      i_fieldcat-no_zero = gc_x.
      perform bild_fieldcat using
        '' 'CHARG' 'GT_REPORT ' ' '  'MDFA' ' ' 'C' '14' ' ' .
    *begin insert RCHALASA
      i_fieldcat-no_zero = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform bild_fieldcat using
        '' 'FTRMI' 'GT_REPORT ' ' '  'CAUFV' ' ' 'D' '08' ' '.
    *end insert
      i_fieldcat-no_zero = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform bild_fieldcat using
        '' 'GLTRP' 'GT_REPORT ' ' '  'CAUFV'  ' '  'D' '10' ' '.
      i_fieldcat-no_zero = gc_x.
      perform bild_fieldcat using
        '' 'GLTRS' 'GT_REPORT' ' '  'CAUFV' ' ' 'D' '10' ' '.
      perform bild_fieldcat using
        '' 'GSTRP' 'GT_REPORT' ' '  'CAUFV' ' '  'D' '10' ' '.
      perform bild_fieldcat using
        '' 'AGE' 'GT_REPORT' ' '  ' ' 'Age'  'C' '08' ' '.
      i_fieldcat-no_zero = gc_x.
    i_fieldcat-do_sum  = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform assign_alv_qty_format.
      perform bild_fieldcat using
        '' 'GAMNG' 'GT_REPORT' ' '  ' '  'Order Qty'  'QUAN' '09' ' '.
      perform bild_fieldcat using
        '' 'STK_PROD_FLAG' 'GT_REPORT' ' '   ' '  'Stk/Prod'  'C' '06' ' '.
      i_fieldcat-no_zero = gc_x.
    i_fieldcat-do_sum  = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform assign_alv_qty_format.
      perform bild_fieldcat using
        '' 'IGMNG' 'GT_REPORT' ' '  ' ' 'Order Yield Qty' 'QUAN' '11' ' '.
      i_fieldcat-no_zero = gc_x.
    i_fieldcat-do_sum  = gc_x.
      i_fieldcat-fix_column  = 'X'.
      perform assign_alv_qty_format.
      perform bild_fieldcat using
        '' 'IASMG' 'GT_REPORT' ' ' ' ' 'Order Scrap Qty'  'QUAN' '11' ' '.
    **begin insert RCHALASA
      perform bild_fieldcat using
         '' 'YIELD_PER' 'GT_REPORT' ' ' ' ' 'Yield'  'C' '05' ' '.
    **end insert
    DATA: col_pos like sy-colno.
    col_pos = '17'.
      loop at gt_oper.
        gv_tabix = sy-tabix.
        i_fieldcat-no_zero = gc_x.
        i_fieldcat-do_sum  = gc_x.
        i_fieldcat-fix_column  = 'X'.
       col_pos = col_pos + 1.
        perform assign_alv_qty_format.
        gv_yield6(03) = gt_oper-vornr1(03).
    *begin insert RCHALASA
        move gt_oper-ltxa1 to gv_text.
      translate gv_text to upper case.
    gv_text = gv_yield.
    *end insert
        gv_tabixn = gv_tabix.
        gv_yield+6(03) = gv_tabixn.
        gv_fieldname = gv_yield.
        translate gv_fieldname to upper case.
        perform bild_fieldcat using
         '' gv_fieldname 'GT_REPORT' ' ' ' ' gv_text  'QUAN' '04' ' '.
       perform assign_alv_qty_format.
      gv_scrap6(03) = gt_oper-vornr1(03).
      select single
             grdtx
             from trugt
             into gv_text1
             where
             grund = gt_oper-vornr
             and werks in s_werks.
       gv_text = gv_scrap.
       i_fieldcat-no_zero = gc_x.
       gv_tabixn = gv_tabix.
      gv_scrap+6(03) = gv_tabixn.
       gv_fieldname = gv_scrap.
       translate gv_fieldname to upper case.
       perform bild_fieldcat using
         gv_fieldname 'GT_REPORT' ' ' gv_text1 'X' 'QUAN' '08' ' '.
       clear gv_text1.
      endloop.  " GT_OPER
      DATA: count type c.
      DESCRIBE table gt_grund lines count.
      loop at gt_grund into gl_grund.
        gv_tabix = sy-tabix.
        i_fieldcat-no_zero = gc_x.
        i_fieldcat-do_sum  = gc_x.
        i_fieldcat-fix_column  = 'X'.
        perform assign_alv_qty_format.
        if gl_grund-grund is initial.
          gl_grund = 'NONE'.
          gv_text = gl_grund.
        else.
           gv_text = gl_grund-grdtx.
        endif.
        gv_tabixn = gv_tabix.
        gv_scrap_code+11(03) = gv_tabixn.
        gv_fieldname = gv_scrap_code.
        translate gv_fieldname to upper case.
       col_pos = col_pos + 1.
        perform bild_fieldcat using
          '' gv_fieldname 'GT_REPORT' 'XMNGA' 'AFRU'  gv_text  'QUAN' '12' ' ' .
      endloop.  " GT_OPER
      gb_layout-zebra = 'X'.
      gb_print-no_print_listinfos = 'X'.
      gb_variant-variant = p_varia.
      perform create_events using gt_events[].
      call function 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text = 'Reading SAP Records.......'(600).
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program       = gv_repid
                i_callback_top_of_page   = 'TOP_OF_PAGE'
               i_callback_pf_status_set = 'SET_STATUS'
                i_callback_user_command  = 'CALL_UP_SAP_TRANS'
                it_fieldcat              = i_fieldcat[]
                is_layout                = gb_layout
                i_grid_title             = gb_title
                i_default                = 'X'
                i_save                   = 'X'
                is_variant               = gb_variant
                is_print                 = gb_print
                it_events                = gt_events[]
           tables
                t_outtab                 = gt_report
           exceptions
                program_error            = 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.
      endif.
    ***********ALV SUBROUTINE**************
    TYPE-POOLS: slis.
    DATA: gv_repid            LIKE sy-repid.
    DATA: i_fieldcat          TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: gb_layout           TYPE slis_layout_alv.
    DATA: gb_selfield         TYPE slis_selfield.
    DATA: gb_print            TYPE slis_print_alv.
    DATA: i_sort              TYPE  slis_t_sortinfo_alv WITH HEADER LINE.
    DATA: gv_keyinfo          TYPE SLIS_KEYINFO_ALV.
    DATA: gb_variant          LIKE disvariant,
          gb_def_variant      LIKE disvariant.
    DATA: gb_title(70).
    DATA: gt_events           TYPE slis_t_event,
          gt_sort             TYPE SLIS_T_SORTINFO_ALV,
          gt_list_top_of_page TYPE slis_t_listheader,
          g_status_set        TYPE slis_formname VALUE 'PF_STATUS_SET',
          g_user_command      TYPE slis_formname VALUE 'USER_COMMAND',
          g_top_of_page       TYPE slis_formname VALUE 'TOP_OF_PAGE',
          g_end_of_page       TYPE slis_formname VALUE 'END_OF_PAGE',
          g_top_of_list       TYPE slis_formname VALUE 'TOP_OF_LIST',
          g_end_of_list       TYPE slis_formname VALUE 'END_OF_LIST'.
    DATA: it_event_exit TYPE slis_t_event_exit WITH HEADER LINE.
    *--- Rotinas ---
    FORM alv_init.
      CLEAR: gb_variant.
      gv_repid = sy-repid.
      gb_variant-report = gv_repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save     = 'A'
           CHANGING
                cs_variant = gb_variant
           EXCEPTIONS
                not_found  = 2.
      IF sy-subrc = 0.
        p_varia = gb_variant-variant.
      ENDIF.
    ENDFORM.                    " ALV_INIT
    FORM alv_f4.
      gb_variant-report = gv_repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant = gb_variant
                i_save     = 'A'
           IMPORTING
                es_variant = gb_variant
           EXCEPTIONS
                not_found  = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        p_varia = gb_variant-variant.
      ENDIF.
    ENDFORM.                                                    " ALV_F4
    FORM bild_fieldcat USING x_pos x_field x_tab x_reffld x_ref x_text x_type x_tam x_sym.
      i_fieldcat-col_pos       = x_pos.
      i_fieldcat-fieldname     = x_field.
      i_fieldcat-tabname       = x_tab.
      i_fieldcat-ref_fieldname = x_reffld.
      i_fieldcat-ref_tabname   = x_ref.
      i_fieldcat-seltext_l     = x_text.
      i_fieldcat-seltext_m     = x_text.
      i_fieldcat-seltext_s     = x_text.
      i_fieldcat-ddictxt  = 'M'   .
      i_fieldcat-inttype       = x_type.
      i_fieldcat-outputlen     = x_tam.
      i_fieldcat-symbol        = x_sym.
      APPEND i_fieldcat.
      CLEAR  i_fieldcat.
    ENDFORM.                    " BILD_FIELDCAT
    FORM create_events USING rt_events TYPE slis_t_event.
      DATA: ls_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                i_list_type = 0
           IMPORTING
                et_events   = rt_events.
      READ TABLE rt_events WITH KEY name = slis_ev_top_of_page
                               INTO ls_event.
      IF sy-subrc = 0.
        MOVE g_top_of_page TO ls_event-form.
        APPEND ls_event TO rt_events.
      ENDIF.
    ENDFORM.                    "

  • Short Dump While Changing reservation line using BAPI_ALM_ORDER_MAINTAIN

    Hello!
    I have a problem changing the reservation line using BAPI_ALM_ORDER_MAINTAIN. I am very sure that I am passing all correct parameters in BAPI. It gives short dump with type  MESSAGE_TYPE_X and main program "SAPLCOBC" or "LCOBCU02" and "READ_RESB_IND". at line
    Satz gefunden?
      IF sy-subrc <> 0.
        MESSAGE x901.                                               "n779835
      ENDIF.
    This dump comes only when I run my Transfers workbench for the first time, when I run it for the second time, it executes correctly and reservation line gets changed successfully.
    Does anyone have face such problem or have any ideas about how this can be solved??
    Please let me know if you need more information......

    Hi Km,
    Here is your answer:
    SAP Note 1269069 - BAPI_ALM_ORDER_MAINTAIN: Runtime error MESSAGE_TYPE_X
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1269069
    Also henceforth Pls try to navigate through service market place if you find Issues with Standard SAP Program as somebody else might have faced the same and there must be solution readily available.
    Let me know if it helps.
    Regards
    Shital
    Edited by: shital phadake on Mar 23, 2009 6:59 PM

  • Short dump while inserting into PA0008

    Hi Gurus,
    I am trying to use a transfer tool to import employee details from one system to another.
    All infotypes are being imported properly but the table PA0008 is not getting imported and
    it gives short dump when the program reaches the statement :
    "INSERT (AKT-TABLE) FROM W_PREL."
    The dump is shown as "DBIF_RSQL_INVALID_REQUEST".The reason are not clear.
    Any hints please ?
    Waiting for responses,
    Sandip.

    Hi
    How you are inserting data into PA0008?
    You can use HR_INFOTYPE_CREATION fun module to insert data .
    See the dump completely in ST22 tcode and analyse it
    always better to use MODIFY statement instead of INSERT statement to insert the data into tables/infotypes.
    do like that, and check the Dump.
    Regards
    Anji

Maybe you are looking for

  • Photos and contacts will not sync from iCloud to iPhone

    Hi Everyone I have an iPhone 4 with the latest iOS (5.1.1), and have had to restore my phone due to sluggish response from the device, however I have had problems when setting up my phone again. When the phone was restored and I wanted to restore a b

  • HT1212 syncing ipod to a new computer

    I had itunes running on our home computer and all of my kids' ipods were synched to that computer.  That computer is no longer operating and I have a new computer which I had transfered all of the itunes files from the old computer onto. But non of t

  • Help on popup window

    on standard logical database PCH selection screen, if you run it with this (*) in PCHOBJID field it popup the window message saying  " YOUR SELECTION CRITERIA  COULD RESULT IN A LONG RUNTIME DO YOU WANT TO CONTINUE PROCESSING!     YES               N

  • SCCM console does not show the link to the report manager!

    SCCM console does not show the link to report manager. Any idea? thanks!

  • Changing xy graph scale using combo box selection

    Hello, I have a xy graph with x scale set to 10k and y scale set to 6 by default. I have a combo box which i use to select what the graph will display. For example in combo box i have 3 choices, A, B, C. If i select A, xy scale is set to 10k and 6. I