Quantcast
Channel: SCN: Message List
Viewing all 8667 articles
Browse latest View live

Re: Material codes

$
0
0

Hi Sunriser,

I have sent the document to your id...check and revert if u have any issues...

 

If issue resolved award points and close the thread....

 

Thanks

Kumar


Re: Problem related when alv report download in excel

$
0
0

Thanks to All my query get solved..

Error in sub transient work item 'Retirement with revenue' Message no.SWF_RUN817/ Error handling for work item 00001 Message no.SWF_RUN630

$
0
0

Hello All -  I am trying to do Mass retirement through AR01 and AR31. I have created Work list correctly and released it.

 

After releasing the Work list, I see the below 2 error messages in error log.

 

Except error message numbers, I am not getting any details. Can you pls help me out on this.

 

Error in sub transient work item 'Retirement with revenue' Message no.SWF_RUN817

 

Error handling for work item 00001 Message no.SWF_RUN630

 

Thanks

Re: Variant Configuration for coils sheets industry

$
0
0

Hii Ahmed,

 

This kind of scenario is common to Steel Industries and for that first production definition need to be fixed.

 

for any family of product, you need to fix which product attribute to be taken into material code and which one to be define in classification.

 

Basis for fixing the attributes in product will be as following

 

  1) APO planning constraint (No of Material Code handling)

  2) level of Information to be working from SAP standard reports like (More the attributes in characteristic less will be the possibility to track and work with standard reports like stock, etc).

  3) To what extent sales person required product to be identified at material code and punch the Sales order with remaining characteristic.

  4) Project master data work and post maintenance. Generally, more the product attribute taken in material code more will be the PP master data and less will be the Object dependency work, same will be with the nature with maintenance like new product introduction.

  5) A business process flow check based upon clear identified input/output materials codes in relation with working rules and process.

  6) Legal requirements of Excise.

  7) Many more depend upon each and every module like SD, MM, CO, Excise etc business requirements

 

On fixing the level of attribute coming in product material code, it will come out whether the business is left with limited number of variant or still left with large number of complex configuration. Generally the lesser the attribute taken in material code more will be the probability for variant configurable scenario and vice versa. (This even depend upon APO planning constraint)

 

Once the business come out with proposed material definition then business need to identified the Super BOM and Super Routing for each header material having all the possible components and operations and identify the rules based upon product/Header material/parent material characteristic which can trigger correct dependent components and operations in routing. Similarly SuperBOM and Routing and rules to be identified for further down the level components as header material . This will result in coming out with blue print of product flow chart for the end to end business process.

 

As per my experience in steel industry, business get mapped with variant configurable scenario when APO is part of package and can even go to variant configurable to discrete manufacturing scenario when APO is not part. However it solely depend upon the business requirement.

 

Do let us know any question in your journey.

 

Regards,

Re: Regarding Create Routing using BAPI_ROUTING_CREATE

$
0
0

Hi Pavan,

 

Can you debug the program in below include:

 

Include : CQCL_CHA_CHECK

*  check user input for inspection characteristic number
     perform cha_new_key_check


inside the routines, the FM in calling and raising the error



***********************************************************************
* check if the characteric number exists                              *
***********************************************************************

   call function 'CQ_CL_S_CHA_LOAD_CHECK'
     exporting
       i_date_from      = i_key_date_s                    "#EC DOM_EQUAL
       i_date_to        = i_key_date_s                    "#EC DOM_EQUAL
       i_plnty          = i_plnty
       i_plnal          = i_plnal
       i_plnnr          = i_plnnr
       i_plnfl          = i_plnfl
       i_plnkn          = i_plnkn
       i_ident          = i_ident
       i_kzeinstell     = i_kzeinstell
       i_merknr         = i_merknr

Query on HR Cube 0pa_c01

$
0
0

Hello Bi Experts,

 

I have a requirement to Create a BI Report based on Cube 0PA_C01 .  But I am unable to Parse this requirement in Structure.

 

Below Is requirement..

 

1)  Query Has no key figure

 

2) User wants to see Attach Data in report

 

BEGDA

Action Date

MASSN

Action Name

PERNR

Employee Id

ENAME

Employee Name

WERKS

Personal Area

BTRTL

Personal Subarea

PERSG

Employee Group

PERSK

Employee Subgroup

ORGEH

New Organization

PLANS

New Position

STELL

New Job

ORGEH

Old Organization

PLANS

Old Position

STELL

Old Job

 

 

At Selection Screen User will Enter Action  MASSN  Value.  Based on Action Value he will able to see above fields in report.

 

But he also wants to see One action earlier to this.  Like One Action held on one employee Transfer say example held on date 25-12-2013.  But before that Transfer action Hiring action happened on  eg 18-12-2013 . he also want to see previous action.

 

Now my Problem is How I will Display One previous action detail ..  i.e Old Organisation ,  Old Position ,  Old Job.

 

I could not make any restriction because query contain all Characteristics .    Any help on making structure for this report will really be Appreciated.

 

Thanks in Advance.

 

Regards,

Mohit.

Re: OS/DB Migration test run vs cutover

$
0
0

sapinst will take care of the creation of the tablespace and datafiles.

As the target system is on Linux you don't need to do the un-installation using sapinst instead you can delete all the files from the OS level and keep all the file systems empty.

If you are using an Oracle database then you can keep the Oracle installation as it is so you can save time in re-installing it again.

 

Regards

RB

Re: Displaying Error message in Call transaction method

$
0
0

Hi Rajendra,

while working on BDC, i always uses these code snippet, which shows all the error and

success messages at once, just change transaction code as your standard transaction and see once. Change this code as per as your fields name in place of field1, field2, field3.

What you have to do is, when you gets your error and success messges, then call your z transaction

It will show you error and success messages in your Ztransaction.

 

The code is.

 

report ZFB01_POST_DOCUMENT

        no standard page heading line-size 255.

 

INCLUDE zbdcrec.

 

TYPE-POOLS : TRUXS.

 

TYPESBEGIN OF ty_input,

 

        Your final data.

 

END OF ty_input.

 

 

DATA: it_input TYPE STANDARD TABLE OF ty_input WITH HEADER LINE ,

       wa_input TYPE ty_input.

DATA : BEGIN OF options.

         INCLUDE STRUCTURE ctu_params.

DATA : END OF options.

DATA: i_messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,

       l_message LIKE bapiret2-message.

DATA: p_mode TYPE c.

DATA  BEGIN OF it_error OCCURS 1.

DATA : text(100TYPE c.

DATA  END   OF it_error.

DATA  BEGIN OF it_success OCCURS 1.

DATAtext(100) TYPE c.

DATA  END   OF it_success.

DATA: it_raw TYPE truxs_t_text_data.

 

*--------------------------------------------------------------------*

* sELECTION sCREEN

*--------------------------------------------------------------------*

SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

SELECTION-SCREEN SKIP 1.

 

PARAMETERS : p_path LIKE rlgrap-filename OBLIGATORY.

SELECTION-SCREEN : END   OF BLOCK b1.

SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.

SELECTION-SCREEN SKIP 1.

PARAMETERS : mode_a      RADIOBUTTON    GROUP  r1,

              mode_n      RADIOBUTTON    GROUP  r1.

SELECTION-SCREEN : END   OF BLOCK b2.

*--------------------------------------------------------------------*

* AT SELECTION SCREEN

*--------------------------------------------------------------------*

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_path.

   CALL FUNCTION 'F4_FILENAME'

     EXPORTING

       field_name = 'P_FILE '

     IMPORTING

       file_name  = p_path.

 

START-OF-SELECTION.

   CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'

     EXPORTING

       i_line_header        = 'X'

       i_tab_raw_data       = it_raw       " WORK TABLE

       i_filename           = p_path

     TABLES

       i_tab_converted_data = it_input[]  "ACTUAL DATA

     EXCEPTIONS

       conversion_failed    = 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.

 

   LOOP AT it_input.

   IF sy-tabix EQ 1 "for first  row

     CONTINUE.

   ENDIF.

 

ENDLOOP.

*--------------------------------------------------------------------*\

* start of selection

*--------------------------------------------------------------------*

START-OF-SELECTION.

 

  PERFORM upload_data.

 

 

*   Report for success

  PERFORM  success_text.

*   Report for Error

   PERFORM  error_text.

 

END-OF-SELECTION.

*

*  PERFORM bdc_transaction USING 'FB01'.

*

*  PERFORM close_group.

*&---------------------------------------------------------------------*

*&      Form  UPLOAD_DATA

*&---------------------------------------------------------------------*

*       text

*----------------------------------------------------------------------*

*  -->  p1        text

*  <--  p2        text

*----------------------------------------------------------------------*

form UPLOAD_DATA .

 

    IF mode_a EQ 'X'.

     p_mode = 'A'.

   ELSEIF mode_n EQ 'X'.

     p_mode = 'N'.

   ENDIF.

 

   options-defsize = 'X'.

   options-updmode = ''.

   options-dismode = p_mode.

 

   LOOP AT it_input INTO wa_input.

 

   Your BDC data (code for BDC).

     BDC Recording data.

 

CALL TRANSACTION 'txn. code' USING bdcdata

                             OPTIONS FROM options

                             MESSAGES INTO i_messtab.

 

 

     IF SY-SUBRC NE 0.

       CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL'

         EXPORTING

           id         = sy-msgid

           number     = sy-msgno

           language   = sy-langu

           textformat = 'ASC'

           message_v1 = sy-msgv1

           message_v2 = sy-msgv2

           message_v3 = sy-msgv3

           message_v4 = sy-msgv4

         IMPORTING

           message    = l_message.

       .

       CONCATENATE l_message '-' wa_input-field1 wa_input-field2 wa_input-field3INTO it_error-text

       SEPARATED BY ' '.

       APPEND it_error.

     ELSE.

       CONCATENATE 'DATA UPLOADED SUCCESSFULLY :' wa_input-field1  wa_input-field2 wa_input-field3

       INTO it_success-text SEPARATED BY ' '.

       APPEND it_success.

     ENDIF.

     REFRESH bdcdata.

     CLEAR: wa_input,l_message.

ENDLOOP.

***ENDLOOP.

endform.

 

 

 

                    " UPLOAD_DATA

 

FORM success_text .

 

   LOOP AT it_success.

     AT FIRST.

       WRITE :/10  'Following records successfully uploaded'.

       ULINE.

     ENDAT.

     WRITE :/10  it_success-text.

   ENDLOOP.

 

ENDFORM.

 

FORM error_text .

 

  LOOP AT it_error.

     AT FIRST.

       WRITE :/10  'Following records  are not uploaded'.

       ULINE.

     ENDAT.

     WRITE :/10  it_error-text.

  ENDLOOP.

ENDFORM.


Re: how can i deal with screen in module pool to insert data to customer table

$
0
0

as i'm a beginner, im using with only 3 fields. kunnr ,name1,ort01.for idea im attaching the screens.

if i enter details in 100 screen and press 'enter' i should go to 110 . and i press save these should be added to kna1.modulepool.jpg

Re: SAP BI certification-Need Help

$
0
0

Dear Vinoth,

 

It is for your interest to familiarise yourself with all the contents and SAP is nothing to do with this. It is all up to how you prepare for the exam. SAP only sees whether you qualify their evaluation process (in terms of exprience / training etc.)

 

You must contact the particular country's SAP Education where you would intend to give the Certification. They would advise you whether you are eligible to write the certification or not on a case to case basis.

 

All the best.

 

Regards,

Ravi

Re: Very long remote client copy

$
0
0

hi

 

For long remote client copy - there could be several things :

 

a) Please check if there is any issue in the DB level - which database are you using - check db2diag.log ( for DB2 ) and alert log file ( for Oracle ) ..

 

b) For the Test system - please check if there are any CPU issues .. or file system space issues.

 

c) Also is it taking a long time for any specific table ?  Is it possible that there has been a large space increase in the PROD system ...

 

d)  Hope you are using parallel processing in the remote client copy  ?

 

Thanks

 

Rishi

salary entry

Re: error series no definidas 390-22

$
0
0

Hola Agustín, te explico lo que hice:

1. Fui a Gestión->Definiciones->Finanzas->Indicadores de periodo: y he creado los periodos para el 2014. Es decir 2014-01, 2014-02, .... hasta 2014-12 lo hice asi por indicaciones de contabilidad.

2. Fui a Gestión->Inicializacion del sistema->Periodos contables: Ahí he creado el periodo para el 2014, primero vinculando solo el periodo 2014-01 creado en el paso 1 y una vez creado todos los meses, he actualizado y vinculado cada mes con el respectivo periodo del paso 1.

3. Luego he ido a GEstión->Inicialización del sistema->Numeración de documentos->Serie de numeración: He creado las series, igual que lo hicieron en el 2013, pero esta vez por mes (FC14-01, RD14-01, etc) y lo he vonculado con el respectivo indicador de periodo.

4. Luego he ido a GEstión->Inicialización del sistema->Numeración de documentos->Vincular sere a documento y estoy vinculando segun voy haciendo las pruebas.

 

Eso es lo hice hasta ahora y me sale el error de serie no definida, lo curioso es que antes de hacer todos los periodos de todo el año, hice una prueba con enero y algunas series y si funcionaba, no se que pueda pasar ahora que no lo permite..Espero puedas ayudarme.

Re: Bex workbook not hitting aggregates

$
0
0

When I asked question, it was obviously about refreshing workbook and query not hitting aggregates. Not sure what you are trying to convey!

Re: READ VALUE TABLE AFTER F4IF_INT_TABLE_VALUE_REQUEST

$
0
0

Based on field value chosen in return read table LT3 with same value as key and identify the line selected


More than one root node in hierarchy?

$
0
0

Hi,

 

We have 2 root nodes when I see in VDH1. One for the Division '00' and other '02'.

Everything seems to be same except this. Even I see 2 entries for customer in KNVH table for 2 divisions. This is the customer sales hierarchy.

 

Query: When we are creating analysis objects and roles, am creating these as below:

 

  • Role 1 -> Level 1, Node 2 (Analysis object 1 which has ZHIEROB + 3 Special Char of 0TCT*)
  • Role 2 -> Level 2, Node 3 (Analysis object 2 which has ZHIEROB + 3 Special Char of 0TCT*)
  • Role 3 -> Level 3, Node 4 (UK) (Analysis object 3 which has ZHIEROB + 3 Special Char of 0TCT*)
  • Role 4 -> Level 3, Node 7 (US) (Analysis object 4 which has ZHIEROB + 3 Special Char of 0TCT*)

 

ZHIEROB is the infoobject which is authorization relevant and to which hier is loaded. Top Node needs to see everything under its subtree.

 

Please confirm if the above is correct?

Also, since there are 2 divisions, should I create another set of roles for same hierarchy?

It would be too much as we have another plant as well.

Re: sap business one creating invoice zero cost -5002

$
0
0

Beni

 

The user has permission to Sales AR -> Documents with Zero Amounts - Full Authorization.

 

Does setting the CostingCode matters when create a zero amount invoice?

 

Chris

Re: SAP Cloud Application Studio Dependent Code List Data Type

$
0
0

Thanks a lot Vinod,

 

Its really nice post and its very useful for me but i need some questions regarding this task can you please explain in details ?

 

1) Can you please tell me what is the data type of the CATEGORY and SUBCATEGORY in the   .bo ?

 

2) Is it require to create Colde List Data Type for the above 2 fields with constant values ?

 

3) Is it required to create BCO ( Business Configuration Object ) for this ? if yes then what input we need to require for create it ?

 

4) In the Step1 it is mentioned that create datalist ( SubCategoryItem ) with element CATEGORY , ID and SUBCATEGRY of SUBCATEGORY of bco list so where i can found these fields or we need to Add Data Field ?

 

5) On Which Fields i need to mapped with above fields ( CATEGORY , ID , SUBCETEGRY ) ?

 

Many Thanks,

 

Mithun Suthar

Re: Problem to add ALV component to standard webdynpro component using enhancement

$
0
0

Hi Vijay,

 

The component usage ALV_TABLE will not appear in component usage tree on the left side.

 

You cannot do the context mapping by using enhancement as this is limitation.

 

You can set data to alv component through program.

 

use the method SET_DATA as below

 

wd_this->wd_cpifc_alv_table( )->set_data( r_node_data = your node name )

 

Please refer Mr. Thomas Jung's reply in the below thread

 

http://scn.sap.com/thread/1435054

 

Hope this helps you.

 

Regards,

Rama

Re: Abap Dump DBIF_RSQL_INVALID_SQL

$
0
0

Hi Tanmoy,

 

I have attached the Picture which have the pointer of error code.

 

 

Error pic.png

 

Thanks,

Harsh

Viewing all 8667 articles
Browse latest View live


Latest Images