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

Re: Save planning data keeping formulas

$
0
0

I am not familiar with Planning, but last week at SAP TechEd SAP did show a demo where custom Excel formulas are saved - this is planned for Analysis for Office 2.2 (subject to change, of course)


Re: Heat Map Visualization in SAP Lumira

$
0
0

Hi,

If you able to find any better solution post your answer here, and close the thread by marking correct answer.

Statement to check if a field symbol is assigned gives a short dump. No sense.

$
0
0

Hi gurus,

 

I'm facing a strange problem that I don`t know how to solve.

 

I've written a custom program and I have a field symbol. I'm checking the assignation before of using it, to avoid dumps. I'm using the typical sentence IF <FS> IS ASSIGNED and this line of code is causing a dump because the field symbol is not assigned.

 

How is this possible? This sentence should not dump, I've used it a lot of times in other programs in the same SAP system.

 

Any ideas?

Re: Details Item 20: No item category could be determined Details Item 20: The product does not exist in the system

$
0
0

Hi Viktor,

 

Please find the below code.

 

METHOD eh_onaction.
*CALL METHOD SUPER->EH_ONACTION
* EXPORTING
*    IV_EVENT_NAME = IV_EVENT_NAME.


DATA: lv_action_set  TYPE REF TO cl_crm_bol_entity,
lv_actions     TYPE REF TO if_bol_entity_col,
lv_action      TYPE REF TO cl_crm_bol_entity,
lv_entity      TYPE REF TO cl_crm_bol_entity,
lr_ent2        TYPE REF TO cl_crm_bol_entity,
lr_core        TYPE REF TO cl_crm_bol_core,
lr_col         TYPE REF TO if_bol_entity_col,
lr_marked      TYPE REF TO if_bol_bo_col,
lr_cucompl     TYPE REF TO cl_bt120h_c_bspwdcomponen_impl,
lv_ttype       TYPE string,
lv_msgv        TYPE symsgv,
lr_msg_srv     TYPE REF TO cl_bsp_wd_message_service,
lv_dummy       TYPE c LENGTH 1.                   "#EC NEEDED

lr_core = cl_crm_bol_core=>get_instance( ).

lr_marked = me->typed_context->btadmini->collection_wrapper->get_marked( ).
IF lr_marked IS BOUND.
IF lr_marked->size( ) = 1.

lv_entity ?= lr_marked->get_first( ).
CHECK lv_entity IS BOUND.

lv_action_set = lv_entity->get_related_entity( iv_relation_name = 'BTItemAction' ).

IF lv_action_set IS BOUND.
TRY.
lv_action_set->execute( iv_method_name = 'ACIDetermine' ).
CATCH cx_crm_genil_model_error
  cx_crm_bol_meth_exec_failed.
ENDTRY.

lv_actions = lv_action_set->get_related_entities( iv_relation_name = 'ACIInactiveActionRel' ).
IF lv_actions IS BOUND.
lv_action ?= lv_actions->get_first( ).
WHILE lv_action IS BOUND.
lv_ttype = lv_action->get_property_as_string( 'TTYPE' ).
IF lv_ttype = iv_event_name.
TRY.
lv_action->execute( iv_method_name = 'ACIActivate' ).

lv_entity->set_property( iv_attr_name = 'MODE' iv_value = '' ).

CATCH cx_crm_genil_model_error
  cx_crm_bol_meth_exec_failed.
ENDTRY.


lr_ent2 ?= me->typed_context->btitems->collection_wrapper->get_current( ).
lr_col ?= lr_ent2->get_related_entities( iv_relation_name = 'BTOrderItemAll' iv_mode = cl_crm_bol_entity=>bypassing_buffer ).

IF lv_ttype = 'ZSUBST_DEL'.
DATA : lr_btadmini TYPE REF TO cl_crm_bol_entity,
lv_serial   TYPE string,
lv_itemno TYPE crmt_item_no,
lr_iterator TYPE REF TO if_bol_entity_col_iterator.

CALL METHOD lr_col->get_iterator
RECEIVING
rv_result = lr_iterator.

CALL METHOD lr_iterator->get_first
RECEIVING
rv_result = lr_btadmini.

WHILE lr_btadmini IS BOUND.

CALL METHOD lr_btadmini->if_bol_bo_property_access~get_property_as_value
EXPORTING
iv_attr_name = 'NUMBER_INT'
IMPORTING
ev_result    = lv_itemno.

IF lv_itemno = '30'.

IF lr_btadmini IS BOUND.

CALL METHOD lr_btadmini->set_property
EXPORTING
iv_attr_name = '/RCRM/F005V'
iv_value     = ' '.
***today changeSeptmber 2nd 2015
CALL METHOD lr_btadmini->set_property
EXPORTING
iv_attr_name = '/RCRM/F005T'
iv_value     = '1000'.
****today chnge septmber 2nd 2015
CALL METHOD lr_col->add
EXPORTING
iv_entity = lr_btadmini.

EXIT.

ENDIF.
ENDIF.

CALL METHOD lr_iterator->get_next
RECEIVING
rv_result = lr_btadmini.

ENDWHILE.

ENDIF.

*****************return solc set 1000 defualt septmber 2nd 2015


IF lv_ttype = 'YCREATERTNREQ1'.
CALL METHOD lr_col->get_iterator
RECEIVING
rv_result = lr_iterator.

CALL METHOD lr_iterator->get_first
RECEIVING
rv_result = lr_btadmini.

WHILE lr_btadmini IS BOUND.

CALL METHOD lr_btadmini->if_bol_bo_property_access~get_property_as_value
EXPORTING
iv_attr_name = 'NUMBER_INT'
IMPORTING
ev_result    = lv_itemno.

IF lv_itemno = '20'.

IF lr_btadmini IS BOUND.
CALL METHOD lr_btadmini->set_property
EXPORTING
iv_attr_name = '/RCRM/F005T'
iv_value     = '2999'.

CALL METHOD lr_col->add
EXPORTING
iv_entity = lr_btadmini.

EXIT.

ENDIF.
ENDIF.

CALL METHOD lr_iterator->get_next
RECEIVING
rv_result = lr_btadmini.

ENDWHILE.
ENDIF.
*********** return sloc value should set 1000 Septbmber 2nd 2015
*****************************************

me->typed_context->btadmini->collection_wrapper->set_collection( lr_col ).
me->typed_context->btadmini->collection_wrapper->find( iv_bo = lv_entity ).

lr_cucompl ?= me->comp_controller.
lr_cucompl->force_save = abap_true.

EXIT.
ENDIF.
lv_action ?= lv_actions->get_next( ).
ENDWHILE.
ENDIF.

lv_actions = lv_action_set->get_related_entities( iv_relation_name = 'ACIActiveUnprocessedActionRel' ).
IF lv_actions IS BOUND.
lv_action ?= lv_actions->get_first( ).
WHILE lv_action IS BOUND.
DATA lv_dispatch TYPE i.
lv_ttype = lv_action->get_property_as_string( 'TTYPE' ).
lv_dispatch = lv_action->get_property_as_string( 'DISPATCH' ).
IF lv_ttype = iv_event_name AND lv_dispatch = 3. "immediate only
TRY.
lv_action->execute( iv_method_name = 'ACIExecute' ).

lv_entity->set_property( iv_attr_name = 'MODE' iv_value = '' ).

CATCH cx_crm_genil_model_error
  cx_crm_bol_meth_exec_failed.

lv_msgv = lv_action->get_property_as_string( 'TTYPEDESCR' ).
MESSAGE e028(crm_complaint) WITH lv_msgv INTO lv_dummy. "#EC *
lr_msg_srv = me->view_manager->get_message_service( ).
IF lr_msg_srv IS BOUND.
lr_msg_srv->add_message( iv_msg_type   = sy-msgty
  iv_msg_id     = sy-msgid
  iv_msg_number = sy-msgno
  iv_msg_v1     = sy-msgv1
  iv_important_info = abap_true ).
ENDIF.

TRY.
lv_action->execute( iv_method_name = 'ACIDeactivate' ).
CATCH cx_crm_genil_model_error
  cx_crm_bol_meth_exec_failed.
EXIT.
ENDTRY.
EXIT.
ENDTRY.


lr_ent2 ?= me->typed_context->btitems->collection_wrapper->get_current( ).
lr_col ?= lr_ent2->get_related_entities( iv_relation_name = 'BTOrderItemAll' iv_mode = cl_crm_bol_entity=>bypassing_buffer ).
me->typed_context->btadmini->collection_wrapper->set_collection( lr_col ).
me->typed_context->btadmini->collection_wrapper->find( iv_bo = lv_entity ).

lr_cucompl ?= me->comp_controller.
lr_cucompl->force_save = abap_true.

EXIT.
ENDIF.
lv_action ?= lv_actions->get_next( ).
ENDWHILE.
ENDIF.

ENDIF.

ENDIF.
ENDIF.

ENDMETHOD
.


Thanks & Regards

Kalpana

Re: Sybase ASE 15.5

$
0
0

15.5 and 15.7-pre-ESD#2 : size of database limited to 2billion pages * @@maxpagesize, so for 2KB max db size was 4TB; NOTE: 2billion => max signed int value

 

From the ASE 15.5 Configuration Guide (UNIX) (pg 116):

 

 

 

 

 

 

15.7 ESD#2+ : size of database limited to 4 billion pages * @@maxpagesize, so for 2KB max db size is now 8TB; NOTE: 4 billion => max unsigned int value

 

From the ASE 15.7 ESD #2 New Features manual (p 59):

 

 

 

SAP table for all possible values for a characteristic of an Equipment

$
0
0

Hello Experts,

 

I understand that an Equipment is linked to a Class which in turn has many characteristics associated with it.

 

For each Characteristic there may be many values associated to a particular characteristic.

 

Could you please help me with the SAP table relationship showing all the values of an characteristic.

 

Thanks in Advance. Attached the screenshot of it.

Re: How to sort numbers in SAPUI5?

$
0
0

var id_sort=new sap.ui.model.Sorter("EmpNum");

 

 

 

id_sort.fnCompare = function(a, b){

  var intA = parseInt(a), intB = parseInt(b);

 

  if (a == b) {

  return 0;

  }

  if (a < b) {

  return -1;

  }

  if (a > b) {

  return 1;

  }

  return 0;

};

Re: SFSFOnboardingCandidateInfo - Scenario with SOAP instead of OData

$
0
0

Hi Amarsrinivas Eli,

 

You shouldn't need Gateway if you use the OData adapter in PI. You can use SOAP instead as the OData API uses the OData protocol and not the SOAP protocol. The SFAPI has different fields exposed to it compared to the OData API and so can't be used interchangeably.

 

Best regards,

 

Luke


Desktop - Mobile apps

$
0
0

Hi,

Building an app, can be accessed from both desktop and mobile.

What is the best practice,

1. Do we build a separate app one for desktop and mobile.

2. Single app and control rendering on different devices by CSS.

3. Do we embed code in the app basing on device.

 

Appreciate your inputs on designing apps running on multiple devices.

 

Regards

Re: Sap.m.Page contents not shown when used inside ux3 OverlayDialog

$
0
0

HI Amber

 

I have changed this thread from "Discussion" to "Question". You should be able to see the Correct Answer and Helpful Answer button now.

 

Hope that this is helpful :-)

 

Thanks

-D

Sap wm-pp integration

$
0
0

Dear Gurus

 

I have an issue, we don't have place for staging the production stocks and every 2 mins we get an pallet from the production, I dont have place to keep and immediately I need to put to warehouse.

 

All the process order are done each process order have finished material.

 

When the pallet comes picker immediately scan and make the gr and auto Tr and TO is done.

 

What is the best way to handle the goods receipt from process order. And I don't want to do GR for every pallet.

 

Any best practice.

 

Regards

Sreedhar

Re: Pricing on different unit of measure with variable conversion rate

$
0
0

Hi Muhammad,

 

My suggestion would be to have BM in place for these sort of scenario for better classification and validation of stock.

 

If you don't want to BM, then you can go for enhancement based your logic. Mind you UoM and it's conversion will play critical role in this enhancement.

 

Thanks, JP

Re: Liquidity Forecast (sFin) Odata Activation Error

$
0
0

Hi Dider,


You may use the find search bar to transfer your query and activate it. Just past 'ERP_FCLM_MP05_Q0011' into the find search bar and click transfer.


Regards,

-Ben-

Re: Deferred bank Interest Tracking on the G/L Level

$
0
0

Hello Ahmed,

 

Whether an accrual or deferral is done depends only on the posting date of the revenue flow with respect to its revenue period. Posted at the end of the revenue period it is accrual, posted at the beginning of the revenue period it is deferral.

 

Here is an example:

 

You have an interest flow of 30 EUR that is calculated from 1.1.-31.1.

 

1) If you post it on 31.1. and run TPM44 let's say on 21.1., then you will get an accrual of 20 EUR (for the period 1-21.1.).

 

2) On the other hand, if you post the same interest already on 1.1., TPM44 on 21.1. will calculate backwards from 31.1, so you will then get a deferral of 10 EUR (for the period 21-31.1.).

 

You can find more information in online document for customizing "Assign Update types for Accrual/Deferral)",  Transitorische Abgrenzung -> Update type Deferral.

 

Hope this helps.

 

Best regards,

Jasmine

How to convert(chart) web dynpro content to MS word

$
0
0

Hi,

I developed a Web Dynpro Application that show business graphics like pie chart. And I want to set a button element when I press it the content(the chart) of the web page will show in Microsoft word. So how can I do that?


Re: Missng:TSL1TE,BI1):_REPAIR_FF_MISMATCH-05- QCUBE:LE

$
0
0

HI,

 

I believe  the system log BI1 is  your customizing, but not a sap standard system log.


I would like suggest you to find out  what program cause this system log and involve related person for more information

 

Thanks and best regards,

Shi Feng

Re: Add color to the Buttons or text font on it

$
0
0

Hi Naresh,

 

1.what ever the  text you want to display,draw that text in ms office paint.

2.save it in your system in image format.

3.upload into webdynpro componet by creating  MIME object.

4.Now go to button imagesource property and select the image in the component images.

 

in this way you can diplay anything on top of button .

Data Transfer from SAP SCM system to Microsoft Navision

$
0
0

Hi Experts!!

 

I have a new requirement where I have to Transfer data from SAP SCM system to Microsoft NAVISION.

 

what are the possible ways to achieve this requirement??

 

please share your experience and guidelines.

 

thanks!

 

regards

Aditya

Re: How to Calculate Total of Individual Cell to Overall Result.

$
0
0

Hi,

 

You are very welcome..

 

Regards,

Loed

Re: tring to go from 700 to 702 with SAPCryptolib in place

$
0
0

This solved our error too, though we don't have the sapcrypto.lst in the directory /usr/sap/ <SID>/SYS/exe/run or /sapmnt/<SID>/exe so what consequences will happen?

Viewing all 8746 articles
Browse latest View live




Latest Images