Problem , during creation of routing ...

Hi all ,
actually , when I'm creating routing - faced a problem - that , message display " this sampling procedure only suitable with SPC characteristic"  
Message no. QD247 ....
I guess , may be while creating sampling procedure for routing , and then assignment with control chart , where the problem has been rooted .
Actually , I don't know what type control chat should be assigned with std. sampling procedure for routing for WM - PP interface .
why this problem is getting displayed and how could it be solved ?
thanks in advance
regards
arghya

Hello Arghya,
From the screen shot 1 it seems that the Sampling procedure which you are assigning to MIC in routing is created with SPC criterion. But the MIC to which you are trying to assign does not have SPC characteristic tick active in its control indicator.
First you need to decide whether you really want to carry out SPC study for this MIC or not.
If Yes - Then in control indicators of this MIC tick on SPC characteristic and in sampling procedure use SPC as criterion under valuation mode drop down. You may choose suitable Xbar chart for this with due discussion with business users; what type of chart they want.
If Not - Then simply do not tick SPC characteristic check-box in control indicators and create sampling procedure as you have shown in 2nd screen shot except control chart.
Anand

Similar Messages

  • Problem during creation of shipment document and shipment cost document

    Hi
    My client  facing problem during creation of shipment document and shipment cost document at the time of Batch Job
    Delivery no 897654: goods issue on 30.11 at 13:22. Shipment on 30.11 (VT01N).
    Shipment costs on 1.12 (VI01).
    the problem is the shipment document get created on 30.11.2010 but the shipment cost document get created on 1.12.2010
    pleas advice.

    Hi,
    Please check the batch job processing log.
    As per my understanding, business requires to generate the Shipment & Shipment cost documents immediatley.
    However there is some time between the documents creation time. I dont see any issue in the data or problem in the delivery docs Because system will not generate the shipment docs after 1 or 2 days if there is an issue with the data . There must be problem in the Batch Job.
    Analyse the batch jobs and timing of the job process.
    Let us know your feedback...
    Best Regards,
    MKumar

  • Problem During Creation of Production Order

    Dear Sirs
    Hope you all are well. I am facing a problem in PPDM during creation of Production Order which is that when I try to release the order System shows me material availability error for BOM items but when I check those material in MMBE(stock overview )all materials are available in UN-restricted use stock. I am facing this problem and not able to resolve it please help me out in it.
    Thanks
    Regards ,
    Haseeb Khan
    Senior Consultant

    Dear
    Did you maintain Work Schedulimng View of the Material ??
    Did you maintain any Production Storage Loaction in MRP2 view and same is appearing in Goods Movement Tab in CO11N screen with Movement Type 101 ??
    Did you maintain the Operation Control Key -pp03  which should have Auto GR check box marked in OP00 ?? Goto Operation Control key -Detail information -Check whther Auto GR is marked or not ??
    If you are using Serrial Number Profile and Serial Number , then Auto GR is not possible .Make sure that you are not haveing functionality because it does not support Auto GR fro serialised material and need to do it through MIGO/MB31/MB1C.
    Make sure that you have used PP03-Control key only at last operation not all the operations.You need to maintain PP03 at Routing level and call the function by Read PP Master data  at production order level   (co02-function read pp master data )
    Regards
    JH
    Edited by: Jiaul Haque on Feb 14, 2011 12:55 PM

  • Problem with creation of routing

    Dear All,
    I use below BAPI for creation of routing. BAPI is succeddful but when i go to CS03 and display, work center, plant, control key information is not filled.  But header details are filled. Do you have any idea why it happens ? Am i not filling some parameters ?
    Please let me know.
    CLEAR : LR_BAPIRET2,
          LT_BAPIRET2.
    CLEAR LT_TASK.
    LR_TASK-VALID_FROM = SY-DATUM.
    LR_TASK-VALID_TO_DATE = '99991231'.
    LR_TASK-TASK_LIST_USAGE = '1'.
    LR_TASK-PLANT = '1830'.
    LR_TASK-TASK_LIST_STATUS = '4'.
    LR_TASK-TASK_MEASURE_UNIT = 'PC'.
    LR_TASK-DESCRIPTION = 'TEST1'.
    LR_TASK-LOT_SIZE_FROM = '0.000'.
    LR_TASK-LOT_SIZE_TO = '0.000'.
    APPEND LR_TASK TO LT_TASK.
    CLEAR : LR_MATERIALTASKALLOCATION,
          LT_MATERIALTASKALLOCATION.
    LR_MATERIALTASKALLOCATION-MATERIAL = 'TEST-0008'.
    LR_MATERIALTASKALLOCATION-PLANT = '1830'.
    LR_MATERIALTASKALLOCATION-VALID_FROM = SY-DATUM.
    APPEND LR_MATERIALTASKALLOCATION TO LT_MATERIALTASKALLOCATION.
    CLEAR : LR_OPERATION,
          LT_OPERATION.
    LR_OPERATION-WORK_CNTR = 'HCPA001'.
    LR_OPERATION-PLANT = '1830'.
    LR_OPERATION-CONTROL_KEY = 'PP01'.
    LR_OPERATION-BASE_QUANTITY = '1.000'.
    LR_OPERATION-VALID_FROM = SY-DATUM.
    LR_OPERATION-SEQUENCE_NO = '0'.
    LR_OPERATION-OBJ_ID = '00000000'.
    *LR_OPERATION-ACTIVITY = '0010'.
    LR_OPERATION-DESCRIPTION = 'TEST'.
    APPEND LR_OPERATION TO LT_OPERATION.
    CALL FUNCTION 'BAPI_ROUTING_CREATE'
    EXPORTING
      TESTRUN                      = ' '
      PROFILE                      =
      BOMUSAGE                     = 'X'
      APPLICATION                  =
    IMPORTING
      GROUP                        =
      GROUPCOUNTER                 =
      TABLES
        TASK                         = LT_TASK
        MATERIALTASKALLOCATION       = LT_MATERIALTASKALLOCATION
        SEQUENCE                     = LT_SEQUENCE
        OPERATION                    = LT_OPERATION
      SUBOPERATION                 =
      REFERENCEOPERATION           =
      WORKCENTERREFERENCE          =
      COMPONENTALLOCATION          =
      PRODUCTIONRESOURCE           =
      INSPCHARACTERISTIC           =
      TEXTALLOCATION               =
      TEXT                         =
        RETURN                       = LT_BAPIRET2
    LOOP AT LT_BAPIRET2 INTO LR_BAPIRET2 WHERE TYPE = 'E' OR
                                           TYPE = 'A'.
      LF_ROUTING_ERROR = 'X'.
    ENDLOOP.
    IF LF_ROUTING_ERROR NE 'X'.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT          =
          IMPORTING
            RETURN        =
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
        IMPORTING
          RETURN        =
    ENDIF.

    Sorry.
    CLEAR : LR_BAPIRET2,
          LT_BAPIRET2.
    CLEAR LT_TASK.
    LR_TASK-VALID_FROM = SY-DATUM.
    LR_TASK-VALID_TO_DATE = '99991231'.
    LR_TASK-TASK_LIST_USAGE = '1'.
    LR_TASK-PLANT = '1830'.
    LR_TASK-TASK_LIST_STATUS = '4'.
    LR_TASK-TASK_MEASURE_UNIT = 'PC'.
    LR_TASK-DESCRIPTION = 'TEST1'.
    LR_TASK-LOT_SIZE_FROM = '0.000'.
    LR_TASK-LOT_SIZE_TO = '0.000'.
    APPEND LR_TASK TO LT_TASK.
    CLEAR : LR_MATERIALTASKALLOCATION,
          LT_MATERIALTASKALLOCATION.
    LR_MATERIALTASKALLOCATION-MATERIAL = 'TEST-0008'.
    LR_MATERIALTASKALLOCATION-PLANT = '1830'.
    LR_MATERIALTASKALLOCATION-VALID_FROM = SY-DATUM.
    APPEND LR_MATERIALTASKALLOCATION TO LT_MATERIALTASKALLOCATION.
    *CLEAR : LR_SEQUENCE,
    *      LT_SEQUENCE.
    *LR_SEQUENCE-SEQUENCE_NO = '0'.
    *LR_SEQUENCE-SEQUENCE_CATEGORY = '0'.
    *LR_SEQUENCE-ALIGNMENT_KEY_FOR_SCHEDULING = '2'.
    *APPEND LR_SEQUENCE TO LT_SEQUENCE.
    CLEAR : LR_OPERATION,
          LT_OPERATION.
    LR_OPERATION-WORK_CNTR = 'HCPA001'.
    LR_OPERATION-PLANT = '1830'.
    LR_OPERATION-CONTROL_KEY = 'PP01'.
    LR_OPERATION-BASE_QUANTITY = '1.000'.
    LR_OPERATION-VALID_FROM = SY-DATUM.
    LR_OPERATION-SEQUENCE_NO = '0'.
    LR_OPERATION-OBJ_ID = '00000000'.
    *LR_OPERATION-ACTIVITY = '0010'.
    LR_OPERATION-DESCRIPTION = 'TEST'.
    APPEND LR_OPERATION TO LT_OPERATION.
    CALL FUNCTION 'BAPI_ROUTING_CREATE'
    *  EXPORTING
    *   TESTRUN                      = ' '
    *   PROFILE                      =
    *   BOMUSAGE                     = 'X'
    *   APPLICATION                  =
    * IMPORTING
    *   GROUP                        =
    *   GROUPCOUNTER                 =
      TABLES
        TASK                         = LT_TASK
        MATERIALTASKALLOCATION       = LT_MATERIALTASKALLOCATION
        SEQUENCE                     = LT_SEQUENCE
        OPERATION                    = LT_OPERATION
    *   SUBOPERATION                 =
    *   REFERENCEOPERATION           =
    *   WORKCENTERREFERENCE          =
    *   COMPONENTALLOCATION          =
    *   PRODUCTIONRESOURCE           =
    *   INSPCHARACTERISTIC           =
    *   TEXTALLOCATION               =
    *   TEXT                         =
        RETURN                       = LT_BAPIRET2
    LOOP AT LT_BAPIRET2 INTO LR_BAPIRET2 WHERE TYPE = 'E' OR
                                           TYPE = 'A'.
      LF_ROUTING_ERROR = 'X'.
    ENDLOOP.
    IF LF_ROUTING_ERROR NE 'X'.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *       EXPORTING
    *         WAIT          =
    *       IMPORTING
    *         RETURN        =
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
    *     IMPORTING
    *       RETURN        =
    ENDIF.

  • Facing problem during uploadation of Routing data using CA01-BDC - URGENT

    Dear All,
    When I am trying to upload Routing data using CA01 in the Table Control scenario, then I am facing problem as my last 2 records are not getting uploaded from my Test file.
    For example, I am having 47 records in my Test File and after setting ‘Default size’ parameters (to avoid screen resolution problem)
    I have 15 table control line items data per page. The Page down logic ('=P+') is working fine, but my below BDC code failed to take
    the remainder last 2 records from the Test File.
    Analysis: When I am running my “Call Transaction” bdc in foreground, then the 1st page down occurs after 15th record, 2nd page down occurs after 29th record( as in Table Control 1st page’s 15th record is coming on the Top of 2nd page). 3rd page down occurs after 43rd record
    (as 2nd page’s 29th record is coming on the top of 3rd page). In the 4th Table Control Page 43rd record of previous page is coming on top, and then it’s taking 44th & 45th records from the Test File and then it is triggering SAVE (=BU). Thus, our last 2 records
    (i.e. 46th, 47th record) are not getting uploaded in the routing screen from our Test File.
    If anybody has encountered this scenario previously, please help me URGENTLY in fixing the bugs here. It’s VERY, VERY URGENT…
    FYI. For others 45 successful records already uploaded, all the screen fields values are coming properly in the routing screen, and here there is no issue.
    Thanks very much…
    Thanks & Regards
    Sudipta – Project Lead
    Volvo Client Location
    I am pasting my BDC source code below:
    REPORT ZRT1_UPLOAD_CA01_F
                           NO STANDARD PAGE HEADING
                           LINE-SIZE 255.
                            I N C L U D E S                              *
    Include for Data Declarations
    INCLUDE zrout_top.
    Include for Forms
    INCLUDE zrout_form.
    INCLUDE zrout_include_f_ca01.
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field>
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    Attaching F4 help with filename
      PERFORM F1001_GET_F4.
               S T A R T   -   O F  -  S E L E C T I O N                 *
    START-OF-SELECTION.
    Perform to read the input file
      PERFORM f_read_file.
    Perform to fill the BDC data
      PERFORM f_fill_bdctab.
                   E N D   -   O F  -  S E L E C T I O N                 *
    END-OF-SELECTION.
      FREE: i_bdcdata,
            i_messtab,
            i_record.
    x----
    *&  Include           ZROUT_TOP                                        *
                      D A T A B A S E    T A B L E S                     *
    TABLES: t100.          "Messages
                    D A T A    D E C L A R A T I O N S                   *
    T A B L E    T Y P E S *****************************
    For input data
    TYPES: BEGIN OF ty_record,
            matnr(18),  "Material Number
            werks(4),   "Plant
            verwe(3),   "Usage
            statu(3),   "Status
            arbpl(8),   "Work Center
            steus(4),   "Control Key
            ltxa1(40),  "Description of Operation
            bmsch(13),  "Base Quantity
            meinh(3),   "Unit of Measure
            vgw01(11),  "Machine
            vge01(3),   "Unit of measure of activity
          END OF ty_record.
    I N T E R N A L    T A B L E S ***********************
    Internal Table for input file name
    DATA: i_file_tab  TYPE STANDARD TABLE OF sdokpath   INITIAL SIZE 0.
    Internal Table for BDC Data
    DATA: i_bdcdata   TYPE STANDARD TABLE OF bdcdata    INITIAL SIZE 0.
    Internal Table for BDC Messages
    DATA: i_messtab   TYPE STANDARD TABLE OF bdcmsgcoll INITIAL SIZE 0.
    Internal Table for Input file
    DATA: i_record TYPE STANDARD TABLE OF ty_record INITIAL SIZE 0.
    W O R K      A R E A S *************************
    Work Area for input file name
    DATA: wa_file_tab LIKE sdokpath.
    Work Area for BDC Data
    DATA: wa_bdcdata LIKE bdcdata.
    Work Area for BDC Messages
    DATA: wa_messtab LIKE bdcmsgcoll.
    Work Area for Input file
    DATA: wa_record TYPE ty_record.
    V A R I A B L E S ****************************
    DATA: v_filename TYPE string,
          v_fnam(40) TYPE c.
    DATA: wa_opt TYPE ctu_params.
    C O N S T A N T S ***************************
    CONSTANTS: c_werks TYPE rc27m-werks VALUE 'tp',
               c_steus TYPE plpod-steus VALUE 'PP01'.
    *Selection Screen.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS:
              Input file name
                P_FILE TYPE rlgrap-filename OBLIGATORY. " DEFAULT 'C:\'.
    SELECTION-SCREEN END OF BLOCK B1.
    x----
    *&  Include           ZROUT_FORM                                       *
    *&      Form  f_fill_bdctab
          Form to fill the BDC Data
    FORM f_fill_bdctab.
      TABLES mapl.          "Assignment of Task Lists to Materials
      DATA: l_cnt_item(3)  TYPE n VALUE 1.    "Line item counter
      DATA: first(3)  TYPE n VALUE 16.    "Line item counter
      DATA: next(3)  TYPE n .    "Line item counter
      DATA: lin(3) TYPE n .    "Line item counter
      DATA: l_v_bmsch(13),   "Base qty
            l_v_meinh(3),    "Unit of Measure
            l_v_vgw01(11),   "Machine
            l_v_vgw02(11),   "Labour
            l_v_vge01(3).    "Unit of measure of activity
      DATA l_v_nextline TYPE sy-tabix.
      DATA wa_temp TYPE ty_record.
        Initialize Counter
          l_cnt_item = 1.
      SORT i_record BY matnr.
      LOOP AT i_record INTO wa_record.
    AT NEW matnr.
        REFRESH: i_bdcdata,
                 i_messtab.
        SET PARAMETER ID 'PLN' FIELD space.
        SET PARAMETER ID 'PAL' FIELD space.
        PERFORM f_bdc_dynpro      USING 'SAPLCPDI' '1010'.
        PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
      Material Number
        PERFORM f_bdc_field       USING 'RC27M-MATNR'
                                        wa_record-matnr.
       Plant
        PERFORM f_bdc_field       USING 'RC27M-WERKS'
                                        c_werks.
        PERFORM f_bdc_field       USING 'RC271-PLNNR'
      Check if routing already exits for the material
        SELECT * FROM mapl
                      INTO mapl
                                WHERE matnr EQ wa_record-matnr
                                  AND werks EQ c_werks
                                  AND plnty EQ 'N'.
          IF sy-subrc EQ 0.
            PERFORM f_bdc_dynpro      USING 'SAPLCPDI' '1200'.
            PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                            '=ANLG  '.
          ENDIF.
        ENDSELECT.
        perform f_bdc_dynpro      USING 'SAPLCPDA' '1200'.
        perform f_bdc_field       USING 'BDC_OKCODE'
                                  '=VOUE'.
    Group Counter
        perform f_bdc_field       USING 'PLKOD-PLNAL'
      Usage
        PERFORM f_bdc_field       USING 'PLKOD-VERWE'
                                        '1'.
      Status
        PERFORM f_bdc_field       USING 'PLKOD-STATU'
                                        '4'.
    ENDAT.
        PERFORM f_bdc_dynpro      USING 'SAPLCPDI' '1400'.
      Check if page is full
        IF l_cnt_item EQ '16'.
        Page down
          PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                               '=P+'.
          l_cnt_item = 1.
    ELSE.
    PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
    ENDIF.
       CLEAR v_fnam.
      Populate item level details
    Work Center
        CONCATENATE 'PLPOD-ARBPL(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-arbpl.
      Control Key
        CONCATENATE 'PLPOD-STEUS(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        c_steus.
      Description of Operation
        CONCATENATE 'PLPOD-LTXA1(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-ltxa1.
      Base Quantity
        CONCATENATE 'PLPOD-BMSCH(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-bmsch.
      Unit of Measure
        CONCATENATE 'PLPOD-MEINH(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-meinh.
      Machine
        CONCATENATE 'PLPOD-VGW01(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-vgw01.
      Labour
       CONCATENATE 'PLPOD-VGW02(' l_cnt_item ')' INTO v_fnam.
       PERFORM f_bdc_field       USING v_fnam
                                       wa_record-vgw02.
      Unit of measure of activity
        CONCATENATE 'PLPOD-VGE01(' l_cnt_item ')' INTO v_fnam.
        PERFORM f_bdc_field       USING v_fnam
                                        wa_record-vge01.
          l_cnt_item = l_cnt_item + 1.
       CLEAR wa_record.
    AT END OF matnr.
         PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
          PERFORM f_bdc_field         USING 'BDC_OKCODE'
                                  '=BU'.
         wa_opt-DISMODE = 'A'.
         wa_opt-DEFSIZE = 'X'.
         wa_opt-UPDMODE = 'S'.
        PERFORM f_bdc_transaction USING 'CA01'.
       Initialize Counter
         l_cnt_item = 1.
    ENDAT.
      ENDLOOP.
    ENDFORM.                    " f_fill_bdctab
    x----
    *&  Include           ZROUT_INCLUDE_F_CA01                             *
    *&      Form  f_read_file
          Form to read the file from presentation server
    FORM f_read_file .
    To get the file name
      DATA l_v_file TYPE string.
    l_v_file = P_FILE.
    CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            filename                = l_v_file
            filetype                = 'ASC'
            has_field_separator     = 'X'
          TABLES
            data_tab                = i_record
          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 <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    ENDIF.
    ENDFORM.                    " f_read_file
    *&      Form  f_bdc_dynpro
          Form to populate BDC Tab for new screen
         -->fp_program   Screen program name
         -->fp_dynpro    Screen Number
           Start new screen                                              *
    FORM f_bdc_dynpro USING fp_program fp_dynpro.
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = fp_program.
      wa_bdcdata-dynpro   = fp_dynpro.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO i_bdcdata.
    ENDFORM.                    "f_bdc_dynpro
    *&      Form  f_bdc_field
           Insert field                                                  *
    FORM f_bdc_field USING fp_fnam fp_fval.
      IF NOT fp_fval IS INITIAL.
        CLEAR wa_bdcdata.
        wa_bdcdata-fnam = fp_fnam.
        wa_bdcdata-fval = fp_fval.
        APPEND wa_bdcdata TO i_bdcdata.
      ENDIF.
    ENDFORM.                    "f_bdc_field
    *&      Form  f_bdc_transaction
          Call transaction and error handling
         -->fp_tcode   Transaction code
    FORM f_bdc_transaction  USING fp_tcode.
      DATA: l_mstring(480),
            l_color         TYPE i,
            l_mode          TYPE c.
      REFRESH i_messtab.
    CALL TRANSACTION fp_tcode USING i_bdcdata
                       OPTIONS FROM wa_opt
                       MESSAGES INTO i_messtab.
    Messages during upload
      LOOP AT i_messtab INTO wa_messtab.
        CASE wa_messtab-msgtyp.
          WHEN 'S'.
            l_color = 5.
          WHEN 'E'.
            l_color = 6.
          WHEN 'W'.
            l_color = 3.
        ENDCASE.
        FORMAT COLOR = l_color.
        SELECT SINGLE * FROM t100 WHERE sprsl = wa_messtab-msgspra
                                  AND   arbgb = wa_messtab-msgid
                                  AND   msgnr = wa_messtab-msgnr.
        IF sy-subrc = 0.
          l_mstring = t100-text.
          IF l_mstring CS '&1'.
            REPLACE '&1' WITH wa_messtab-msgv1 INTO l_mstring.
            REPLACE '&2' WITH wa_messtab-msgv2 INTO l_mstring.
            REPLACE '&3' WITH wa_messtab-msgv3 INTO l_mstring.
            REPLACE '&4' WITH wa_messtab-msgv4 INTO l_mstring.
          ELSE.
            REPLACE '&' WITH wa_messtab-msgv1 INTO l_mstring.
            REPLACE '&' WITH wa_messtab-msgv2 INTO l_mstring.
            REPLACE '&' WITH wa_messtab-msgv3 INTO l_mstring.
            REPLACE '&' WITH wa_messtab-msgv4 INTO l_mstring.
          ENDIF.
          CONDENSE l_mstring.
          WRITE: / wa_messtab-msgtyp, l_mstring(250).
        ELSE.
          WRITE: / wa_messtab.
        ENDIF.
        FORMAT COLOR OFF.
      ENDLOOP.
      SKIP.
    ENDFORM.                    " f_bdc_transaction
    FORM F1001_GET_F4.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
           EXPORTING
                PROGRAM_NAME  = SY-REPID
                DYNPRO_NUMBER = SY-DYNNR
                FIELD_NAME    = P_FILE
           CHANGING
                FILE_NAME     = P_FILE
           EXCEPTIONS
                MASK_TOO_LONG = 1
                OTHERS        = 2.
      IF SY-SUBRC <> 0.
      File is not selected
       MESSAGE I000 WITH TEXT-M01.
      ENDIF.
    ENDFORM.                    " F1001_GET_F4

    Sudipta,
    Would request you to post this to ABAP-Forum for Immediate response.
    I had this problem, but the ABAP guy did something to correct this...it was more of screen resoultion difference between the recorded system and uploading system. Please try to use the same system which was used to record and try.
    Regards,
    Prasobh

  • Problem during creation of equipment

    dear sap gurus,
    I m facing the problem creating equipment.when i creating equiment the pop message shows as "Customer-specific check determined that the update is not permitted'  plz how it can be rectified
    Rakesh mane

    hi
    kindly check whether you have activiated any user exit for creation of equipment,consult with your abaper
    regards
    thyagarajan

  • Problem during creation of hierarchy

    hai gurus,
    my problem is while creating hierarchy on particular char InfoObject
    it will shows an error "The import parameters were not filled correctly"
    in a pop box.
    how can create a hierarchy pls help me.

    Hi DJR,
    here the procedure for creating Hierarchy through the flat file..go through it. istill if u have any concerns please update in sdn..
         Hierachy through flat file
    &#61656;     First create a flat file save as in .CSV format. Then close the file.
    &#61656;       Create info area in info object then info object catalog opens then create it then info object screen opens then another screen opens were you will give data type, length then select option hierarchy tab, then select it simply select the check box with hierarchies.
    &#61656;        Select attribute tab in that name, age, address, phone then activate it then come back to the main screen then select characters right click a small screen open then select info object then a small screen opens then create sales region and activate it.
    &#61656;     Then return back to the main screen then click characters right click on it then a small window opens then select info object option & create sales office and activate it.
    &#61656;     Then return to the main screen then select characters then the ID then the double click on it  then the other screen opens select hierarchy tab then select external chars in hierarchies then click on it then other screen opens then select find tab then give the sales region info object name and click continue then it finds the name.
    &#61656;     The name would be scroll on the other screen then the office should be find the same way as region then office would be scroll on the other screen then continue and activate it.
    &#61656;     Then come back to the main screen then go to info source option then it opens then create application component then it opens other screen then click continue it
    &#61656;     Then  create info source for master data then select  direct update option there give the name of the info object of  as ex; YID_AS2 then click  continue.
    &#61656;     Then the YID_AS@ could be seen in the main screen then right click on it. Then a small option opens then click assign data source option then other screen opens there it gives the empty space double click on it then PC file then click continue then another window opens click continue then again screen opens click continue again a pop up screen opens click continue.
    &#61656;     Then another screen opens there the attribute data source then activate it then select hierarchy activate it then the left side data structure/ hierarchy then click on it then it opens another screen then click hire maintenance button .
    &#61656;     Then give the hierarchy name (your wish) then go with continue then yes then save then go back to the main screen.
    &#61656;     Then maintain the flat file as node id, info object, node name, link name, parent no.
    &#61656;     Then info package creation then click on the flat file right clicks on it then a other screen opens then select attribute data source and then continue.
    &#61656;     Then other screen opens then select external data tab in .CSV then click 1 the enter preview then another screen opens then click then it shows the preview then schedule then start then monitor click on it  then it opens other screen then click on the master data then we can see the data then go back to the  main screen.
    &#61656;     Then select the flat file right click on it then it gives other screen then select hierarchy in that then click continue then it opens other screen then select hierarchy selection tab there you can see the file name then select the button of hierarchy.
    &#61656;     Then select External data then the file name in CSV then processing tab only psa option with update subsequently in data targets then the update it schedule start then the monitor then go to the main screen.
    &#61656;     Then go to info object then select the file id which you have given then double click on it then select hierarchy or text file then the contents then execute it.
    &#61656;     Create a transaction table , cube in a normal way. We can see the result in reports we have to give the hierarchy name in the properties of rows where we drag the characteristics id then we can see the records which we have entered manusally after executing the report.
    Regards
    Ashwin

  • Content node name problem during creation on portal 9.2 cm filesystem repo

    Hi all,
    We are developing a portal site using weblogic portal server 9.2.
    We are using the portal built-in content management system of the portal admin app. And We use the filesystem repository (with library service disabled) to store our content data by following the setup on documentatation.
    We use the create_db.cmd script to create the cms tables in a oracle database. The input contents' binary files and metadata are successfully stored in the filesystem directory and database correspondingly.
    However, we encountered some bugs/unexpected behaviour on creating/uploading binary data when using the content creation form.
    The problem is that when we try to create a content with one (required and primary) binary property, the node name of the new content does not always follow the name input by the user. The content node name will changed according to the uploaded file or the binary property name defined in content type, which are unexpected behaviour. In fact, we expect the node name stay as the same (with extension padded) of what user input on creating it and the property's filename should use this name.
    When we use the WYSIWYG editor to create the document of the binary property, after saving the document, the filename of this binary property automatically changed to the content type's property name, after clicking save button on the content, the node name of the content changed to the content type's property name too!
    When we upload file for this binary property, the property 's filename changed to the uploaded file's filename, and changing the node name of that content too!
    We would like to know what would cause this kind of misbehaviour/bug,
    could it be caused by misconfiguration on server? the filesystem repository? the database scheme?
    Any helps or suggestions on it would be greatly appreciated.
    Best Regards,
    Keaton

    Thanks for the reply jalpesh, you answered the filename on file upload method.
    But what about the filename changes due to create document (WYSIWYG editor) method. The content filename changed to the property-name.ext about saving the content, which is quite a strange behaviour. As the user will not be able to add the same type of content on current directory cause the content filename follow the property-name.ext and cause same filename conflicts when saving.
    We are using the weblogic portal server 9.2 MP 2 with oracle database (bea type 4 connection driver).
    Any advices or suggestions?
    Regards,
    Keaton

  • Problem during creation of index

    Dear All,
          I want to create index for MSEG table. This index i have created and activated also. I have used index fields as MJAHR,AUFNR and BWART. Same i have written in select query in where condition. But i think it is not working because select query takes same time as before created index during run time.
    One warning message is coming in index like.
    "Index does not exist in database system MSSQL"
    I don't know why it is coming. I have create simple index and also extension index. In both case same warning message is coming. when i have to create index and extension index.?
    Please give me any solution.
    Regards,
    Shivam.

    Hello,
    I suppose you have created the index via transaction SE11.
    When the database table is too big and you generate/activate the index via SE11 the index will only be created in the SAP repository not in the database (this should be in the log of SE11).
    You have now to start transaction SE14, select your index there (you will see that it does not exist in the DB) and create the index via transaction SE14 (preferably in background to prevent a possible time out).
    Success.
    Wim Van den Wyngaert

  • Problem during creation of inquiry & quotation

    when i am creating inquiry or quotation when saving it , it shows error message that,For the ISO code there is no unique SAP currency code for ALE...... pls solve it it is very urgent...  in sol someone told to run SALE..So how will i run SALE.pls tell.

    hi,
    Run SALE means , it a transaction SALE
    check now the following flow,
    SALE - Sending and Receiving Systems - Logical Systems- Assign Client to Logical System ,
    whether ur client is assinged with the currency .
    Another way to check ur setting
    SPRO - General Settings - Currencies - and further Check currency codes.
    hope ur problem will be solved.
    reward if helpful
    saravanan

  • Problem during creation of dynamic Internal

    Hi All,
    I am trying to create a dynamic internal table.
    I went through many posts, but the problem i am facing is,
    I want an internal table as:
    Empno
    Ename
    Lgart1- Depending on the Wage types user enter on the selection screen.
    Lgart2
    When i tried to create dynamic table by
    cl_abap_typedescr=>describe_by_name(tab_name),
    it asks for the table name as string and tht also standard table.
    I have a type user defined local structure like :
    DATA: BEGIN OF it_struct,
          pernr LIKE pa0001-pernr,  "Employee No.
          ename LIKE pa0001-ename,  "Name of Employee
          BETRG LIKE PC207-BETRG,   "Net Amount
          END OF IT_struct.
    I created this structure, coz these 3 fields are fixed and other fields i need to add dynamically.
    Please suggest.

    Hi,
    Instead of using cl_abap_typedescr class use cl_alv_table_create and method create_dynamic_table.
    For your reference check the program below.
      DATA: dreft TYPE REF TO data,
            drefl TYPE REF TO data.
      DATA: xfc TYPE lvc_s_fcat,
            ifc TYPE lvc_t_fcat.
      FIELD-SYMBOLS: <upload> TYPE STANDARD TABLE,
                     <fs_worka> TYPE ANY.
      xfc-fieldname = 'Record'.
      xfc-datatype = 'CHAR'.
      xfc-intlen = '255'.
      APPEND xfc TO ifc.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
       i_style_table             =
          it_fieldcatalog           = ifc
        IMPORTING
          ep_table                  = dreft.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ASSIGN dreft->* TO <upload>.
      CREATE DATA drefl LIKE LINE OF <upload>.
      ASSIGN drefl->* TO <fs_worka>.
    Hope this might help you.
    Thanks,
    Prashanth

  • Problem while creation of Routing using BAPI "BAPI_ROUTING_CREATE"

    Hi.
    I am trying to create routing using the BAPI "BAPI_ROUTING_CREATE", when I execute I get the group number and the group counter number in the Export parameters. But it is not saved in the database, when we look at CA03 using the group number system says routing not found.
    I am passing "Space" to Bapiflag and i am passing input to tables TASK, MATERIAL ALLOCATON and OPERATION as follows:-
    MATERIALTASKALLOCATION-MATERIAL
    MATERIALTASKALLOCATION-PLANT
    TASK-TASK_LIST_USAGE
    TASK-PLANT
    TASK-TASK_LIST_STATUS
    TASK-TASK_MEASURE_UNIT
    OPERATION-ACTIVITY
    OPERATION-CONTROL_KEY
    OPERATION-WORK_CNTR                    
    OPERATION-PLANT
    OPERATION-DESCRIPTION
    OPERATION-NUMERATOR
    OPERATION-DENOMENATOR
    OPERATION-BASE_QUANTITY
    OPERATION-STD_UNIT_01
    OPERATION-STD_VALUE_01
    OPERATION-STD_UNIT_02
    OPERATION-STD_VALUE_02
    OPERATION-STD_UNIT_03
    OPERATION-STD_VALUE_03
    OPERATION-STD_UNIT_04
    OPERATION-STD_VALUE_04
    OPERATION-STD_UNIT_05
    OPERATION-STD_VALUE_05
    OPERATION-STD_UNIT_06
    OPERATION-STD_VALUE_06
    Appreciate your replies.
    Regards.
    Anand Ghawade.

    Use BAPI_TRANSACTION_COMMIT after you call the BAPI_ROUTING_CREATE

  • Problems during creation of JCo Connections

    Hi everybody,
    i've a problem while creating JCo Connections in the Content Administrator of me WebAS.
    I can selct the connection i want to maintain, but at the second step, an new window appears and i get the following message. Does anybody have an idea and could help me.
    Best regards,
    Maik.
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4010.00.0000.20040921144040.0000 (release=630_SP_REL, buildtime=2004-09-21:22:25:54[UTC], changelist=283399, host=PWDFM067)
    Web Dynpro code generators of DC sap.com/tcwdtools:
    No information available
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    6.40 patchlevel 86216.32
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_05-b04, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    java.lang.NullPointerException

    Hi Henrik,
    I got exactly the same problem has you have with the same version (6.40 SP9). I have opened an OSS message ..
    Best regards,
    Christian DUCRET (SAP BAsis Team)

  • One user encountering problems during creation of objects - page not found

    Hi,
    We have a new developer in the US (Apex host in Switzerland) who reports getting the "page not found" error or a frozen session, when trying to create a new table. It happens when using SQL in the command window or the GUI in object browser. There seem to be no issues with creating apps and app components, just db objects.
    He's also reporting getting prompted for bind variables when running a simple create table statement containing no bind variables. Don't know if this is related.
    He's tried from another workstation and had same problem there, while I've had no problem when doing same on his account, from another region.
    He's disabled the proxy server and tried various browsers, with same result.
    I found following in access and error logs which I think may be related. Not sure where to go from here and could use some advice.
    Error log:
    [Mon Apr 23 14:27:12 2007] [error] [client XXX.XXX.XXX.XXX] [ecid: 1177338311:XXX.XXX.XXX.XX:10078:0:24103,0] mod_plsql: /pls/apex/wwv_flow.show
    HTTP-500 Error Reading Data from Client!!
    Access log:
    [23/Apr/2007:14:27:12 +0000] "POST /pls/apex/wwv_flow.show HTTP/1.1" 500 670
    [23/Apr/2007:14:27:12 +0000] "GET /i/htmldb/misc/tabOffM.png HTTP/1.1" 200 215
    [23/Apr/2007:14:27:12 +0000] "GET /i/htmldb/misc/tabOffM.png HTTP/1.1" 200 215
    [23/Apr/2007:14:27:12 +0000] "GET /i/htmldb/misc/tabOnM.png HTTP/1.1" 200 216
    [23/Apr/2007:14:27:12 +0000] "GET /i/htmldb/misc/tabOffM.png HTTP/1.1" 200 215
    [23/Apr/2007:14:27:12 +0000] "GET /i/htmldb/builder/topnav2.gif HTTP/1.1" 200 91
    [23/Apr/2007:14:27:12 +0000] "GET /i/htmldb/builder/tab_rounded.gif HTTP/1.1" 200 51
    Thanks,
    Michelle

    Michelle,
    1) What is the version of the database? What platform?
    2) Connect as SYS via SQL*Plus - what is the result of "select owa_util.get_version from dual"?
    3) Are you using Application Server?
    4) Is this user going through SSL? Are you?
    5) Have you isolated the HTTP-500 errors to this user?
    Joel

  • Problems during creation of journalling triggers

    Hi,
    I'm using headstart 6.5.1.13 and when I try to create journalling triggers with the HSU, the utility proceeds normal, but when I view the log there's an error, "Exception; Note that the text for this element may have been corrupted".
    Result, the utility generates no pl-sql block. One other strange thing is that the utilty does not fail for every trigger. for example... The upd and ins triggers are ok but the del trigger is not generated.
    Please help
    Greetz Gerdo Veenink
    [email protected]

    Gerdo,
    You may be running into bug 2396132,
    which is fixed in Headstart patch 6.5.2.3 (you can download that patch using the Supplement Option).
    When running the utility 'Maintain Journalling Business Rules' for some
    tables, it causes the following error (Debug Detailed messages):
    bltext.get_line_containing
    Write Text for element type PLM with id
    830266772012969583230946129301974025
    - Text type: CDIPLS number of text lines = 16 - REPLACE
    Deleted old text
    Exception: ORA-1401: inserted value too large for column
    Length Buildstring 2048
    Line number 2 Text type = CDIPLS
    Exception; Note that the text for this element may have been corrupted.
    The problem is that the length of the buildstring is larger than 2000, which
    should not occur.
    Workaround:
    Modify package bltext (in schema of Utilities owner, e.g. HSU65),
    in procedure write_lines_to_repository,
    replace
    if length(l_text_lines(l_ctr + 1))+ 2 + length(l_build_string) > 1990
    by:
    if length(replace(l_text_lines(l_ctr + 1), chr(10), NL_CR)||NL_CR) +
    length(l_build_string) > 2000
    And also replace
    if nvl(length(l_build_string),'') > 0
    by:
    if nvl(length(l_build_string),0) > 0
    Hope this helps,
    Sandra

Maybe you are looking for