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

Re: Bug in CR. NET? Cannot set group sort direction to "original order"

$
0
0

Hello Rick

 

 

I am probably off on this one as you've asked questions here before, but please do make sure you are on SP 6. There was a parameters fix in SP 5 that may help here. Other than that, I'll have to test this next week.

 

Oh, you may also be interested in this KBA- not really directly related to your query, but possibly a "nice to know" re. parameters.

 

 

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces


Re: In Account :Opportunity AB now showing latest records if it is more that 100 entires The Latest Opprtunity are missing from the Accounts

$
0
0

Hello,

 

Maybe the following OSS note should be implemented as well:

Note 1829926 - RFW:Activities are displayed incorrectly.

 

Also, be aware that sometimes search results are cached to save performance. So if you use the breadcrumb navigation for example, when you come back to the account overview page the system might not reread all data from the database for every assignment block... So to be 100% sure that you're not facing a caching issue, it is a good idea to close your browser and start a new session to see if the table contains the newly created opportunities then.

 

Cheers,

Nicolas.

Re: questão XML

Values overlap on the chart

$
0
0

Hi all,

 

BO 4.0 SP5.

I create a pie chart in webi report. Formatted chart to display > Data Position as Outside > Positioning Layout > Side Layout.

The values on the chart are overlapping.Please help me out.

Re: Erro533:Rejeicao Total da BC ICMS difere somatorio dos itens sem no retorno ECC

$
0
0

Gizela,

 

 

Tentaste atualizar o ERP a partir do NFE10 na tela abaixo?

 

Capture.JPG

Este item é para atualizar o ERP com status do NFE10

 

Karen Rodrigues

Re: CR2011 VS2010 Deployment

$
0
0

Assembly:  CrystalDecisions.CrystalReports.Engine

Version:     13.0.2000.0

Path:          C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.CrystalReports.Engine.dll

 

Assembly: CrystalDecisions.ReportSource

Version:     Same

Path:          Equivalent

 

Assembly:  CrystalDecisions.Shared

Version:     Same

Path:          Equivalent

 

Assembly:  CrystalDecisions.Windows.Forms

Version:     Same

Path:          Equivalent

Re: Customer Invoice Request XML Specification

Re: Pricing table error

$
0
0

RAMESH, Neeraj,

 

Please comment -

 

While configuring new condition types, new condition tables, new access sequences -

 

CASE 1: If two requests are created, one for condition types and the other for condition tables, access sequences.

(for the second request) Is it necessary to first create condition tables and then to create access sequences. Or any one can be created first (as it is one request)?***

 

But the transport of the requests should be in a sequence - first condition tables and access sequence; and then condition types.

 

CASE 2: If three requests are created,

one for condition types and the other for condition tables, and the third for access sequences.

The creation of these elements (condition types) can be done in any order. But the transport of the requests should be in a sequence - first condition tables, then access sequence, and then condition types.

 

Is my understanding correct?


 

 

***Similar example is in one customizing request is it necessary to create first Sales document type and then item category and then schedule line category Or any element can be configured first?


DDIC_TYPE_INCONSISTENCY after Switch Activation

$
0
0

Hi Experts ,

DDIC_TYPE_INCONSISTENCY with most FI transctions occurring after  Switch activation.  Data Dictionary inconsistencies post-activation caused many transactions with FI/CO area  to short dump as below  ( also attached ) , please help

 

Category               Internal Kernel Error
Runtime Errors         DDIC_TYPE_INCONSISTENCY
Application Component  BC-ABA-LA
Date and Time          06/21/2013 19:18:09
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Short text                                                                                        |
|    Inconsistency in the dictionary for the structure "AFVC".                                     |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What happened?                                                                                    |
|    Error in the SAP kernel.                                                                      |
|                                                                                                  |
|    The current ABAP "%_CCO" program had to be terminated because the                             |
|    ABAP processor detected an internal system error.                                             |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What can you do?                                                                                  |
|    Note which actions and input led to the error.                                                |
|                                                                                                  |
|    For further help in handling the problem, contact your SAP administrator                      |
|    .                                                                                             |
|                                                                                                  |
|    You can use the ABAP dump analysis transaction ST22 to view and manage                        |
|    termination messages, in particular for long term reference.                                  |
|                                                                                                  |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Error analysis                                                                                    |
|    There is an internal system error.                                                            |
|    eliminated with ABAP/4.                                                                       |
|                                                                                                  |
|    There is an inconsisteny for the DDIC structure "AFVC", the corresponding                     |
|    Dictionary runtime object (NAMETAB) is incorrect.                                             |
|                                                                                                  |
|    The number of components of the structure (NAMETAB component "fldcnt")                        |
|    is specified as 179. If all the substructures are resolved and the                            |
|    actual total number of components is calculated recursively, a different                      |
|    value is returned.                                                                            |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|How to correct the error                                                                          |
|    The error was probably caused by changes being made to the                                    |
|    DDIC structure "AFVC" or one of its substructures and an error occurred                       |
|    afterwards at activation. Check the runtime object of the structure "AFVC"                    |
|    in the Dictionary to analyze the exact cause of the error.                                    |
|                                                                                                  |
|    If the program RSNTABCONSISTENCY or its predecessor RSDDCHECK exists in                       |
|    your system, you can check structure "AFVC" with the help of one of these                     |
|    programs.                                                                                     |
|                                                                                                  |
|    If you cannot solve the problem yourself and want to send an error                            |
|    notification to SAP, include the following information:                                       |
|                                                                                                  |
|    1. The description of the current problem (short dump)                                        |
|                                                                                                  |
|       To save the description, choose "System->List->Save->Local File                            |
|    (Unconverted)".                                                                               |
|                                                                                                  |
|    2. Corresponding system log                                                                   |
|                                                                                                  |
|       Display the system log by calling transaction SM21.                                        |
|       Restrict the time interval to 10 minutes before and five minutes                           |
|    after the short dump. Then choose "System->List->Save->Local File                             |
|    (Unconverted)".                                                                               |
|                                                                                                  |
|    3. If the problem occurs in a problem of your own or a modified SAP                           |
|    program: The source code of the program                                                       |
|       In the editor, choose "Utilities->More                                                     |
|    Utilities->Upload/Download->Download".                                                        |
|                                                                                                  |
|    4. Details about the conditions under which the error occurred or which                       |
|    actions and input led to the error.                                                           |
|                                                                                                  |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|System environment                                                                                |
|    SAP Release..... 731                                                                          |
|    SAP Basis Level. 0005                                                                         |
|                                                                                                  |
|    Application server... "sapk1lci"                                                              |
|    Network address...... "10.54.172.67"                                                          |
|    Operating system..... "AIX"                                                                   |
|    Release.............. "6.1"                                                                   |
|    Hardware type........ "00F76DD84C00"                                                          |
|    Character length.... 16 Bits                                                                  |
|    Pointer length....... 64 Bits                                                                 |
|    Work process number.. 7                                                                       |
|    Shortdump setting.... "full"                                                                  |
|                                                                                                  |
|    Database server... "sapk1ldb"                                                                 |
|    Database type..... "ORACLE"                                                                   |
|    Database name..... "K1L"                                                                      |
|    Database user ID.. "SAPSR3"                                                                   |
|                                                                                                  |
|    Terminal.......... " "                                                                        |
|                                                                                                  |
|    Char.set.... "C"                                                                              |
|                                                                                                  |
|    SAP kernel....... 720                                                                         |
|    created (date)... "Dec 16 2012 19:50:53"                                                      |
|    create on........ "AIX 1 6 00C7B8024C00"                                                      |
|    Database version. "OCI_112, 11.2.0.3.0, V1, default"                                          |
|                                                                                                  |
|    Patch level. 400                                                                              |
|    Patch text.. " "                                                                              |
|                                                                                                  |
|    Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"               |
|    SAP database version. 720                                                                     |
|    Operating system..... "AIX 1 6, AIX 1 7"                                                      |
|                                                                                                  |
|    Memory consumption                                                                            |
|    Roll.... 0                                                                                    |
|    EM...... 4189792                                                                              |
|    Heap.... 0                                                                                    |
|    Page.... 0                                                                                    |
|    MM Used. 3016112                                                                              |
|    MM Free. 1171008                                                                              |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|User and Transaction                                                                              |
|    Client.............. 000                                                                      |
|    User................ "SAPSYS"                                                                 |
|    Language key........ "E"                                                                      |
|    Transaction......... " "                                                                      |
|    Transaction ID...... "51C31B5ED8634540E10080000A36AC43"                                       |
|                                                                                                  |
|    EPP Whole Context ID.... " "                                                                  |
|    EPP Connection ID....... " "                                                                  |
|    EPP Caller Counter...... 0                                                                    |
|                                                                                                  |
|    Program............. "%_CCO"                                                                  |
|    Screen.............. " "                                                                      |
|    Screen Line......... " "                                                                      |
|    Debugger Active..... "none"                                                                   |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Information on where terminated                                                                   |
|    The termination occurred during generation of the ABAP/4 program "%_CCO".                     |
|    -                                                                                             |
|                                                                                                  |
|    The termination occurred in line 13                                                           |
|    of the source code of program "%_CCO" (when calling the editor 130).                          |
|    The program "%_CCO" was started as a background job.                                          |
|    Job Name....... " "                                                                           |
|    Job Initiator.. " "                                                                           |
|    Job Number..... " "                                                                           |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Source Code Extract                                                                               |
----------------------------------------------------------------------------------------------------
|Line |SourceCde                                                                                   |
----------------------------------------------------------------------------------------------------
|    1|TYPE-POOL co .                                                                              |
|    2|* Type für Auftragskopie erstellen                                                          |
|    3|TYPES: BEGIN OF co_ord_idx,                                                                 |
|    4|         aufnr_old  LIKE aufk-aufnr,                                                        |
|    5|         index_new  LIKE sy-tabix,                                                          |
|    6|         flg_append TYPE c,                                                                 |
|    7|         rsnum_old  LIKE afko-rsnum,                                                        |
|    8|         stsma_old  LIKE jsto-stsma,                                                        |
|    9|       END OF co_ord_idx.                                                                   |
|   10|TYPES: co_ord_tab LIKE typ_ord_idx OCCURS 0.                                                |
|   11|                                                                                            |
|   12|TYPES: BEGIN OF co_opr_idx,                                                                 |
|>>>>>|         aufpl_old  LIKE afvc-aufpl,                                                        |
|   14|         aplzl_old  LIKE afvc-aplzl,                                                        |
|   15|         index_new  LIKE sy-tabix,                                                          |
|   16|       END OF co_opr_idx.                                                                   |
|   17|TYPES: co_opr_tab TYPE co_opr_idx OCCURS 0.                                                 |
|   18|                                                                                            |
|   19|TYPES: BEGIN OF co_cmp_idx,                                                                 |
|   20|         rsnum_old  LIKE resb-rsnum,                                                        |
|   21|         rspos_old  LIKE resb-rspos,                                                        |
|   22|         rsart_old  LIKE resb-rsart,                                                        |
|   23|         index_new  LIKE sy-tabix,                                                          |
|   24|       END OF co_cmp_idx.                                                                   |
|   25|TYPES: co_cmp_tab TYPE co_cmp_idx OCCURS 0.                                                 |
|   26|                                                                                            |
|   27|TYPES: co_affhd_tab  LIKE STANDARD TABLE OF affhd  WITH DEFAULT KEY,                        |
|   28|       co_affld_tab  LIKE STANDARD TABLE OF affld  WITH DEFAULT KEY,                        |
|   29|       co_afpod_tab  LIKE STANDARD TABLE OF afpod  WITH DEFAULT KEY,                        |
|   30|       co_afvgd_tab  LIKE STANDARD TABLE OF afvgd  WITH DEFAULT KEY,                        |
|   31|       co_caufvd_tab LIKE STANDARD TABLE OF caufvd WITH DEFAULT KEY,                        |
|   32|       co_resbd_tab  LIKE STANDARD TABLE OF resbd  WITH DEFAULT KEY.                        |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Internal notes                                                                                    |
|    The termination was triggered in function "ab_RxDdicTypeError"                                |
|    of the SAP kernel, in line 1069 of the module                                                 |
|     "//bas/720_REL/src/krn/runt/abucutil.c#4".                                                   |
|    The internal operation just processed is " ".                                                 |
|    Internal mode was started at 20130621191809.                                                  |
|    There is an inconsistency in the DDIC structure "AFVC", the corresponding                     |
|    dictionary runtime object (NAMETAB) is incorrect.                                             |
|                                                                                                  |
|    The number of components of the structure (NAMETAB component "fldcnt")                        |
|    is specified using 179. If you dismantle all the substructures and                            |
|    calculate the actual total number of all the components recursively                           |
|    then the result is a different value.                                                         |
|                                                                                                  |
|    The error was caused because structure "AFVC" or one of its substructures                     |
|    was changed and an error occurred in the subsequent activation. Please                        |
|    check the runtime object of the structure "AFVC" in the dictionary to                         |
|    analysis the exact error cause.                                                               |
|                                                                                                  |
|    If the program RSDDCHECK is available on your system, you can also use                        |
|    it to check structure "AFVC".                                                                 |
|                                                                                                  |
|                                                                                                  |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Active Calls in SAP Kernel                                                                        |
----------------------------------------------------------------------------------------------------
|Lines of C Stack in Kernel (Structure Differs on Each Platform)                                   |
----------------------------------------------------------------------------------------------------
|=> 64 bit R/3 Kernel                                                                              |
|=> 64 bit AIX Kernel                                                                              |
|=> Heap limit      = unlimited                                                                    |
|=> Stack limit     = 33554432                                                                     |
|=> Core limit      = unlimited                                                                    |
|=> File size limit = unlimited                                                                    |
|=> Heap address  = 0x11d086bc0                                                                    |
|=> Stack address = 0xffffffffffe3ed0                                                              |
|=> Stack low     =  0xffffffffffe3ed0                                                             |
|=> Stack high    =  0xfffffffffffedc0                                                             |
|=> Stack Trace:                                                                                   |
| AixStack() at 0x10015cda4                                                                        |
| CTrcStack2() at 0x10015cc98                                                                      |
| rabax_CStackSave__Fv@AF172_21() at 0x1002f50e8                                                   |
| ab_rabax() at 0x1002e2f90                                                                        |
| ab_RxDdicTypeError__FPCUsUi() at 0x100a9df10                                                     |
| firstLevelChildCnt__2UcFP7sc_type() at 0x100850e18                                               |
| typeToTree__2UcFP9UC_BUFFERUiP7sc_typeP7UC_NODEP17UC_CUST_INCL_INFOP18UC_UNSIGNED_TRIPLEP13UC_ALI|
| typeToFragView__2UcFPP12UC_FRAG_VIEWP17UC_CUST_INCL_INFOP7sc_type() at 0x1008500a4               |
| runUc__2UcFP7sc_type() at 0x10084fe54                                                            |
| sc_tparUcFragView__FP7sc_type() at 0x10084fd38                                                   |
| sc_loadflds__FP7sc_type() at 0x10049ed34                                                         |
| simple_type_find_1__FPCUs9TYPE_MODEPP3ENVP7SC_INFO() at 0x1004a42ec                              |
| sc_complex_type_find__FPCUs9TYPE_MODEP7SC_INFO() at 0x1004a2ca4                                  |
| sc_data_type_find_1__FPCUs7HD_BOOLP6SC_LOCP7SC_INFO() at 0x1008733b0                             |
| sc_data_type_find__FPCUs7HD_BOOLP6SC_LOCP7SC_INFO() at 0x100872be8                               |
| sc_ctypid_do__FPCUs9TYPE_MODEUiP7SC_INFO() at 0x1004a0e28                                        |
| sc_ctypid__FPCUs9TYPE_MODEUi7HD_BOOLP7SC_INFO() at 0x1004a0520                                   |
| sc_typid() at 0x101d07b90                                                                        |
| rs_oper_abap5971() at 0x1021773a4                                                                |
| Unknown at 0x101ff1d14                                                                           |
| sc_expan__FUi() at 0x101d1a26c                                                                   |
| parse__FP5LEVEL() at 0x101d571b4                                                                 |
| checkStatement__FiPP4STMTP5LEVELPP3ENVN41() at 0x101d4fb6c                                       |
| sc_check() at 0x101d4cdf8                                                                        |
| sc_checkStart() at 0x101d4c908                                                                   |
| cg_generate() at 0x1004adef4                                                                     |
| ab_gabap() at 0x100467e4c                                                                        |
| dy_gen_abap() at 0x101436dc4                                                                     |
| generateProgram__FPCUsUc() at 0x10273d7ac                                                        |
| ab_APGWorker() at 0x10273ce14                                                                    |
| ThSchedCallDelayed() at 0x1012c4cdc                                                              |
| TskhLoop() at 0x100264e3c                                                                        |
| ThStart() at 0x10025f9b4                                                                         |
| DpMain() at 0x100024fb4                                                                          |
| nlsui_main() at 0x100000934                                                                      |
----------------------------------------------------------------------------------------------------

Re: Drop down requirement............................

$
0
0

Hi Ravi,

            For the dropdown define an event handler by passing fp_onclick in get_p_xxx method of the attribute.

 

Now define a an event and with in that fetch the current value selected from the dropdoen and there you set the remaining field attributes with in that event. so that basing on the dropdown value you can fill the rest of the fields in the view.

 

Thanks and Regards,

             DP.

Re: Cannot Get ArchiveLink Working

$
0
0

Hi Jon,

 

Could you please check the error details in transaction code OADR.

 

Regards,

Deepak Kori

Re: Exception Aggregation not delegated from BW OLAP engine to HANA

$
0
0

Hi Christoph,

 

In order to confirm that Exception Aggregation is pushed down to HANA, I used the "Execute and Explain" option in RSRT. When you use this option you can use it to test whether Exception Aggregation is executed in HANA (last checkbox).

 

I have also tested the different HANA ops options (0, 3 and 6) and I must admit that the numbers I saw for DBTRANS event, were not the numbers I was expecting...

However, I haven't proceeded with this analysis.

I just used the "Execute and explain" to assure that it was pushed down to HANA.

 

Regards,

Stefan

Re: DB Export (both ABAP+JAVA) via Sapinst

$
0
0

Hi John,

 

Downtime for the system copy depends on the following parameters

1) Number of CPUs available on the source and target system

2) Number of application servers available on the source and target. IT will be useful in using distribution monitor.

3) What is the approach used for export- > Table splitting, Package splitting.

 

As a best practice you need to have trial run done for getting exact estimates.

 

Hope this helps.

 

Regards,

Deepak Kori

Re: How To submit new Article in SCN?

$
0
0

Hi Leon,

 

I am not able to post PDF document under documents. They have specfied file types. How can I post PDF's in document section.

 

Thanks

 

Madhu

Re: DDIC_TYPE_INCONSISTENCY after Switch Activation

$
0
0

Hi Abu,

You can check the runtime object consistency .

Se11->utilities->runtime object->Check.

 

Post this you may go to SE14 and activate the structure once again to correct the inconsistencies.

 

Hope this helps.

 

Regards,

Deepak Kori


Re: how to take backup multipal volums

$
0
0

Hi Vedprakash,

 

Set the following parameters in the initSID.sap file.

tape_size = 800 GB

compress = yes

 

Hope this helps.

 

Regards,

Deepak Kori

PIR Reduction in strategy 40

$
0
0

SAP help says strategy 40 will have both PIR consumption (when SO created) and reduction (when goods issued to SO)

 

40.gif

 

but in planning strategy standard configuration req. reduction indicator is unchecked (right side bottom corner)

 

40.PNG

if req reduct.indicator is unchecked, how is sap help saying that requirement reduction happens in 40?  are these both different settings?

 

Thx in advance

Swati

Re: Problem In Restricted Recruiter Scenario ?

$
0
0

Pls, if anybody knows how to sort out this problem , pls help .

Re: interactive alv report using oops concept joining 2 tables mara and marc.

$
0
0

hiii try this code....its for ekko and ekpo...replace with your required fields or you can try standard program BCALV_GRID_03 .

 

REWARD POINTS if helpful

 

Report ZZTEST .

TYPE-POOLS: SLIS.

*type declaration for values from ekko

TYPES: BEGIN OF I_EKKO,

EBELN LIKE EKKO-EBELN,

AEDAT LIKE EKKO-AEDAT,

BUKRS LIKE EKKO-BUKRS,

BSART LIKE EKKO-BSART,

LIFNR LIKE EKKO-LIFNR,

END OF I_EKKO.

 

DATA: IT_EKKO TYPE STANDARD TABLE OF I_EKKO INITIAL SIZE 0,

WA_EKKO TYPE I_EKKO.

 

*type declaration for values from ekpo

TYPES: BEGIN OF I_EKPO,

EBELN LIKE EKPO-EBELN,

EBELP LIKE EKPO-EBELP,

MATNR LIKE EKPO-MATNR,

MENGE LIKE EKPO-MENGE,

MEINS LIKE EKPO-MEINS,

NETPR LIKE EKPO-NETPR,

END OF I_EKPO.

 

DATA: IT_EKPO TYPE STANDARD TABLE OF I_EKPO INITIAL SIZE 0,

WA_EKPO TYPE I_EKPO .

 

*variable for Report ID

DATA: V_REPID LIKE SY-REPID .

 

*declaration for fieldcatalog

DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,

WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.

 

 

DATA: IT_LISTHEADER TYPE SLIS_T_LISTHEADER.

 

  • declaration for events table where user comand or set PF status will
  • be defined

DATA: V_EVENTS TYPE SLIS_T_EVENT,WA_EVENT TYPE SLIS_ALV_EVENT.

  • declartion for layout

DATA: ALV_LAYOUT TYPE SLIS_LAYOUT_ALV.

  • declaration for variant(type of display we want)

DATA: I_VARIANT TYPE DISVARIANT,I_VARIANT1 TYPE DISVARIANT,I_SAVE(1) TYPE C.*PARAMETERS : p_var TYPE disvariant-variant.*Title displayed when the alv list is displayedDATA: I_TITLE_EKKO TYPE LVC_TITLE VALUE 'FIRST LIST DISPLAYED'.DATA: I_TITLE_EKPO TYPE LVC_TITLE VALUE 'SECONDRY LIST DISPLAYED'.INITIALIZATION.V_REPID = SY-REPID.PERFORM BUILD_FIELDCATLOG.PERFORM EVENT_CALL.PERFORM POPULATE_EVENT.START-OF-SELECTION.PERFORM DATA_RETRIEVAL.PERFORM BUILD_LISTHEADER USING IT_LISTHEADER.PERFORM DISPLAY_ALV_REPORT.&----


*& Form BUILD_FIELDCATLOG&----


  • Fieldcatalog has all the field details from ekko

----


FORM BUILD_FIELDCATLOG.WA_FIELDCAT-TABNAME = 'IT_EKKO'.WA_FIELDCAT-FIELDNAME = 'EBELN'.WA_FIELDCAT-SELTEXT_M = 'PO NO.'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.WA_FIELDCAT-TABNAME = 'IT_EKKO'.WA_FIELDCAT-FIELDNAME = 'AEDAT'.WA_FIELDCAT-SELTEXT_M = 'DATE.'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.WA_FIELDCAT-TABNAME = 'IT_EKKO'.WA_FIELDCAT-FIELDNAME = 'BUKRS'.WA_FIELDCAT-SELTEXT_M = 'COMPANY CODE'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.WA_FIELDCAT-TABNAME = 'IT_EKKO'.WA_FIELDCAT-FIELDNAME = 'BUKRS'.WA_FIELDCAT-SELTEXT_M = 'DOCMENT TYPE'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.WA_FIELDCAT-TABNAME = 'IT_EKKO'.WA_FIELDCAT-FIELDNAME = 'LIFNR'.WA_FIELDCAT-NO_OUT = 'X'.WA_FIELDCAT-SELTEXT_M = 'VENDOR CODE'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.ENDFORM. "BUILD_FIELDCATLOG&----


*& Form EVENT_CALL&----


  • we get all events - TOP OF PAGE or USER COMMAND in table v_events

----


FORM EVENT_CALL.CALL FUNCTION 'REUSE_ALV_EVENTS_GET'EXPORTINGI_LIST_TYPE = 0IMPORTINGET_EVENTS = V_EVENTS

  • EXCEPTIONS
  • LIST_TYPE_WRONG = 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.ENDFORM. "EVENT_CALL&----


*& Form POPULATE_EVENT&----


  • Events populated for TOP OF PAGE & USER COMAND

----


FORM POPULATE_EVENT.READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.IF SY-SUBRC EQ 0.WA_EVENT-FORM = 'TOP_OF_PAGE'.MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =WA_EVENT-FORM.ENDIF.READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'USER_COMMAND'.IF SY-SUBRC EQ 0.WA_EVENT-FORM = 'USER_COMMAND'.MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =WA_EVENT-NAME.ENDIF.ENDFORM. "POPULATE_EVENT&----


*& Form data_retrieval&----


  • retreiving values from the database table ekko

----


FORM DATA_RETRIEVAL.SELECT EBELN AEDAT BUKRS BSART LIFNR FROM EKKO INTO TABLE IT_EKKO.ENDFORM. "data_retrieval&----


*& Form bUild_listheader&----


  • text

----


  • -->I_LISTHEADEtext

----


FORM BUILD_LISTHEADER USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.DATA HLINE TYPE SLIS_LISTHEADER.HLINE-INFO = 'this is my first alv pgm'.HLINE-TYP = 'H'.ENDFORM. "build_listheader&----


*& Form display_alv_report&----


  • text

----


FORM DISPLAY_ALV_REPORT.V_REPID = SY-REPID.CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'EXPORTINGI_CALLBACK_PROGRAM = V_REPID

  • I_CALLBACK_PF_STATUS_SET = ' '

I_CALLBACK_USER_COMMAND = 'USER_COMMAND'I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'I_GRID_TITLE = I_TITLE_EKKO

  • I_GRID_SETTINGS =
  • IS_LAYOUT = ALV_LAYOUT

IT_FIELDCAT = I_FIELDCAT[]

  • IT_EXCLUDING =
  • IT_SPECIAL_GROUPS =
  • IT_SORT =
  • IT_FILTER =
  • IS_SEL_HIDE =
  • i_default = 'ZLAY1'

I_SAVE = 'A'

  • is_variant = i_variant

IT_EVENTS = V_EVENTSTABLEST_OUTTAB = IT_EKKO

  • 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.ENDFORM. "display_alv_report&----


*& Form TOP_OF_PAGE&----


  • text

----


FORM TOP_OF_PAGE.CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'EXPORTINGIT_LIST_COMMENTARY = IT_LISTHEADER

  • i_logo =
  • I_END_OF_LIST_GRID =

.ENDFORM. "TOP_OF_PAGE&----


*& Form USER_COMMAND&----


  • text

----


  • -->R_UCOMM text
  • -->, text
  • -->RS_SLEFIELDtext

----


FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMMRS_SELFIELD TYPE SLIS_SELFIELD.CASE R_UCOMM.WHEN '&IC1'.READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.PERFORM BUILD_FIELDCATLOG_EKPO.PERFORM EVENT_CALL_EKPO.PERFORM POPULATE_EVENT_EKPO.PERFORM DATA_RETRIEVAL_EKPO.PERFORM BUILD_LISTHEADER_EKPO USING IT_LISTHEADER.PERFORM DISPLAY_ALV_EKPO.ENDCASE.ENDFORM. "user_command&----


*& Form BUILD_FIELDCATLOG_EKPO&----


  • text

----


FORM BUILD_FIELDCATLOG_EKPO.WA_FIELDCAT-TABNAME = 'IT_EKPO'.WA_FIELDCAT-FIELDNAME = 'EBELN'.WA_FIELDCAT-SELTEXT_M = 'PO NO.'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.WA_FIELDCAT-TABNAME = 'IT_EKPO'.WA_FIELDCAT-FIELDNAME = 'EBELP'.WA_FIELDCAT-SELTEXT_M = 'LINE NO'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.WA_FIELDCAT-TABNAME = 'I_EKPO'.WA_FIELDCAT-FIELDNAME = 'MATNR'.WA_FIELDCAT-SELTEXT_M = 'MATERIAL NO.'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.WA_FIELDCAT-TABNAME = 'I_EKPO'.WA_FIELDCAT-FIELDNAME = 'MENGE'.WA_FIELDCAT-SELTEXT_M = 'QUANTITY'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.WA_FIELDCAT-TABNAME = 'I_EKPO'.WA_FIELDCAT-FIELDNAME = 'MEINS'.WA_FIELDCAT-SELTEXT_M = 'UOM'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.WA_FIELDCAT-TABNAME = 'I_EKPO'.WA_FIELDCAT-FIELDNAME = 'NETPR'.WA_FIELDCAT-SELTEXT_M = 'PRICE'.APPEND WA_FIELDCAT TO I_FIELDCAT.CLEAR WA_FIELDCAT.ENDFORM. "BUILD_FIELDCATLOG_EKPO&----


*& Form event_call_ekpo&----


  • we get all events - TOP OF PAGE or USER COMMAND in table v_events

----


FORM EVENT_CALL_EKPO.CALL FUNCTION 'REUSE_ALV_EVENTS_GET'EXPORTINGI_LIST_TYPE = 0IMPORTINGET_EVENTS = V_EVENTS

  • EXCEPTIONS
  • LIST_TYPE_WRONG = 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.ENDFORM. "event_call_ekpo&----


*& Form POPULATE_EVENT&----


  • Events populated for TOP OF PAGE & USER COMAND

----


FORM POPULATE_EVENT_EKPO.READ TABLE V_EVENTS INTO WA_EVENT WITH KEY NAME = 'TOP_OF_PAGE'.IF SY-SUBRC EQ 0.WA_EVENT-FORM = 'TOP_OF_PAGE'.MODIFY V_EVENTS FROM WA_EVENT TRANSPORTING FORM WHERE NAME =WA_EVENT-FORM.ENDIF.ENDFORM. "POPULATE_EVENT&----


*& Form TOP_OF_PAGE&----


  • text

----


FORM F_TOP_OF_PAGE.CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'EXPORTINGIT_LIST_COMMENTARY = IT_LISTHEADER

  • i_logo =
  • I_END_OF_LIST_GRID =

.ENDFORM. "TOP_OF_PAGE&----


*& Form USER_COMMAND&----


  • text

----


  • -->R_UCOMM text
  • -->, text
  • -->RS_SLEFIELDtext

----


*retreiving values from the database table ekkoFORM DATA_RETRIEVAL_EKPO.SELECT EBELN EBELP MATNR MENGE MEINS NETPR FROM EKPO INTO TABLE IT_EKPO.ENDFORM.FORM BUILD_LISTHEADER_EKPO USING I_LISTHEADER TYPE SLIS_T_LISTHEADER.DATA: HLINE1 TYPE SLIS_LISTHEADER.HLINE1-TYP = 'H'.HLINE1-INFO = 'CHECKING PGM'.ENDFORM.FORM DISPLAY_ALV_EKPO.CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'EXPORTING

  • I_INTERFACE_CHECK = ' '
  • I_BYPASSING_BUFFER = ' '
  • I_BUFFER_ACTIVE = ' '

I_CALLBACK_PROGRAM = V_REPID

  • I_CALLBACK_PF_STATUS_SET = ' '
  • I_CALLBACK_USER_COMMAND = 'F_USER_COMMAND'

I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'

  • I_CALLBACK_HTML_TOP_OF_PAGE = ' '
  • I_CALLBACK_HTML_END_OF_LIST = ' '
  • I_STRUCTURE_NAME =
  • I_BACKGROUND_ID = ' '

I_GRID_TITLE = I_TITLE_EKPO

  • I_GRID_SETTINGS =
  • IS_LAYOUT =

IT_FIELDCAT = I_FIELDCAT[]

  • IT_EXCLUDING =
  • IT_SPECIAL_GROUPS =
  • IT_SORT =
  • IT_FILTER =
  • IS_SEL_HIDE =
  • I_DEFAULT =

I_SAVE = 'A'

  • IS_VARIANT =

IT_EVENTS = V_EVENTSTABLEST_OUTTAB = IT_EKPOEXCEPTIONSPROGRAM_ERROR = 1OTHERS = 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.

ENDFORM.

 

Thanks

Ujwal

Re: SAP Logon Ticket-based Single Sign-On - Exception

$
0
0

Was reading through your posts regarding SSO of SAPEP with Java Applications couldnt trace the article and code to work. I am getting exception at 

Object o[] = evalLogonTicket(Cookie, pab!=null?pab:"SAPdefault" , pwd);

 

saying Null Pointer exception.

 

Could you help me with the document you achieved/prepared this with, as I am using Spring architecture in Java and want to do with SSO for SAPEP.

 

I am eagerly looking forward for your kind help on the same.

As we are stuck on this activity, your sharing of the doc for the same would be of great help and highly appreciated.

 

thanks in advance

aditya

 

Viewing all 9564 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>