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

ALV OO GRID - clear mt_mod_Cells

$
0
0

Hi

 

I have an ALV Grid that I populate from reading some data tables using say routine 'A' - this is fine.

 

The user can change some data and then I need to re-read the data using routine 'A' again to re-populate the grid table with new values, based on the data changed by the user. Internally, at this point mt_mod_Cells in the ALV grid is populated with 1 record - the changed data field.

 

The new set of data, however is in a slightly different sequence because of the re-read.

 

When  i call refresh_table_display it then updates the grid with a value in the incorrect row.

 

My question is: Is there a way to clear the modified tables mt_mod_cells prior to calling refresh_table_display?? I dont want the ALV to update my , as it is already updated with the correct values.

 

Thanks

Tony


HR Renewal Self Services Integration Issue with SAP Portal

$
0
0

Hi,

 

We are  Implementing  HR Renewal 2.0 FP1 and the Self-Services Landing Page to be launched from within SAP Portal.

I have imported the PFCG role ZSAP_EMPLOYEE_ESS_XX_UI5_1  into portal and assigned to the user. The End User read permission is provided.

 

We see the landing page with all lanes coming up fine when launched from portal. But subsequently when we click on the SAPUI5 delivered applications in the MY INFO Lane like Employee Profile, Salary Statement, Leave Application etc, they open from inside the portal in a new window via the below Standard Launchpad Start URL application

 

 

/irj/portal?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fcom.sap.pct%2Fevery_user%2Fcom.sap.pct.erp.common.bp_folder%2Fcom.sap.pct.erp.common.roles%2Fcom.sap.pct.erp.common.erp_common%2Fcom.sap.pct.erp.common.lpd_start_url&RequestMethod=GET&System=SAP_HCM_PROXY&URLTemplate=<System.wap.WAS.protocol>%3A%2F%2F<System.wap.WAS.hostname><System.wap.WAS.path>%2Fsap%2Fbc%2Fui5_ui5%2Fsap%2FHRESS_PAYSLIP_G%2Findex.html%3Fsap-client%3D<System.client>%26sap-language%3DEN&PrevNavTarget=navurl%3A%2F%2F9302a2e5cab6590e376f9e6a16fffb13&NavMode=3&CurrentWindowId=WID1411300030322

 

and getting the below error.

 

Page not found. Refresh the page or try again later. If the problem persists, contact your Portal administrator for assistance


Is any other configurations missing to launch the my info individual service application via portal as NavigationTarget.


Appreciate your response.


PS: No business packages (WD ABAP based etc.,) are installed in the portal side.


Thanks,


Urmi

s

$
0
0

Dear Experts,

 

   I am using CV01N transaction, when checking the log in the transaction I am getting whole logs.

But I need to get the latest record of the log.

 

Please find the screenshots for current log and expected log.

 

Regards,

Jeena George

Re: MSS Reporting Error

$
0
0

hi vijay ,

 

can i know whether r u able to open the reports as u posted in ur 3rd screen shot ?

Re: Personel Number is Locked in ESS

$
0
0

once request you to restart the server and check once

Create Custom Attachment in User Descision

$
0
0

Hello Everyone,

I am relatively new to the workflow world. Before raising this question i have gone through all the previous threads but could not find an answer to my problem. Here is my problem

 

I have created a business object as below to create an attachment

 

      zswr_att_header-file_type = 'B'.

      zswr_att_header-file_name = 'PurchaseOrder'.

      zswr_att_header-file_extension = 'PDF'.

      zswr_att_header-language = 'EN'.

      CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'

        EXPORTING

          workitem_id = workitemid

          att_header  = zswr_att_header

          att_bin    = lv_file_xstring

        IMPORTING

          att_id      = zswr_att_id.

 

 

    ENDIF.

  ENDIF.

ENDIF.

 

 

swc_set_element container 'ZSWR_ATT_ID' zswr_att_id.

swc_create_object sofm 'SOFM' zswr_att_id-doc_id.

swc_set_element container 'SOFM' sofm.

 

 

however when this attachment is passed back to the workflow it shows there is no instance of this. How do i create an instance so that i can get the attachment in  my workflow?

 

Thanks

Ashok

Data source for MC.9

$
0
0

Hi All,

 

I am trying to recon between data source  2LIS_03_BF and MC.9 report.Values are not matching for MC.9 and and the data source.

 

Please confirm whether the data source 2LIS_03_BF  is correct one to extract MC.9 report from ECC 4.7 into BW 7.3.If its not correct please provide me the correct data source with details.

.

 

 

Thanks,

Venkat

CRM Cloud - Configuration

$
0
0

Hi Folks,

 

I am a CRM Functional consultant, So far i was involved in implementing CRM on Premise, but in future i would be doing the CRM on Cloud implementation also. I have gone through many presentations on CRM on Cloud, but on some basic things i need your help to make me understand the following points:

 

My questions are:

 

1. As far as my knowledge concerns, It is a per-configured tool, so what will be the role of a functional consultant?

2. Is it possible to do any configuration based on the customer requirement?

3. If the configuration is possible, then again it would be done from GUI only? (Does GUI supports in CRM on Cloud for doing configuration)

4. Is there any requirement for a middle ware consultant?

5. Can we enhance the screen according to end user's requirement?

 

 

I would really appreciate any pointer on above points.

 

 

Best regards,

Dinesh


Re: SAP Client Installation Pointing to Old License Server

$
0
0

Hi Cynthia,

 

Maybe the problem is in the DI API installation.

 

Please, check the "b1-local-machine.xml" file in DI-API directory on workstation ("C:\Program File (x86)\SAP\SAP Business One DI API\Conf"). Change value of node "Licenseserver" to the correct value if it is necessary.

 

I hope it helps.

 

 

Regards,

Toni

Re: Modulepool table control line item validation

$
0
0

As I said before you need to insert a check out of LOOP:

 

PROCESS PAI.

   LOOP...

   ENDLOOP.

 

   MODULE CHECK_ALL_SERNR.

 

MODULE CHECK_ALL_SERNR.

 

 

 


* Check if all items all selected:


    LOOP AT ITAB WHERE MARK = 'X'.

       IF ITAB-SERNR IS INITIAL.

          MESSGE .......

          EXIT.

       ENDIF.

    ENDLOOP.

 

If you insert the check out of LOOP of table control you can't use an error message else the user can't update the data, so you should use an information message.

 

You should clear OK_CODE in order to stop the action if the error occurs:

 

MODULE CHECK_ALL_SERNR.

 

 

 


* Check if all items all selected:


    LOOP AT ITAB WHERE MARK = 'X'.

       IF ITAB-SERNR IS INITIAL.

          MESSGE .......

         

          CLEAR OK_CODE. 

         EXIT.

       ENDIF.

    ENDLOOP.

 

Max

Shortage Report

$
0
0

is there a way to generate a report in a Gantt Chart format which indicates which certain order or planned Order still have shortages? Maybe one way is to highlight an Order/Planned Order in "red" if it still has/have shortage(s) and "green" those are clean

I would like to create a Gantt Chart to post in our notice board if a particular order which is due to start still shows shortages.

 

Thanks for your help in anticapation.

Edison

Re: Suppress instance in scheduled reports.

$
0
0

Hi Nikhil,

 

thank you for your help. I dont have this option to choose in Web Intelligence.

I do it for InfoView. You can defeine the same option for InfoView. It works. Thank you very much.

 

Another quetion:

 

I want the report is trigeered every time when the event occurs. Is there a way to do so, without to schedule the report. Because after the report is triggered i must plan a new schedule.

 

 

Thank you a lot

Re: how to get theoutput of classical report in table format

$
0
0

HI all,

 

I am new here. Currently I am trying to create a program which is able to compare and validate key fields from different tables.

 

my code looks like this:

*~Internal Tables

DATA:

  LT/SHELL/KPI_CONF TYPE STANDARD TABLE OF /SHELL/KPI_CONF,

  LT/SHELL/KPI_MAPP TYPE STANDARD TABLE OF /SHELL/KPI_MAPP,

  LT/SHELL/KPI_HEAD TYPE STANDARD TABLE OF /SHELL/KPI_HEAD.

 

 

DATA:

  /SHELL/KPI_CONF_NEW TYPE SORTED TABLE OF /SHELL/KPI_CONF WITH UNIQUE KEY XX100011 XX100004 XX100022 XX100010,

  /SHELL/KPI_MAPP_NEW TYPE SORTED TABLE OF /SHELL/KPI_MAPP WITH UNIQUE KEY XX100009 XX000197 XX100007 XX100014,

  /SHELL/KPI_HEAD_NEW TYPE SORTED TABLE OF /SHELL/KPI_HEAD WITH UNIQUE KEY XX100004.

 

 

DATA: GWA_/SHELL/KPI_CONF TYPE /SHELL/KPI_CONF,

      GWA_/SHELL/KPI_MAPP TYPE /SHELL/KPI_MAPP,

      GWA_/SHELL/KPI_HEAD TYPE /SHELL/KPI_HEAD.

 

 

*Fill the internal table with database values

PERFORM get_existing_records.

 

 

FORM GET_EXISTING_RECORDS.

 

 

  SELECT *

    FROM /SHELL/KPI_CONF

    INTO TABLE LT/SHELL/KPI_CONF.

 

 

  SELECT *

      FROM /SHELL/KPI_MAPP

      INTO TABLE LT/SHELL/KPI_MAPP.

 

 

  SELECT *

      FROM /SHELL/KPI_HEAD

      INTO TABLE LT/SHELL/KPI_HEAD.

 

 

  LOOP AT LT/SHELL/KPI_CONF INTO GWA_/SHELL/KPI_CONF.

    READ TABLE LT/SHELL/KPI_HEAD INTO GWA_/SHELL/KPI_HEAD with key XX100004 = GWA_/SHELL/KPI_CONF-XX100004.

    IF SY-SUBRC <> 0.

      WRITE:  'No header id found in formula'.

    ENDIF.

    LOOP AT LT/SHELL/KPI_HEAD INTO GWA_/SHELL/KPI_HEAD.

      READ TABLE LT/SHELL/KPI_MAPP INTO GWA_/SHELL/KPI_MAPP with key XX100009 = GWA_/SHELL/KPI_HEAD-XX100012.

      IF SY-SUBRC <> 0.

        WRITE: ' no selection ID found in table'.

        endif.

    ENDLOOP.

        ENDLOOP.

ENDFORM.

Long running indexserver and statisticsserver threads REV82

$
0
0

Hi folks,

 

I have both a dev and stg box upgraded to rev82 and just noticed long running threads on each for both indexserver and statisticsserver processes.  The processes appear and disappear when refreshing threads on Performance/threads tab yet they seem to have been running since each server was last restarted according to DURATION column.  When I look at our other prd box that is still rev68 I do not see this behavior but I'm reluctant to pull the trigger on upgrading this box until I understand this strange behavior.  I have a message opened with SAP but meanwhile thought I would check with you folks in case you've noticed this same thing?

 

Example threads i'm seeing (ALL running for DAYS)

Indexserver JobExecWatchdog

Indexserver ClockMonitor

Indexserver TimerThread

Indexserver LogBackupThread

Statisticsserver Stats::Thread_1 through 8

 

Thanks

-Patrick

Re: transaction to get the Scheduled ressource time in production orders

$
0
0

Fred,

As you said capacity requirements are not generated then you need to check below parameters.

1.OPJK availability check for capacity for both business functions.

2.OPU3 and OPU5 for generate Capacity Requirements

 

These changes would effect your newly created orders.

 

BR
KK


Cannot Load LIbrary

$
0
0


Hi

 

When I doing the migration iam facing in the below issue

 

ERROR  FRY-00001  Cannot load library iamodrfc.dll: Last error = 193.

 

OS window 2008

 

DB MSSQL 2005

 

Tired : copied the file iamodrfc.dll in the sapinst temp directory but no luck

 

please help

 

Regards

 

Ram

Hi Everyone. I need Batch Jobs step by step process. Provide me the material if anybody have.

$
0
0

Hi Everyone. I need Batch Jobs step by step process. Please provide me the material if anybody have.

Re: Repeat IDOC Segment in LSMW

$
0
0

In order to repeat a segment with different data coming from the same file, follow these steps:

  1. Go to Field mapping and conversion rules
  2. Click on "Extras" (menu bar) > Layout and check "Processing time"
  3. At the end of your segment, you will see a field called "__END_OF_RECORD__" having the ABAP statement "transfer_record." After that code, you need to enter the mapping for each field of your second segment (you can copy-paste code from the previous fields and simply change the source field (the one from your flat file).
  4. Add another "transfer_record." statement after your code.

Re: help for successfactors

Sql statement tuning issue

$
0
0

Dear experts,

 

 

Here I have a very confusing optimizer behavior to consult:

There is one select statement which access the Database view VIAUFK_AFVC in my ERP ECC 6.06 system on DB2:

 

 

SELECT * FROM "VIAUFK_AFVC" WHERE "MANDT" = ? AND "AUFNR" = ? AND "VORNR" = ?

    FETCH FIRST 1 ROWS ONLY OPTIMIZE FOR 1 ROWS WITH UR

 

 

The VIAUFK_AFVC is a view which is compose of 7 database table: AFIH, AUFK, AFKO, AFVC, AFVV, ILOA, AFVU. So the select statement would be joining the 7 database tables.

 

 

Now the statement is executing very slowly, and the execution plan is :

 

 

SQL Statement

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  SELECT * FROM "VIAUFK_AFVC" WHERE "MANDT" = ? AND "AUFNR" = ? AND "VORNR" = ?

    FETCH FIRST 1 ROWS ONLY OPTIMIZE FOR 1 ROWS WITH UR

 

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Access Plan      Opt Level = 5 ; Parallelism = None

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

    0 SELECT STATEMENT ( Estimated Costs =  2.455E+06 [timerons] ) num_rows tot_cost i/o_cost

  |

  ---      1 RETURN  4.1881E-03  2.4550E+06  5.9170E+05

      |

      ---      2 NLJOIN  4.1881E-03  2.4550E+06  5.9170E+05

          |

          |--      3 [O] NLJOIN  4.1881E-03  2.4550E+06  5.9170E+05

          |   |

          |   |--      4 [O] NLJOIN  4.1881E-03  2.4549E+06  5.9169E+05

          |   |   |

          |   |   |--      5 [O] NLJOIN  4.1881E-03  2.4549E+06  5.9169E+05

          |   |   |   |

          |   |   |   |--      6 [O] HSJOIN  4.1881E-03  2.4549E+06  5.9169E+05

          |   |   |   |   |

          |   |   |   |   |--      7 [O] FETCH AFVV  4.1881E-03  2.4549E+06  5.9168E+05

          |   |   |   |   |   |

          |   |   |   |   |   ---      8 RIDSCN  4.1881E-03  2.4549E+06  5.9168E+05

          |   |   |   |   |       |

          |   |   |   |   |       ---      9 SORT  4.1881E-03  2.4549E+06  5.9168E+05

          |   |   |   |   |           |

          |   |   |   |   |           ---     10 IXAND  4.1881E-03  2.4549E+06  5.9168E+05

          |   |   |   |   |               |

          |   |   |   |   |               |--     11 NLJOIN  1.0187E+01  3.0291E+01  4.0007E+00

          |   |   |   |   |               |   |

          |   |   |   |   |               |   |--     12 [O] FETCH AFKO  1.0000E+00  2.2705E+01  3.0007E+00

          |   |   |   |   |               |   |   |

          |   |   |   |   |               |   |   ------  13 IXSCAN AFKO~0 #key columns:  2  1.0000E+00  1.5136E+01  2.0000E+00

          |   |   |   |   |               |   |

          |   |   |   |   |               |   ------  14 [I] IXSCAN AFVV~0 #key columns:  2  1.0187E+01  1.5147E+01  2.0000E+00

          |   |   |   |   |               |

          |   |   |   |   |               ---     15 NLJOIN  3.7664E+03  2.4548E+06  5.9168E+05

          |   |   |   |   |                   |

          |   |   |   |   |                   |--     16 [O] NLJOIN  3.7664E+03  2.3978E+06  5.8415E+05

          |   |   |   |   |                   |   |

          |   |   |   |   |                   |   |--     17 [O] TBSCAN  3.7664E+03  2.3118E+06  5.7278E+05

          |   |   |   |   |                   |   |   |

          |   |   |   |   |                   |   |   ---     18 SORT  3.7664E+03  2.3116E+06  5.7271E+05

          |   |   |   |   |                   |   |       |

          |   |   |   |   |                   |   |       ------  19 TBSCAN AFVC  3.7664E+03  2.3110E+06  5.7265E+05

          |   |   |   |   |                   |   |

          |   |   |   |   |                   |   ---     20 [I] FETCH AFVU  9.9999E-01  2.2844E+01  3.0178E+00

          |   |   |   |   |                   |       |

          |   |   |   |   |                   |       ------  21 IXSCAN AFVU~0 #key columns:  3  9.9999E-01  1.5146E+01  2.0000E+00

          |   |   |   |   |                   |

          |   |   |   |   |                   ------  22 [I] IXSCAN AFVV~0 #key columns:  3  9.9999E-01  1.5145E+01  2.0000E+00

          |   |   |   |   |

          |   |   |   |   ---     23 [I] NLJOIN  1.0000E+00  3.7974E+01  5.0178E+00

          |   |   |   |       |

          |   |   |   |       |--     24 [O] FETCH AFIH  1.0000E+00  2.2820E+01  3.0159E+00

          |   |   |   |       |   |

          |   |   |   |       |   ------  25 IXSCAN AFIH~0 #key columns:  2  1.0000E+00  1.5136E+01  2.0000E+00

          |   |   |   |       |

          |   |   |   |       ---     26 [I] FETCH ILOA  1.0000E+00  2.2714E+01  3.0018E+00

          |   |   |   |           |

          |   |   |   |           ------  27 IXSCAN ILOA~0 #key columns:  2  1.0000E+00  1.5137E+01  2.0000E+00

          |   |   |   |

          |   |   |   ---     28 [I] FETCH AUFK  9.9999E-01  2.2784E+01  3.0110E+00

          |   |   |       |

          |   |   |       ------  29 IXSCAN AUFK~0 #key columns:  2  9.9999E-01  1.5137E+01  2.0000E+00

          |   |   |

          |   |   ---     30 [I] FETCH AFKO  1.1113E-06  2.2706E+01  3.0007E+00

          |   |       |

          |   |       ------  31 IXSCAN AFKO~0 #key columns:  2  1.0000E+00  1.5137E+01  2.0000E+00

          |   |

          |   ---     32 [I] FETCH AFVC  4.1108E-04  2.2735E+01  3.0033E+00

          |       |

          |       ------  33 IXSCAN AFVC~0 #key columns:  3  9.9976E-01  1.5147E+01  2.0000E+00

          |

          ---     34 [I] FETCH AFVU  9.9999E-01  2.2845E+01  3.0178E+00

              |

              ------  35 IXSCAN AFVU~0 #key columns:  3  9.9999E-01  1.5147E+01  2.0000E+00

  

Checking the execution plan, I found the TBSCAN on table AFVC, which is the most expensive operation because there are 9,160,118 entries in the table.

And I wonder the root cause to these is the join order of the tables. With another join order there shouldn't be TBSCAN on the table AFVC.

 

 

When I test the same statement on another system, I got a pretty execution plan as follows:

 

SQL Statement

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  SELECT * FROM "VIAUFK_AFVC" WHERE "MANDT" = ? AND "AUFNR" = ? AND "VORNR" = ?

       FETCH FIRST 1 ROWS ONLY OPTIMIZE FOR 1 ROWS WITH UR

 

 

 

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Access Plan      Opt Level = 5 ; Parallelism = None

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

    0 SELECT STATEMENT ( Estimated Costs =  8,607E+01 [timerons] ) num_rows tot_cost i/o_cost

  |

  ---      1 RETURN  3.0090E-05  8.6066E+01  1.1370E+01

      |

      ---      2 NLJOIN  3.0090E-05  8.6066E+01  1.1370E+01

          |

          |--      3 [O] NLJOIN  1.5045E-04  7.6979E+01  1.0170E+01

          |   |

          |   |--      4 [O] NLJOIN  7.5063E-04  6.7878E+01  8.9685E+00

          |   |   |

          |   |   |--      5 [O] HSJOIN  2.5327E-01  5.4924E+01  7.2573E+00

          |   |   |   |

          |   |   |   |--      6 [O] FETCH AFKO  1.0000E+00  1.5147E+01  2.0016E+00

          |   |   |   |   |

          |   |   |   |   ------   7 IXSCAN AFKO~0 #key columns:  2  1.0000E+00  7.5719E+00  1.0000E+00

          |   |   |   |

          |   |   |   ---      8 [I] HSJOIN  2.5327E-01  3.9776E+01  5.2556E+00

          |   |   |       |

          |   |   |       |--      9 [O] FETCH AUFK  1.0000E+00  1.5153E+01  2.0023E+00

          |   |   |       |   |

          |   |   |       |   ------  10 IXSCAN AUFK~0 #key columns:  2  1.0000E+00  7.5720E+00  1.0000E+00

          |   |   |       |

          |   |   |       ---     11 [I] NLJOIN  2.5327E-01  2.4622E+01  3.2532E+00

          |   |   |           |

          |   |   |           |--     12 [O] FETCH AFIH  1.0000E+00  1.5134E+01  2.0000E+00

          |   |   |           |   |

          |   |   |           |   ------  13 IXSCAN AFIH~0 #key columns:  2  1.0000E+00  7.5718E+00  1.0000E+00

          |   |   |           |

          |   |   |           ---     14 [I] FETCH ILOA  2.5327E-01  9.4878E+00  1.2532E+00

          |   |   |               |

          |   |   |               ------  15 IXSCAN ILOA~0 #key columns:  2  2.5327E-01  7.5720E+00  1.0000E+00

          |   |   |

          |   |   ---     16 [I] FETCH AFVC  2.9636E-03  1.2961E+01  1.7122E+00

          |   |       |

          |   |       ------  17 IXSCAN AFVC~0 #key columns:  2  7.1128E-01  7.5736E+00  1.0000E+00

          |   |

          |   ---     18 [I] FETCH AFVV  2.0043E-01  9.1005E+00  1.2017E+00

          |       |

          |       ------  19 IXSCAN AFVV~0 #key columns:  3  2.0043E-01  7.5743E+00  1.0000E+00

          |

          ---     20 [I] FETCH AFVU  1.9999E-01  9.0873E+00  1.2000E+00

              |

              ------  21 IXSCAN AFVU~0 #key columns:  3  1.9999E-01  7.5744E+00  1.0000E+00

  

 

 

The questions here is :

What can I do to make the former DB2 optimizer to generate the pretty execution plan like the latter one? The statistics are quiet up to date for these 7 tables. Do REORGs to these tables works?

 

 

Because I am not an DB expert , so I hope to get some suggestions from you.

Kindly let me know if you need more information.

Thanks in advance.

 

 

Waison

Viewing all 8746 articles
Browse latest View live




Latest Images