Quantcast
Channel: SCN : All Content - All Communities
Viewing all 8096 articles
Browse latest View live

Only empty URL opening without dialog box to install EPM Add-in

$
0
0

Hi Experts,

 

I am trying to install EPM Add-in from BPC 10.1 Webclient. When I click download center from BPC 10.1 Webclient, I get the wepage with Install icon. I clicked the "Install" icon then I see empty URL opening wothout without dialog box asking to install EPM Add-in.

 

Any ideas, please?

 

Thanks & best regards,

Sinu


Error while creating po with reference of PR using bapi BAPI_PO_CREATE1

$
0
0

hi,

 

I am creating a po with reference of PR  using bapi.

 

I am getting below error

 

No instance of object type PurchaseOrder has been created. External reference:

 

my code is below.

 

 

ZPO_HEADER-DOC_TYPE EKKO-BSART.

  ZPO_HEADERX-DOC_TYPE = 'X'.

*  ZPO_HEADER-LANGU = SY-LANGU.

*  ZPO_HEADERX-LANGU = 'X'.

*  ZPO_HEADER-OUR_REF = 'hi'.

*  ZPO_HEADERX-OUR_REF = 'X'.

  ZPO_HEADER-COMP_CODE = 'XXXX'.

  ZPO_HEADERX-COMP_CODE = 'X'.

  ZPO_HEADER-VENDOR   = EKKO-LIFNR.

  ZPO_HEADERX-VENDOR  = 'X'.

  ZPO_HEADER-PURCH_ORG EKKO-EKORG.

  ZPO_HEADERX-PURCH_ORG = 'X'.

  ZPO_HEADER-PUR_GROUP EKKO-EKGRP.

  ZPO_HEADERX-PUR_GROUP = 'X'.

*  ZPO_HEADER-CREAT_DATE    = SY-DATUM.

*  ZPO_HEADERX-CREAT_DATE    = 'X'.

*  ZPO_HEADER-CURRENCY = 'INR'.

*  ZPO_HEADERX-CURRENCY = 'X'.

*  ZPO_HEADER-INCOTERMS1 = VBKD-INCO1.

*  ZPO_HEADERX-INCOTERMS1 = 'X'.

  ZPO_HEADER-DOC_DATE  = SY-DATUM.

  ZPO_HEADERX-DOC_DATE  = 'X'.

  APPEND ZPO_HEADER.

  APPEND ZPO_HEADERX.

  CLEAR:EBAN.

  SELECT SINGLE * FROM EBAN WHERE BANFN = VBEP-BANFN.

  SELECT POSNR MATNR KWMENG FROM VBAP INTO TABLE L_TAB_VBAP WHERE VBELN = I_VBELN1 .

  LOOP AT L_TAB_VBAP INTO L_WA_VBAP.

    ZPO_ITEM-PO_ITEM L_WA_VBAP-POSNR.

    ZPO_ITEMX-PO_ITEM = L_WA_VBAP-POSNR.

    ZPO_ITEMX-PO_ITEMX = 'X'.

      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

        EXPORTING

          input  = L_WA_VBAP-MATNR

        IMPORTING

          output = L_WA_VBAP-MATNR.

*      MODIFY xheader.



    ZPO_ITEM-MATERIAL = L_WA_VBAP-MATNR.

    ZPO_ITEMX-MATERIAL = 'X'.

*    ZPO_ITEM-PLANT =

    ZPO_ITEM-QUANTITY = L_WA_VBAP-KWMENG.

    ZPO_ITEMX-QUANTITY = 'X'.

    ZPO_ITEM-TAX_CODE EKPO-MWSKZ.

    ZPO_ITEMX-TAX_CODE = 'X'.

*    ZPO_ITEMX-INFO_UPD = 'X'.

*    ZPO_ITEM-INFO_UPD = 'X'.

    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

      EXPORTING

        INPUT  = VBEP-BANFN

      IMPORTING

        OUTPUT = VBEP-BANFN.

    ZPO_ITEM-PREQ_NO VBEP-BANFN.

    ZPO_ITEMX-PREQ_NO = 'X'.

    ZPO_ITEM-PREQ_ITEM = L_WA_VBAP-POSNR.

    ZPO_ITEMX-PREQ_ITEM = 'X'.

    ZPO_ACC-PO_ITEM = L_WA_VBAP-POSNR.

    ZPO_ACCNTX-PO_ITEM = L_WA_VBAP-POSNR.

    ZPO_ACCNTX-PO_ITEMX = 'X'.

    ZPO_ACC-COSTCENTER EKKN-KOSTL.

    ZPO_ACCNTX-COSTCENTER = 'X'.

    ZPO_ITEM-PLANT          EBAN-WERKS.

*    ZPO_ITEM-STGE_LOC       =  EBAN-LGORT.

    ZPO_ITEM-PO_UNIT        EBAN-MEINS.

    ZPO_ITEM-PO_UNIT_ISO    EBAN-MEINS.

    ZPO_ITEM-PREQ_NAME      EBAN-AFNAM.



    ZPO_ITEM-PLANT         'X'.

*    ZPO_ITEM-STGE_LOC      =  'X'.

    ZPO_ITEM-PO_UNIT       'X'.

    ZPO_ITEM-PO_UNIT_ISO   'X'.

    ZPO_ITEM-PREQ_NAME     'X'.

    APPEND: ZPO_ITEM,ZPO_ITEMX.

    APPEND: ZPO_ACC,ZPO_ACCNTX.

    ZPO_SHED-PO_ITEM = L_WA_VBAP-POSNR.

    ZPO_SHEDX-PO_ITEM = L_WA_VBAP-POSNR.

    ZPO_SHED-SCHED_LINE = '00001'.

    ZPO_SHEDX-SCHED_LINE = '00001'.

    ZPO_SHEDX-PO_ITEMX = 'X'.

    ZPO_SHED-QUANTITY = L_WA_VBAP-KWMENG.

    ZPO_SHEDX-QUANTITY = 'X'.

    ZPO_SHED-DELIVERY_DATE = SY-DATUM.

    ZPO_SHEDX-DELIVERY_DATE = 'X'.

    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'

      EXPORTING

        DATE_EXTERNAL            = SY-DATUM

        ACCEPT_INITIAL_DATE      = 'X'

      IMPORTING

        DATE_INTERNAL            = ZPO_SHED-PO_DATE

      EXCEPTIONS

        DATE_EXTERNAL_IS_INVALID = 1

        OTHERS                   = 2.



    ZPO_SHEDX-PO_DATE = 'X'.

    ZPO_SHED-PREQ_NO = VBEP-BANFN..

    ZPO_SHEDX-PREQ_NO = 'X'.

    ZPO_SHED-PREQ_ITEM = L_WA_VBAP-POSNR.

    ZPO_SHEDX-PREQ_ITEM = 'X'.

    APPEND: ZPO_SHED,ZPO_SHEDX.

    CLEAR : ZPO_SHED,ZPO_SHEDX .

  ENDLOOP.

*    CLEAR flag.

  SORT ZPO_ITEM BY PREQ_NAME.

  CALL FUNCTION 'BAPI_PO_CREATE1'

    EXPORTING

      POHEADER         = ZPO_HEADER

      POHEADERX        = ZPO_HEADERX

      NO_PRICE_FROM_PO = 'X'

*        testrun          = 'X'

    IMPORTING

      EXPPURCHASEORDER = L_EXPPURCHASEORDER

    TABLES

      RETURN           = L_RETURN

      POITEM           = ZPO_ITEM

      POITEMX          = ZPO_ITEMX

      POSCHEDULE       = ZPO_SHED

      POSCHEDULEX      = ZPO_SHEDX

      POACCOUNT        = ZPO_ACC

      POACCOUNTX       = ZPO_ACCNTX.

  BREAK-POINT.

  IF SY-SUBRC = '0'..

    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

      EXPORTING

        WAIT = 'X'.



  ENDIF.

 

SO PLEASE SUGGEST IS THERE ANY MISTAKE IN ABOVE CODE.

 

THANKS.

 

 

Change license server IP

$
0
0

Hi,

 

Is it possible to change the license server IP under License > License Administration > License Server directly?

 

I had try that, it seem that it will take no effect.

 

Thanks

ALV in Debugger OK in Program not

$
0
0

Hi Experts,

 

I have following situation:

 

I build my ALV/Fieldcatalog as following:

 

IF rf_custom_container ISNOTBOUND.

 

      CREATE OBJECT rf_custom_container

        EXPORTING

          container_name ='CUSTCONTROL'.

 

      CREATE OBJECT rf_alv

        EXPORTING

          i_parent = rf_custom_container.

      "Feldkatalog aufbauen

      CLEAR st_fieldcat.

      st_fieldcat-fieldname ='MATNR'.

      st_fieldcat-HOTSPOT   = abap_true.

      st_fieldcat-outputlen   = 18.

      APPEND st_fieldcat TO ta_fieldcat.

      st_fieldcat-fieldname ='MTEXT'.

      st_fieldcat-HOTSPOT   = abap_true.

      st_fieldcat-outputlen   = 48.

      APPEND st_fieldcat TO ta_fieldcat.

      st_fieldcat-fieldname ='KWMENG'.

      st_fieldcat-HOTSPOT   = abap_false.

      st_fieldcat-edit      = abap_true.

      st_fieldcat-outputlen = 15.

      APPEND st_fieldcat TO ta_fieldcat.

      st_fieldcat-fieldname ='VRKME'.

      st_fieldcat-HOTSPOT   = abap_false.

      st_fieldcat-edit      = abap_true.

      st_fieldcat-outputlen   = 3.

      APPEND st_fieldcat TO ta_fieldcat.

 

      st_layout-cwidth_opt = abap_true.

 

      "Ereignisbehandler

      CREATE OBJECT evt_handler.

      SET HANDLER evt_handler->handle_toolbar      FOR rf_alv.

      SET HANDLER evt_handler->handle_user_commandFOR rf_alv.

      SET HANDLER evt_handler->handle_event_click  FOR rf_alv.

 

      "Bereite Darstellung von ALV

      CALL METHOD rf_alv->set_table_for_first_display

        EXPORTING

          i_structure_name ='ZWH_RESERVIERUNG'

        CHANGING

          it_outtab        = ta_alv

          it_fieldcatalog  = ta_fieldcat.

 

       rf_alv->refresh_table_display( ).

 

And I would like to turn some filds to be

 

- editable

- and not hotspot

 

by pressing on an button in PF-Status in this way:

 

WHEN'MENGE'.

 

      CALL METHOD rf_alv->get_frontend_fieldcatalog

        IMPORTING

          et_fieldcatalog = ta_fieldcat[].

      LOOP AT ta_fieldcat INTO st_fieldcat .

        IF st_fieldcat-fieldname ='KWMENG'.

          st_fieldcat-HOTSPOT   = abap_true.

          st_fieldcat-edit      = abap_false.

          MODIFY ta_fieldcat FROM st_fieldcat .

        ENDIF.

        IF st_fieldcat-fieldname ='VRKME'.

          st_fieldcat-HOTSPOT= abap_true.

          MODIFY ta_fieldcat FROM st_fieldcat.

        ENDIF.

      ENDLOOP.

      CALL METHOD rf_alv->set_frontend_fieldcatalog

        EXPORTING

          it_fieldcatalog = ta_fieldcat[].

      CALL METHOD rf_alv->get_frontend_layout

        IMPORTING

          es_layout = st_layout.

      st_layout-grid_title ='Test DYU'.

      CALL METHOD rf_alv->set_frontend_layout

        EXPORTING

          is_layout = st_layout.

 

      "Sende gepufferten aut. queue zum Frontend

      CALL METHOD cl_gui_cfw=>flush.

 

      "Alv Grid aktualisieren

      rf_alv->refresh_table_display().

 

      "Erignisverteiler in Bezug auf ok_code

      CALL METHOD cl_gui_cfw=>dispatch.


Result: No Hotspot but still no edit....even in Debugger I do have 'X' in the ta_fieldcat....

 

What could be a reason for this?

 

Thank you in advance

 

Different Pack sizes in Inbound Delivery

$
0
0

Hello Team ,

 

I have one issue in OBD which product is having the different Pack sizes in ECC and in EWM having single Pack size. The Both Pack sizes are keeping in same location.

 

The problem is when Picker starts picking using the Hand Held Terminals , system is not allowing to change the pack size.

 

Do anybody having the Idea how to achieve this  ? The device has to automatically show the right pallet / box or it should allow to change / modify the pack size on device.

 

 

Many thanks

 

Ganeshan .

How to include HANA tables into package and delivery unit

$
0
0

Hi Experts,

 

How can I include HANA tables into a package, so that I can assign it to delivery unit together with data models and download to local PC?

(Include tables and data models in one package and download to local by delivery unit)

 

Thanks!

How to make Stolrage Location default for a paticualr order type

$
0
0

Hi All,

 

i have a scenario where Storage location is automatically picking as 0004 for all the order type this is ok, but for particular one order type i want to change this as 0003 now we are changing this manually at the   delivery line item level i need to pick this automatically

 

please advice me how can we done this

 

Thanks

cl_abap_structdescr finding data element descriptions of program defined structure

$
0
0

I have an program built structure (not ddic). with several fields, all defined with ddic data elements.

TYPES:
    BEGIN OF ty_selected,
      material       TYPE matnr,
      matl_type      TYPE mtart,
      lab_office     TYPE labor,
      plant          TYPE werks_d,
      status         TYPE mmsta,
    END   OF ty_selected.
DATA: gs_selected type ty_selected.

 

I want to retrieve the description text of the data elements that are in this structure. I just can't seen to get it.  I figured it out for ddic structures but not program defined ones.

For ddic structures I am using class cl_abap_structdescr like this:

DATA: ref_struct        TYPE REF TO cl_abap_structdescr,
      ls_struct         TYPE zmatl, " ddic type
      lt_ddic_info      TYPE ddfields,
      w_head            TYPE ty_return.
   FIELD-SYMBOLS:
     <ddic_info> TYPE LINE OF ddfields.

   ref_struct ?= cl_abap_typedescr=>describe_by_data( ls_struct ).
   lt_ddic_info = ref_struct->get_ddic_field_list( ).

   LOOP AT lt_ddic_info ASSIGNING <ddic_info>.
     MOVE <ddic_info>-fieldname TO w_head-fieldname.
     MOVE <ddic_info>-fieldtext TO w_head-fieldtext.
     APPEND w_head TO f_return.
   ENDLOOP.

I figure there should be something similar I can do for program defined structures, but no joy.


Can anyone help me please?


Thanks


Lecture at Toulouse Business School - France – 14th of October 2014

$
0
0

UA France has been invited by Toulouse Business School to introduce SAP to the last year students.

 

We had the opportunity to present SAP strategy, new products and orientations to around 150 students before their graduation.

 

We  promoted Cloud, mobile and Hana topics and explained to them the great opportunities generated with these innovations for their future career.

 

One of the main topics of the lecture was CLOUD as a major evolution for our customers and consequences on the daily business and IT strategy.

 

This lecture was also focused on Big Data applications and very concrete examples like football, vending machine or airplane maintenance.

 

The  students were very interested in this presentation and enjoyed having an interactive session with a SAP professional.

 

We also discussed with the school Management new opportunities of collaboration with TBS Group particularly on Big Data topic.

TBS-logo-header.png

 

tbs.jpg

Remove decimal for input control value

$
0
0

Hi,

 

I have an input control with a measure value for Top N selection.

The value is displayed with decimals. I tried to round up the measure in the variable but it didn't work.

How can I remove the decimals?

(I'm using OLAP connection based on a BEx query.)

input_control_decimal.png

Thanks!

Getting Adobe LiveCycle Designer to work with SAPGui 7.40

$
0
0

Hello everyone,

 

sorry if this is not the right forum for my question, but it is the closest I could find. I have the new SAPGui 7.40 for Windows installed which was released on Oct 8th, and I am trying to get it to work with Adobe LiveCycle Designer. At first I tried using the old version LiveCycle Designer 8, but I found that when I select a form in SE80 and then select the "Layout" tab the whole SAPGui commentlessly terminates. You could also say it crashes, only that there is no error message of whatever kind, neither displayed nor in the Windows event log. The whole SAPGui process in Windows just ends, along with any sessions that may have been open.

 

I thought that this is probably due to the combination of a brand-new SAPGui with an old LiveCycle Designer, so I tried installing the latest version 10.4 of LiveCycle Designer. Unfortunately, the result is just the same.

 

Seeing that there is no error message whatsoever, I am having a hard time guessing a place where to start looking for the cause. Could it be that SAPGui 7.40 is not compatible to LiveCycle Designer?

 

(My system is running Windows 7 with 8 GB RAM, so no bottleneck there.)

HMRC GB Payroll Issue

$
0
0

Hi All,

 

Could you please help us in the below issue urgently.

 

Its related to GB payroll. When we are submitting EPS, EPS to HMRC we are getting the below error:

 

'RE_POLL AFTER ERROR'

 

And while submmitng EDI or any other report to HMRC we are getting the below error:

 

'THE PROCESS HAS STOPPED WITH ERROR STATUS: ERROR IN COMMUNICATION'

 

It seems that there is connectivity missing but I could not able to find anything. Could you please respond us quickly.

 

Thans & regards

Chinmayee

Internal order vanishing while booking expense with grant

$
0
0

Hi Experts,

 

We are in the process of implementing Grantee management in integration with Funds Management.

We are in ECC 6 EHP 6.

 

My setting are as below:

I have maintained Fund Center, Grant and Sponsored program in internal order.

I am deriving fund center  through FMDERIVE.

I am deriving Grant and Sponsored program from GMDERIVE.

 

Issue:

While I am booking an expense using this internal order, the internal order vanishes after deriving fund center and commitment item through FMDERIVE.

Since the internal order is vanishing, its not going to GMDERIVE to derive Grant.

Kindly help me on this.

Why the internal order is vanishing!!!!

 

 

Regards

Omprakash

How to check whether the URL using in adapter engine is equal in SLD.

$
0
0

Hi

 

 

I got error in SLD registration in PI7.40(recently we updated from 7.10)

Error : URL currently used by Adapter engine and URL stored in SLD  are different.

 

How to check whether the URL using in adapter engine is equal in SLD.

   
 
                     
 
 
 
 
 
 
 
 
 





billing output determination for Orignal and Duplicate print

$
0
0

Dear Friends,

 

I have a requiremet to send the invoice form to printer.

 

but here, i need to send original form to print on Printer01 and duplicate form on different printer for example printer02.

 

I have maintained printer01 in output type condition record based on billing type and sale organisation and it determines while creating a invoice and original form send to printer01.

 

but how to maintain a printer02 for duplicate form print.

 

Thanks in adavance for your valuble response.

 

Regards,

Munvar Basha. 


How to read XML file in ABAP

$
0
0

Hello!

 

I am working with PI-SHEETS and I need to get the name of the value of a desviation.

 

In transaction OAER I can see the XML of the PI-SHEET:

Name class --> POC_PIDOC

Type Class --> OT

Class Object --> crid value

 

Then I select data.xml --> Visualitation

 

I need to download this XML and search some information, do you know some abap code to do this?

 

Thanks for read me!

URL Redirection in SAP Netweaver 7.0

$
0
0

Hi All,

 

We are having system SAP Netweaver 7.0 with portal, and implemented SAP Web dispatcher and BIG IP Load Balancer for incoming requests.

 

SAP Web Dispatcher is configured to redirect based on location.

 

My requirement is to redirect URL's like http://<hostname>/nwa, http://<hostname>/sld, http://<hostname>/useradmin etc to http://<hostname>/irj/portal for security reasons.

 

I tried to setup below parameter in dispatcher profile page, but not able to redirect

icm/HTTP/redirect_0 = PREFIX=/ ,FROM=/<*******.***.com>/*,TO=/<*******.***.com>/, HOST=<*******.***.com>

 

Please help.

 

Thanks

Getting an error when running xs application

$
0
0

Hi,

 

I am new to sap hana.  I created an xs apps that connect to a database. 

 

var select_all_query = "SELECT KEY1, FIELD1,FIELD2,FIELD3 FROM \"NEO_DL7UMKSO5413ISUAUEPKOZIXG\".\"p1940927201trial.myhana.table::mytable2\" LIMIT 1000";

 

 

function close(closables) {

    var closable;

    for (var i = 0; i < closables.length; i++) {

        closable = closables[i];

        if (closable) {

            closable.close();

        }

    }

}

 

 

function getSampleData() {

    var salesOrdersList = [];

    var connection = $.db.getConnection();

    var statement = null;

    var resultSet = null;

    try {

        statement = connection.prepareStatement("SELECT KEY1, FIELD1,FIELD2,FIELD3 FROM \"NEO_DL7UMKSO5413ISUAUEPKOZIXG\".\"p1940927201trial.myhana.table::mytable2\" LIMIT 1000");

        resultSet = statement.executeQuery();

        var salesOrder;

 

 

        while (resultSet.next()) {

            salesOrder = {};

            salesOrder.KEY1 = resultSet.getInt(0);

            salesOrder.FIELD1 = resultSet.getDouble(1);

            salesOrder.FIELD2 = resultSet.getDouble(2);

            salesOrder.FIELD3 = resultSet.getDouble(2);

            salesOrdersList.push(salesOrder);

        }

    } finally {

        close([resultSet, statement, connection]);

    }

    return salesOrdersList;

}

 

 

function doGet() {

    try {

        $.response.contentType = "application/json";

        $.response.setBody(JSON.stringify(getSampleData()));

        //$.response.setBody("Hello");

    } catch (err) {

        $.response.contentType = "text/plain";

        $.response.setBody("Error while executing query: [" + err.message + "]");

        $.response.returnCode = 200;

    }

}

doGet();

 

 

When I run the apps I get this error

 

Error while executing query: [dberror(Connection.prepareStatement): 258 - insufficient privilege: Not authorized at ptime/query/checker/query_check.cc:2547]

Program dumps for larger files - SAPSQL_ARRAY_INSERT_DUPREC

$
0
0

Hi Experts,

 

I'm executing a program in background to fetch data from file and then inserts records to four Z tables. When I run this program with small files, all the records were inserted successfully. But when I try to run with larger files (almost 80mb), I'm getting runtime error.

 

Capture.JPG

I checked in all the tables for duplicate entries, but couldn't find any duplicate keys.

 

I have checked related scn posts also. I'm not getting why it is not working for larger files.

 

Thank you for any help !


Veena

Can not find Segment Elements for messageVersion

$
0
0

Hi All,

 

I am developing below screnario

IDOC--PI--AS2(7.31)

while testing I am getting below error.

 

 

0}: The module-paramteter "eancom.subversion.prefix" is not set. Using default value "false"

0}: The module-paramteter "eancom..audit" is not set. Using default value "false"

MP: exception caught with cause com.sap.aii.af.lib.mp.module.ModuleException: Can not find Segment Elements for messageVersion 96A, message subversion EAN007, message agency UN, segment S_CPS, newFirstlevelElement D_7164, currentIndexLevel1 0

Exception caught by adapter framework: Can not find Segment Elements for messageVersion 96A, message subversion EAN007, message agency UN, segment S_CPS, newFirstlevelElement D_7164, currentIndexLevel1 0

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.lib.mp.module.ModuleException: Can not find Segment Elements for messageVersion 96A, message subversion EAN007, message agency UN, segment S_CPS, newFirstlevelElement D_7164, currentIndexLevel1 0

 

 

Thanks

Prem

Viewing all 8096 articles
Browse latest View live


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