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

Re: How to pass object reference variable as importing parameter in method ?

$
0
0

Yes, but you could just try and check with a small report in some seconds, in fact, we do itall the time, never implemented a badi or use an oo-alv class ?

 

Regards,

Raymond


Re: How to test FMAVC_EVENT BADI implementation

$
0
0

Dear Ammad,

 

Did u checked whether your implementations is Completely Active.


you can check in SE19 with your Enh Imp that in 'Runtime Behavior' , your implementation is Actice checkbox is ticked. if yes Untick and tick again and activate.

 

 

Hope it might help you.

 

Thanks

Manish

Re: How to test FMAVC_EVENT BADI implementation

$
0
0

Hi manish

 

Thanks for your reply

 

I mark that check as well but still Fail to reach break point in following method

 

IF_EX_FMAVC_EVENT~MODIFY_MAIL_RECIPIENTS

Re: How to test FMAVC_EVENT BADI implementation

$
0
0

Hi Ammad,

 

 

1. Check in SE18 the standard Enhancement spot and go to Enhancement Implementation Tab to see that your Implementation is displayed there.

2. Also, check in Properties of your Enhancement Implemantion that you don't use a switch (and it is not OFF if yes).

Re: How to test FMAVC_EVENT BADI implementation

$
0
0

Hi

 

1. My enhancement implementation is there in se18 is there.

2. but switch is empty and disable .. how can i set to ON ?

Re: downcasting

$
0
0

Hi Adam,

 

pls. can u check  if this coding is correct.

 

CLASS lcl_vehicle DEFINITION.

PUBLIC SECTION.

METHODS: move,

transport_person IMPORTING io_vehicle TYPE REF TO lcl_vehicle.

ENDCLASS.

 

CLASS lcl_car DEFINITION INHERITING FROM lcl_vehicle.

PUBLIC SECTION.

METHODS: move Redefinition,

transport_person Redefinition .

ENDCLASS.

 

CLASS lcl_motor DEFINITION INHERITING FROM lcl_vehicle.

PUBLIC SECTION.

METHODS: move Redefinition,

transport_person Redefinition .

ENDCLASS.

 

CLASS lcl_vehicle IMPLEMENTATION.

METHOD move.

WRITE: / 'Methode der vehicle'.

ENDMETHOD.

METHOD transport_person.

WRITE: / 'transport_person der Vehicleklasse'.

ENDMETHOD.

ENDCLASS.

 

CLASS lcl_car IMPLEMENTATION.

METHOD move.

WRITE: / 'Method of car'.

ENDMETHOD.

METHOD transport_person.

WRITE: / 'transport_person der Carklasse'.

ENDMETHOD.

ENDCLASS.

 

CLASS lcl_motor IMPLEMENTATION.

METHOD move.

WRITE: / 'Method of motor'.

ENDMETHOD.

METHOD transport_person.

WRITE: / 'transport_person der Motorklasse'.

ENDMETHOD.

ENDCLASS.

 

START-OF-SELECTION.

 

DATA lo_vehicle TYPE REF TO lcl_vehicle.

DATA lo_car TYPE REF TO lcl_car.

DATA lo_motor TYPE REF TO lcl_motor.

 

CREATE OBJECT lo_vehicle.

CREATE OBJECT lo_car.

 

CALL METHOD lo_car->transport_person

EXPORTING

 

io_vehicle = lo_vehicle.

 

Regards

Alex

Re: How to test FMAVC_EVENT BADI implementation

$
0
0

Hi ,

 

try to edit your implementation and set the switch as on.

 

Also do this is only implementation for this enhancement spot?

 

thanks     

manish

How are fields KOMK-LAND1 and KOMK-ALAND filled in Vf01

$
0
0

    Hi  ,

 

can any one tell me how KOMK-LAND1 and KOMK-ALAND are getting filled in Vf01 transaction


Increasing FONT SIZE( in Module Pool )

$
0
0

Hi Folks,

 

I Have Created a Module pool screen , It contains Push Button and Radio buttons But i need to Increase the Font Size and width of a push button and also radiobutton..If its Possible Kindly Let me know, pls...

 

Requirement is i need display my sap screen on VMT machine(which is like a PALM TAP,and user will operate with a pen)...

 

Thanks in Advance,

Mahesh k.

Re: How to send a mail with XLS attachment using class with subject line > 255.

$
0
0

Hi Bharathi,

 

You can extend the try-catch block for all the method calls i.e. include the method calls within the try-catch block.

 

If you could post the exact run-time error you could get a proper solution

Re: cl_salv_table --needs editable functionality -SAP please provide this

$
0
0

over 5 years later ...

And where are we now?

 

 

Yes, I would also prefer to have only one ALV model with all kinds of possibilities !?

 

still same situation ?!

Email signature in oops-abap and core abap

$
0
0

Hi experts.. i am sending email to respective user.. that is working fine.. but end user want signature of sender( like sender name  and other details...) in body of the mail. how to send mail with sender signature in oops and core-abap? please can any one help me to solve this pbm?

Line graph plotting for sales data SAP ABAP

$
0
0

Hi friends,

 

 

I have a requirement to plot a line graph for a given set of data. Now i went through some of the demo programs in the transaction GRAL but none confirm to my requirement. I need to plot minimum 36 points on the x axis (at least 3 years data for each month) and my Y- axis  will have a range from -10 to 10. But the range -10 to 10 should lie above the x-axis. the program 'DEMO_GFW_PRES_SHOW' shows the negative values below the X-axis(mathematically perfect, but i am trying to plot sales data) and X axis can plot maximum of 32 points only....again i tried the program 'GRSTAT_2' (sine/cosine function), this plots negative values above the X-axis but, displays values like 1.5, 2.3,3.7, etc. etc on X-axis. So again it does not serve the purpose as i want whole numbers bot on X and Y axis.

Please let me know if you have any suggestions.

 

 

Best Regards,

MK.

Extension at line item for BAPI_CONTRACT_CREATE

$
0
0

Hi,

 

I am passing customer include fields for CI_EKKODB and CI_EKPODB in BAPI_CONTRACT_CREATE as an EXTENSIONIN. 

Using BAPI_TE_MEOUTHEADER for header and BAPI_TE_MEOUTITEM for item.

Issue is my header data is getting updated proprely for all fields however none of the fields at line item is getting updated.

 

Please help for the same.

 

Regards,

Vaibhav

Re: cl_salv_table --needs editable functionality -SAP please provide this

$
0
0

I also would like to have an edit functionallity.

In my opinion it is extremly strange that SAP didn't made this possible for years. Editing is just a basic functionallity for a lot of ALV applications and if it is not supported the SALV class is just not useable. Sorry SAP, but not providing a mayor function requested by hunderts of developers for several years is just dishonorable for a big software company!


Re: Line graph plotting for sales data SAP ABAP

Re: Email signature in oops-abap and core abap

$
0
0

You can create HTML body in the email. In the Body add the details using the HTML formatting. Check out Email with Formatting

 

By the way, don't use Text spellings.

karthik g wrote:

 

please can any one help me to solve this pbm? Problem?

 

Regards,
Naimesh Patel

Re: How are fields KOMK-LAND1 and KOMK-ALAND filled in Vf01

$
0
0

Obviously, this is not ABAP objects related question. You should move it to ABAP development.

 

KOMK fields are generally fields from the Document header data like VBRK, Ship-to Party data. There is a user exit USEREXIT_PRICING_PREPARE_TKOMK in the program RV60AFZZ. Put a breakpoint in the user exit. While creating the billing document is would stop at that point. Navigate to the Call Stack and to previous programs and see how KOMK is getting fields.

 

Regards,

Naimesh Patel

How to create excel header row using I_OI_SPREADSHEET?

$
0
0

Hello SDNers,

 

I am using the interface I_OI_SPREADSHEET to create an excel with multiple worksheets.

 

I'm not able to set a header for the excel file using this interface? I tried the method SET_HEADER( ), but i don't understand what do you pass to the table SOI_HEAD_TABLE

 

Anyone ever used this method to build the header or is there any other workaround?

 

Thanks for your help!

 

BR,

Suhas

 

PS - I am able to download the line items properly, so please don't refer to posts on how to use this interface. I'm stuck with the header row only!

Re: Extension at line item for BAPI_CONTRACT_CREATE

$
0
0

Did you enhance the CI_EKKODBX and CI_EKPODBX structures?

Did you populate the BAPI_TE_MEOUTITEMX table?

If some of your customer fields non-character (e.g. decimal) you might need to implement the BAdI MEOUT_BAPI_CUST inbound method. Check for the warning message ME 887.

 

JNN

Viewing all 159 articles
Browse latest View live