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

Re: 0BBP_TD_SC_1 delta inconsistency


Re: me21n & me22n

$
0
0

hi ,

 

please do manual update in me22n

obligatory transport target for business system not found in system landscape directory...

$
0
0

Hello All,

 

I have the issue while importing the objects in production. while importing the objects getting error obligatory transport target for business system not found in system landscape directory.


i have imported TS of PI and TS of ECC, BS of ECC and BS of PI.

created groups and done with transport targets....

all look fine but still getting the error obligatory transport target for business system not found in system landscape directory.


i have done full cache refresh. cross checked all the steps still not able to resolve the issue.

please let me know any system level i need to check,why system not recognizing the SLD objects created???


i checked all the blogs in SCN and cross checked my setting....still issue remain same.


experts inputs please.



regards,

chinna

Re: Weblogic JMS T3S JEE Cacert

Re: Replication with CREMAS idoc extension

$
0
0

Please use enhancment spot ES_SAPLKD01 of Function module MASTERIDOC_CREATE_CREMAS to fill the custom segments.

 

Thanks,

Kartik.

Re: endpoint of a OM from WSDL

Re: Customer unloading points change BAPI

$
0
0

There are no specific rules AFAIK (might be some guideline for the moderators). It makes sense to post a question in the forum where most likely a correct answer can be given.

 

It shouldn't have been posted in SD because it has nothing to do with it. And in the general ABAP forum there is not a big chance that someone with specific IS experience would answer this post. It will most likely just "drown" there.

 

The question is not about some general development challenge, it's about functionality that is specific to IS. Such questions usually get better response in the corresponding IS forums.

Re: when user open the report how he can view the last instance of the report

$
0
0

The only other way would involve changing the default option for ALL reports in the system.  What version of BO/CRS are you using?  How you change this is dependent on the BO version.

 

-Dell


Brief lockout of ASE Server --missing parameters in error log

$
0
0

Hi

Last night user was locked out of ASE server (15.5 ESD 2) briely  -- Application Had following error:

DBError: [20011]: Maximum number of DBPROCESSes already allocated

 

Around the time the error was reported I noticed strange entry in ASE error log -- for about 1 minute the hour and minute entries were not written to log:

00:14:00000:06133:2015/07/16 20:52:40.83 kernel  Cannot read, host process disconnected: BT4-TRD-STC 00000123 spid: 6133

00:02:00000:06524:2015/07/16 20:52:40.84 kernel  Cannot read, host process disconnected: BT4-TRD-STC 00000123 spid: 6524

00:06:00000:09674:2015/07/16 :11.90 kernel  Cannot read, host process disconnected: APPW54-STC 00000123 spid: 9674

00:16:00000:07510:2015/07/16 :27.69 kernel  Cannot read, host process disconnected: APPW54-STC 00000123 spid: 7510

00:04:00000:01925:2015/07/16 :27.69 kernel  Cannot read, host process disconnected: APPW54-STC 00000123 spid: 1925

00:00:00000:00283:2015/07/16 :43.87 kernel  Cannot read, host process disconnected: appw54-stc  spid: 283

00:09:00000:05736:2015/07/16 :43.88 kernel  Cannot read, host process disconnected: appw54-stc  spid: 5736

00:20:00000:06548:2015/07/16 :43.92 kernel  Cannot read, host process disconnected: appw54-stc  spid: 6548

 

I have not seen that in log before ..

at time this happened there were number of maintenance actions running,..

any thoughts..?

Thanks

 

Jim

Re: BPC 10.0 NW on Oracle - Scheduling DM package to run at the server side

$
0
0

Vadim,

 

Further to my testing, noticed that the job is getting executed instantly - regardless of client and server time zones which is strange. I am still working on this.

 

Regards,

Peri

 


Re: How to check the sql drivers details which are deployed in xi system?

$
0
0

Hello Satheesh,

 

Please check the path as shown in the screenshot.

 

jdbc.PNG

 

Regards

Anand

Re: How to install SAP Best Practices for IM&C

How to add header in flat file

$
0
0

Hi,

 

I am working on an outbound flat file interface. Can anyone help me in adding header to the file content?

 

My requirement is to fetch data from tables and creating file with header in an SAP folder.

 

Thanks,

Mansur

Re: Using Smartforms with SAP ITS

$
0
0

So, here is the next test program (it will also require creating one dynpro with custom container in which html viewer has to run):


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

*       Report SF_EXAMPLE_01
*----------------------------------------------------------------------*
*       Printing of documents using Smart Forms
*----------------------------------------------------------------------*
REPORT zsf_example_01.
TABLES: sscrfields .

 

INCLUDE icons.

 

DATA: carr_id TYPE sbook-carrid,
      fm_name TYPE rs38l_fnam.

 

SELECTION-SCREENFUNCTIONKEY1"Will have a function code of 'FC01'
PARAMETER:      p_custid TYPE scustom-id DEFAULT1.
SELECT-OPTIONS: s_carrid FOR carr_id     DEFAULT'LH'TO'LH'.
PARAMETER:      p_form   TYPE tdsfname   DEFAULT'SF_EXAMPLE_01'MODIFID oon .
PARAMETERS:     printpar LIKE eprintparams NO-DISPLAY.

 

DATA: customer    TYPE scustom,
      bookings    TYPE ty_bookings,
      connections TYPE ty_connections.

 

DATA: gs_sfcp TYPE ssfctrlop ,
      gs_sfoo TYPE ssfcompop,
      gs_job_output_info TYPE  ssfcrescl,
      g_pdf_len TYPE i,
      g_pdf_xstring TYPE xstring ,
      gc_html_viewer TYPEREFTO cl_gui_custom_container,
      go_html_viewer TYPEREFTO cl_gui_html_viewer,
      gt_pdf_raw TYPESTANDARDTABLEOF bin1024 ."raw255 ."or bin1024 or any type x.

 

* get data
SELECTSINGLE*FROM scustom INTO customer WHERE id = p_custid.
CHECK sy-subrc =0.
SELECT*FROM sbook INTOTABLE bookings
         WHERE customid = p_custid
         AND   carrid   IN s_carrid
         ORDERBYPRIMARYKEY.
SELECT*FROM spfli INTOTABLE connections
         FORALLENTRIESIN bookings
         WHERE carrid = bookings-carrid
         AND   connid = bookings-connid
         ORDERBYPRIMARYKEY.

 

INITIALIZATION .
  sscrfields-functxt_01 = icon_print_with_parameters &&'Options' .

 

ATSELECTION-SCREEN .
* force input of print options
  IF sy-ucomm EQ'FC01'OR
     ( ( sy-ucomm EQ'ONLI'OR sy-ucomm EQ'PRIN'OR sy-ucomm EQ'SJOB' ) AND
       printpar-tddest ISINITIAL ) .
    PERFORM get_printpar CHANGING printpar .
    IF printpar-tddest ISINITIAL .
      CLEAR sy-ucomm .
      LEAVETOSCREEN sy-dynnr .
    ENDIF.
  ENDIF .

 

START-OF-SELECTION .
* print data
  CALLFUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname           = p_form
    IMPORTING
      fm_name            = fm_name
    EXCEPTIONS
      no_form            =1
      no_function_module =2
      OTHERS             =3.

 

  IF sy-subrc <>0.
    MESSAGEID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

 

  MOVE-CORRESPONDING printpar TO gs_sfcp .
  MOVE-CORRESPONDING printpar TO gs_sfoo .
  gs_sfcp-no_dialog ='X'.
  IF sy-batch ISINITIAL . "get_otf in dialog
    gs_sfcp-getotf ='X' .
  ENDIF .

 

* now call the generated function module
  CALLFUNCTION fm_name
    EXPORTING
      control_parameters = gs_sfcp
      output_options     = gs_sfoo
      customer           = customer
      bookings           = bookings
      connections        = connections
    IMPORTING
      job_output_info    = gs_job_output_info
    EXCEPTIONS
      formatting_error   =1
      internal_error     =2
      send_error         =3
      user_canceled      =4
      OTHERS             =5.

 

  IF sy-subrc <>0.
    MESSAGEID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ELSE .

 

    CHECK sy-batch ISINITIAL . "Only online

 

    PERFORM get_pdf_as_rawtable
      USING
       gs_job_output_info-otfdata[]
      CHANGING
        gt_pdf_raw
        g_pdf_len .

 

    CALLSCREEN 100 .
  ENDIF.

 

ATSELECTION-SCREENOUTPUT .
  LOOPATSCREEN .
    IF screen-group1 ='OON' .
      screen-input =0 .
      MODIFYSCREEN .
    ENDIF .
  ENDLOOP.

 

*&---------------------------------------------------------------------*
*&      Module  CREATE_VIEWER  OUTPUT
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE create_viewer OUTPUT.

 

  CHECK gc_html_viewer ISNOTBOUND .

 

  SETPF-STATUS'SIMPLE' .

 

  PERFORM create_pdf_viewer USING gt_pdf_raw g_pdf_len.

 

ENDMODULE.                 " CREATE_VIEWER  OUTPUT
*&---------------------------------------------------------------------*
*&      Module  USER_COMMAND  INPUT
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
MODULE user_command INPUT.
  CASE sy-ucomm .
    WHEN'EXIT'OR'CANC'OR'BACK' .
      go_html_viewer->free( ) .
      gc_html_viewer->free( ).
      LEAVEPROGRAM .
    WHENOTHERS .
      CLEAR sy-ucomm .
  ENDCASE .
ENDMODULE.                 " USER_COMMAND  INPUT

 

FORM get_printpar CHANGING cs_printpar TYPE eprintparams.

 

  DATA: ls_printpar TYPE eprintparams .

 

  ls_printpar = cs_printpar .
  ls_printpar-device ='PRINTER'.

 

  CALLFUNCTION 'EFG_GET_PRINT_PARAMETERS'
    EXPORTING
      x_printparams  = ls_printpar
      x_no_preview   = abap_true
      x_no_archive   = abap_true
      x_no_last_doc  = abap_true
      x_only_printer = abap_true
    IMPORTING
      y_printparams  = ls_printpar
    EXCEPTIONS
      cancelled      =1
      input_error    =2
      failed         =3
      OTHERS         =4.
  IF sy-subrc EQ0 .
    cs_printpar = ls_printpar .
  ELSEIF sy-subrc EQ1OR
         sy-subrc EQ2 .
    MESSAGEID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ELSEIF sy-subrc GE3 .
    MESSAGE e898(e9) WITH
     'sy-subrc' sy-subrc 'EFG_GET_PRINT_PARAMETERS' space.
  ENDIF.

 

ENDFORM.                    " DEFINE_PRINT_PAR

 

FORM create_pdf_viewer
  USING
   it_pdf_raw TYPESTANDARDTABLE
   i_pdf_len TYPE i .

 

  DATA:
    l_style TYPE i,
    l_pdf_alignment TYPE i,
    l_url TYPE w3url.

 

  l_style = cl_gui_control=>ws_child +
          cl_gui_control=>ws_visible.

 

* create custom container
  CREATEOBJECT gc_html_viewer
    EXPORTING
      container_name              ='GC_HTML_VIEWER'
      style                       = l_style
    EXCEPTIONS
      cntl_error                  =1
      cntl_system_error           =2
      create_error                =3
      lifetime_error              =4
      lifetime_dynpro_dynpro_link =5
      OTHERS                      =6.
  IF sy-subrc <>0.
    MESSAGEID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

 

* create HTML viewer object
  CREATEOBJECT go_html_viewer
    EXPORTING
      parent = gc_html_viewer.

 

  l_pdf_alignment = go_html_viewer->align_at_left  +
                    go_html_viewer->align_at_right +
                    go_html_viewer->align_at_top  +
                    go_html_viewer- >align_at_bottom.

 

  go_html_viewer->set_alignment(
    EXPORTING
      alignment         = l_pdf_alignment    " Alignment
    EXCEPTIONS
      cntl_error        =1
      cntl_system_error =2
      OTHERS            =3
  ).
  IF sy-subrc <>0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

 

* load PDF data (get URL)
  go_html_viewer->load_data(
     EXPORTING
       type                   ='application'
       subtype                ='pdf'
       size                   = i_pdf_len
     IMPORTING
       assigned_url           = l_url
     CHANGING
       data_table             = it_pdf_raw
     EXCEPTIONS
       dp_invalid_parameter   =1
       dp_error_general       =2
       cntl_error             =3
       html_syntax_notcorrect =4
       OTHERS                 =5
   ).
  IF sy-subrc <>0.
    MESSAGEID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

 

* show HTML object with PDF
  go_html_viewer->show_url(
    EXPORTING
      url = l_url
      in_place ='X'
    EXCEPTIONS
      cntl_error =1
      cnht_error_not_allowed =2
      cnht_error_parameter =3
      dp_error_general =4
      OTHERS=5
  ).
  IF sy-subrc <>0.
    MESSAGEID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

 

ENDFORM .

 

FORM get_pdf_as_rawtable
  USING
    it_otf TYPE tsfotf
  CHANGING
    ct_pdf_rawtable TYPESTANDARDTABLE
    c_pdf_size TYPE i.

 

  DATA: lt_dummylines TYPE tlinetab,
        l_pdf_xstring TYPE xstring.

 

  CALLFUNCTION 'CONVERT_OTF'
    EXPORTING
      format                ='PDF'
    IMPORTING
      bin_filesize          = c_pdf_size
      bin_file              = l_pdf_xstring
    TABLES
      otf                   = it_otf[]
      lines                 = lt_dummylines[]
    EXCEPTIONS
      err_max_linewidth     =1
      err_format            =2
      err_conv_not_possible =3
      err_bad_otf           =4
      OTHERS                =5.
  IF sy-subrc <>0.
    MESSAGEID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ELSE .
    PERFORM xstring_to_rawtable
      USING l_pdf_xstring ct_pdf_rawtable .
  ENDIF.

 

ENDFORM .

 

FORM xstring_to_rawtable
  USING
    i_xstring TYPE xstring
  CHANGING
    ct_rawtable TYPESTANDARDTABLE .

 

  FIELD-SYMBOLS: <l_raw> TYPE x .
  DATA: l_ref TYPEREFTO data .
  DATA: l_size TYPE i, l_offset TYPE i, l_len TYPE i .
  DATA: lo_table TYPEREFTO cl_abap_tabledescr .
  DATA: lo_line TYPEREFTO cl_abap_datadescr .

 

  l_size = xstrlen( i_xstring ) .

 

  "create table work area
  lo_table ?= cl_abap_tabledescr=>describe_by_data( ct_rawtable ) .
  lo_line ?= lo_table->get_table_line_type( ).
  CREATEDATA l_ref TYPEHANDLE lo_line .
  ASSIGN l_ref->* TO<l_raw> .  "should dump if wrong table type passed

 

  "set data length
  l_len = cl_abap_typedescr=>describe_by_data( <l_raw> )->length .
  "limit data length
  IF l_offset + l_len GT l_size .
    l_len = l_size - l_offset .
  ENDIF.

 

  WHILE l_offset LT l_size.

    <l_raw> = i_xstring+l_offset(l_len) .
    APPEND<l_raw> TO ct_rawtable .

 

    "offset to next data line
    ADD l_len TO l_offset .
    "limit length of last data line
    IF l_offset + l_len GT l_size .
      l_len = l_size - l_offset .
    ENDIF.

  ENDWHILE .

ENDFORM .

 

 

Create a dynpro 0100 for the program as follows:

ITS6.png

- add custom container named GC_HTML_VIEWER

- add flow logic as follows:


PROCESS BEFORE OUTPUT.
  MODULE create_viewer .
*
PROCESS AFTER INPUT.
  MODULE user_command.

 

Finally, create a GUI status named SIMPLE, with nothing but EXIT, BACK and CANC functions enabled:

ITS7.png

Activate everything and program should run. Then create a report transaction for it and test it under ICF services.

 

cheers

Jānis

Posting Not Possible; NF no. Document () and access Key (&1) differ J1B_NFE309

$
0
0

Senhores;

 

Vejam se podem me ajudar... não encontrei nada nos Foruns nem no Portal de Suporte para este erro.

 

Estamos processando Notas Fiscais no Monitor Fiscal, homologacao, as mesmas foram baixadas direto da SEFAZ AN atraves do Job Collect_Documents;

 

Acontece que quando executamos a simulação da invoice, logo após fazer o assignment do Pedido de Compras, ocorre o erro:

 

Posting Not Possible; NF no. Document () and access Key (&1) differ J1B_NFE309, onde &1 é o numero da nota fiscal;

 

Este XML não tem a tag do Pedido de Compras, até aí tudo bem (acredito eu), por isso estamos atribuindo o pedido manualmente:

 

Untitled.png

 

O mais engraçado é que consultando essa nota (no ambiente de homologacao) ela consta na base da SEFAZ. Devidamente Autorizada, inclusive com o evento de ciencia da operacao enviado por nós.

 

Qualquer ajuda é bem vinda.


Field validations

$
0
0

Hi all,

 

I want to differentiate between events 'At selection-screen' and 'At selection-screen on <field>'.

I am attaching a file here. In that I have used event 'At selection-screen on s_vbeln'. But the field s_ebeln  is also getting validated.

I think only that s_vbeln should be validated as we are specifically mentioning it. But why s_ebeln is getting validated in the process.

Your help is appreciated.

 

Regards,

larry.

INTERVIEW QUESTION

$
0
0

Dear Friends,

I am sap abap certified fresher . I going to interview on coming wednesday.so i need some instruction and interview question.so help me

Re: CAT2 : Personal Number Assigned to PM Order

$
0
0

Hi Suresh,

 

You are asking for the community to provide you with 2 badic trainings, when either

A) your employer dold you to the client as knowing basic HR and PM (hopefully not, but if so, that's training your employer should provide)

B) it's the client's job to create appropriate master data.

 

But providing comprehensive basic training or regurgitating help.sap.com is not what should br clogging up the SCN.

 

And in any case: the client or your resoectibve HR and PM colleagues need to give you the bespoke context anyway, so you know which org objects etc you have to use

Re: No Approve Button for Leave Request in MSS

$
0
0

Hi Satish

Many thanks for the response and update.

The screenshot attachment that you have outlined above is not that of the UWL Connectors.

 

What I am looking for here is a set listing of the connectors that you currently have configured in association to the Universal Worklist itself.

 

E.G.

 

  • WebFlowConnector
  • BPEMUWL Connector
  • AdHocWorkFlowConnector

 

You've (in the screenshot) navigated to the right place but just havint opened the "Display Connection Status" screen.

 

 

Kindly update me as per your findings.

 

 

Kind Regards & All The Best

 

Troy Cronin - Enterprise Portal Support Engineer

Follow Troy Cronin

Unable to create application in Mobile Service Cockpit in HCPms Trial

$
0
0

Hi All,

 

I am unable to create a new application in Mobile Service Cockpit in HCPms Trial account. The HTTP response is 403 forbidden.

Please check the screenshot.

kapselapp.JPGnetworkcall.JPG

 

I don't see anything wrong in the data provided. Is anyone else facing the same issue?

 

Regards,

Ekansh

Viewing all 3347 articles
Browse latest View live