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

Re: How to use in INVALIDATE method WD_CONTEXT.

$
0
0

Hi Ankita,

 

Invalidate method is used to invalidate/Clear all elements of a node.

You can use the method as below:

 

DATA lo_nd_cn_input TYPE REF TO if_wd_context_node.

lo_nd_cn_input = wd_context->get_child_node( name = wd_this->wdctx_cn_input ),

 

lo_nd_cn_input->invalidate( ).

 

Regards,

Sanjeev Kotwal.


Re: Exception Class Text Translation

$
0
0

The method get_text is implemented in the class cx_root and the signature has no importing parameters. As far as I can tell it should be simply based on logon language... I'm searching for related notes right now.

Re: Internet Explorer 10 and ESS Leave request

$
0
0

Hi Phani,

 

a late response, but we had the same issue, like described in Note 1824806 - JS error Unable to get property 'toUpperCase' , Maybe others are helped with this reply also.

 

Our Portal was also running AJAX-RUNTIME on NW 7.31 SP04 (patch level 00). Today I performed the update of the AJAX-RUNTIME to patch level 04 on SP04 and the issue is solved.

 

Best regards,

 

Edward

Re: Z Search help is not passing paramters back to Webdynpro form

$
0
0

Thx Alex,  This is a SAP Table though so I cannot change it in SE11.  Also, I only want to change it for this one SAP Delivered Webdynpro so I created an enhancement for the webdynpro  that changes the search help for the context element to the Z one I created.  I understand what you are saying and agree that it is still hung up on the fact that the Webdynpro has one search help tied to the (the Z one) and the table itself has the original one still tied to it.    Because it is an SAP table though I can't just change it so I am back to I'm not sure what to do .

Re: Problem: Excel Export from Webdynpro

$
0
0

Hello,

 

Thank you for this post. I would like to know if this code can be modified to export the data in to .xlsx format and also if it can be formatted to have the column headers and proper date formats.

 

I read in some posts that xml tags will have to be added to the code but I don't know how to go about this as I'm new to coding in ABAP.

 

Is there any way you can help?

Re: Stylesheet Editor for WebDynpro ABAP

$
0
0

Hi Jan,

 

no I do not have a Portal ... but thanks for the hint.

 

BR Matthias

Re: Stylesheet Editor for WebDynpro ABAP

$
0
0

Thank you for this information. I'll have a look at this.

 

Best regards, Matthias

Re: How to use in INVALIDATE method WD_CONTEXT.

$
0
0

Hi Ankita,

 

1)First you need to get the node :

 

lo_nd_importing_1    = lo_nd_time_timesheet->get_child_node( name = wd_this->wdctx_importing ).

 

2) Call the invalidate method of node :

 

lo_nd_importing_1->invalidate( ).

 

3)Get the elements of the node:

 

lo_el_importing_1     = lo_nd_importing_1->get_element(  ).

 

4) Clear the structure which you want to bind and Call the Set_static_attributes method :

 

CLEAR ls_importing_1.

lo_el_importing_1->set_static_attributes( EXPORTING static_attributes = ls_importing_1 ).

 

And you will be able to clear the selection screen.


Re: ALV Table - editable only for specific cells

$
0
0

HI RK ,

 

 

Following code will help you to create Input field,

 

 

   DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.

   DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .

   DATA lv_value TYPE REF TO cl_salv_wd_config_table.

   DATA  input   TYPE REF TO cl_salv_wd_uie_input_field.

   DATA  column TYPE REF TO cl_salv_wd_column.

 

*& Get the ref of interface controller

   lo_cmp_usage =   wd_this->wd_cpuse_my_alv( ).

   IF lo_cmp_usage->has_active_component( ) IS INITIAL.

     lo_cmp_usage->create_component( ).

   ENDIF.

 

*&get component reference

   lo_interfacecontroller =   wd_this->wd_cpifc_my_alv( ).

   lv_value = lo_interfacecontroller->get_model).

 

*& prepare input field

   CREATE OBJECT input

     EXPORTING

       value_fieldname = 'DOB'.

 

*& get the ref of the column

   CALL METHOD lv_value->if_salv_wd_column_settings~get_column

     EXPORTING

       id    = 'DOB'

     RECEIVING

       value = column.

 

*& set cell editor

   CALL METHOD column->set_cell_editor

     EXPORTING

       value = input.

 

*& Set DOB column to editable

   CALL METHOD lv_value->if_salv_wd_table_settings~set_read_only

     EXPORTING

       value = abap_false.

 

Capture.PNG

 

In Your Situation you have find the condition , where you can put the Input field enabled.

Is this helpful?

Re: Use of the Tr Codes KKRC and KKBC_HOE

$
0
0

Hello Surya,

Transaction KKRC is used for data collection for drill down reports. The KKBC_HOE only display the summarization data collected during execution of KKRC.

 

Thanks and regards,

Ronghua fan

Re: SELECT Statement in Native SQL and Open Sql ( ABAP Select)

$
0
0

HI

 

If the database is ORACLE you can do a EXEC SQL to execute a select native Oracle, whereas Oracle has a special clause for this type of select, but I've tried to compare the ABAP open SQL and Oracle Native nor is such difference or the performance gain is so high that it is worth the loss in time to maintain.

 

 

And few people know what complicates maintenance.

Re: SELECT Statement in Native SQL and Open Sql ( ABAP Select)

$
0
0

If you have specific Open SQL statements you'd like to evaluate you could try using transaction ST05 to trace the SQL. In there you can see the native SQL and explain plan.

Is it true that NW BPM does not support message attachments?

$
0
0

Greetings!

 

I just found this blog:

Differences between ccBPM(Integration Process) and NW BPM

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/08/02/differences-between-ccbpmintegration-process-and-nw-bpm

 

I found that "NW BPM does not support message attachments" whereas ccBPM does at the bottom of the comparison list.  In other words, we were able to use ccBPM to pass an attachment from asynch file to SOAP response, however, now in NW BPM we are not able pass an attachment?  That doesn't make sense ... I thought NW BPM works with web services using SOAP envelopes which can support attachment

 

Is it true that NW BPM does not support message attachments?

Re: Suggestion for development.

$
0
0

OK isee in other post and worked now .all is worked thanks guys.

 

Thanks.

Modify Column attributes in the Table Maintenance Generator

$
0
0

Hello,

Thanks for the response.  BRAND and PROGRAMID are already keys, but accept blank entries in SM30 for this table. 

I read some posts about the PBO events that I might be able to edit to adjust logic for various requirements with regards to validation.  I haven't worked that kind of validatin in the PBO event of a TMView before.  Do you know of a good tutorial/post regarding how to handle custom column validation in the PBO of the maint. screen.  CHecking google....

Thank you!


Re: Suggestion for development.

$
0
0

OK i copy from other environment the function and worked but how make the function return blank fields?Is any parameter?

Re: Reset button is broken and too large

$
0
0

Hey Gus Thanks for your all inputs Finally client agreed and they have reset their personalization its working fine,

Re: Exception Class Help

$
0
0

I wonder if it is in fact catching the zcx_bw_sd_code exception and your uncaught exception is the one you're raising within the catch:

 

 

CATCH zcx_bw_sd_code INTO gl_cx.
gv_text = gl_cx->get_text( ).

monitor_rec-msgid = 'Z001'.
monitor_rec-msgty = 'I'.
monitor_rec-msgno = 040.
monitor_rec-msgv1 = gv_text.
APPEND monitor_rec TO MONITOR
RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
ENDTRY.

Re: Issue in smartform

$
0
0

The width of your template is set to 2cm (up by the table painter button)... Change it to 7cm.

Re: Issue in smartform

$
0
0

When i m selecting any value greater than 2.00 for L3 row shown in screen it gives the same error.

also one Q, if it gives error for L3 then y not for L1 also???

Viewing all 8798 articles
Browse latest View live




Latest Images