Quantcast
Channel: SCN: Message List - ABAP Objects
Browsing all 159 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Re: Mass table updates using Transaction object services(OS)

Thanks for the reply Venkat!The is not the case especially when using non persistent objects. This is where the real power of Transaction services come in. It gives us the granularity to have a single...

View Article


Image may be NSFW.
Clik here to view.

Re: Mass table updates using Transaction object services(OS)

Hello Suhas,  Here is an example below, where I call a BAPI and also update a Z test table ( the table has only field - counter ). The Update module updates 5 records at a time. In the below example,...

View Article


How to use Widening Cast?

Hi, I have 2 class: cl_crm_mktpl_cpg_fusg_coll and zcl_crm_mktpl_cpg_fusg_coll. Class zcl_crm_mktpl_cpg_fusg_coll inherit from cl_crm_mktpl_cpg_fusg_coll. I wannt to do Widening Cast, but i get casting...

View Article

Image may be NSFW.
Clik here to view.

Re: Mass table updates using Transaction object services(OS)

I had written a response some time back for selective transaction control.However, I had tried with persistent objects back then.http://scn.sap.com/thread/3317699Why the hell did i not try it out...

View Article

Image may be NSFW.
Clik here to view.

Re: How to use Widening Cast?

Hi Erick, You can use this casting only in case if method below returns instance of ZCL_CRM_MKTPL_CPG_FUSG_COLL: lr_fuh_coll ?= ir_mktproject->get_assignment_collection(...

View Article


Image may be NSFW.
Clik here to view.

Re: How to use Widening Cast?

Hi Adam. Method get_assignment_collection returns instance of CL_CRM_MKTGS_ASG_COLLECTION Theclass hierarchyis:ZCL_CRM_MKTPL_CPG_FUSG_COLL      inherits from...

View Article

Image may be NSFW.
Clik here to view.

Re: Mass table updates using Transaction object services(OS)

Hello Suhas, I will pass the blame to your post (partly) & SAP documentation (mostly),Let's set a trial date with SAP . I too have some documentation issues to sort out .I think the above statement...

View Article

Image may be NSFW.
Clik here to view.

Re: How to use Widening Cast?

Hi Erick, That explains why you cannot do casting and error is thrown. You try to cast parent, general class to specified child and that is not allowed. The parent class does not now about subclass...

View Article


Image may be NSFW.
Clik here to view.

Re: How to use Widening Cast?

Hi Adam, Nice example, now I understand the cause of my problem. I'll have toread again Wedening and Narrow Casts concepts, becauseI misunderstoodthe terms  My requirement is add new functionality with...

View Article


Re: Regarding calling message class using Raise Exception

Hi Custodio, Thanks for the information. In any message class we can have maximum 900 messsges, so will have maximum 900 attributes.It means I am fine with the approach. Thanks.

View Article

Re: Regarding calling message class using Raise Exception

Hi Rajender, It's probably not going to change anything but: 1 - You can actually have 1000 message per message class (from 000 to 999) 2 - You can have texts ids from different message classes in one...

View Article

Re: Local exception class in global class

Hi Dirk,  I've been trough the same issue and "solved" it by declaring the super class (CX_DYNAMIC_CHECK in my case) in the signature of my private method. Works fine for me. Cheers,Custodio

View Article

To delete PO(Purchase order) is there any BAPI.

Hi friends,, As per my requirement i need to delete PO automatically my writing report program.Pls provide me any BAPI (or) FM regarding that issue.  Thanks & Regards Phani

View Article


Re: To delete PO(Purchase order) is there any BAPI.

Hi Rajasekhar, There is no any option to delete purchase order from data base.You have option to Block or Delete the line item of purchase order.you can maintain the Del flag for the line items in PO....

View Article

Re: Local exception class in global class

Hi Custodio, thanks for your reply.I tested your solution and it worked. It's a possible workaround of course but it makes the code a bit "unclear" beause you can't see in the signature which exception...

View Article


Re: Sap Query dump after upgradtion

I have faced a similar issue and managed to solve the problem by following the steps below:1. use SE93 to get the generated program name ('AQ...');2. use SE37 to run FM 'RSAQ_DECODE_REPORT_NAME' to get...

View Article

search option is available inside alv report ? like ctr+f

search option is available inside  alv report ? like ctr+f  .

View Article


Re: search option is available inside alv report ? like ctr+f

Hi Ramkumar, Yes you will get the Search Option(Ctr+f) by using cl_gui_alv_grid in ALV report . For this you need to design a screen with custom container  cl_gui_custom_container. Please find the...

View Article

Re: How to retrieve the itab displayed in ALV ? I will reward points.

Hi,Try this code: CLASS lcl_event_handler IMPLEMENTATION .  METHOD handle_data_changed .    PERFORM handle_data_changed USING er_data_changed .  ENDMETHOD.                    "handle_data_changed Set...

View Article
Browsing all 159 articles
Browse latest View live


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