Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all 8768 articles
Browse latest View live

Short Dump: message_type_X in program SAPLMBWL

$
0
0

Hi

 

user is getting short dump as:

 

Category               ABAP Programming Error

Runtime Errors         MESSAGE_TYPE_X

ABAP Program           SAPLMBWL

Application Component  MM-IM

Date and Time          27.08.2015 15:10:50

 

What happened?

    The current application program detected a situation which really

    should not occur. Therefore, a termination with a short dump was

    triggered on purpose by the key word MESSAGE (type X).

 

kindly suggest to avoid this dump.

 

regards


Smart forms to pdf conversion problem.

$
0
0

Hi,

I am facing one problem. I need your valuable suggestions.

We are having one smart forms it is picking data from the eban (purchase requisition). Print has to pick material code and description.

Everything is fine. We are using so many years on words.   In print preview (After run the ztcode)  It is showing correctly like below

Material code is

 

BMX.69696.85

MBx.5258585

 

But smart form to pdf conversion Some lines are changing their text like first character is missing.

 

MX.69696.85

Bx.525858

 

Not all the material codes only out of  26  only  4  materials are showing wrongly. First character is missing.

I don't think the problem is because of code . Because In print preview is coming properly. After conversion to pdf it  is showing wrongly.

Has any body faced this problem. I open the mm03  for this material i has not seen any thing wrong. Beside text material description is also coming

properly. Can any body tell me why this is happening.

 

I am taking print preview by using command Pdf! and through the spool request both are i tried. But same problem is coming.

lo_functions = gr_table->get_functions( ) doesn't return all the functions of my pf-status.

$
0
0

Following is my code :

 

I am using the below logic to disable a button 'EMAIL' from the alv output.

But  the statement lo_functions =   gr_table->get_functions( ) doesn't return me all the PF status functions.Hence i am not able to get 'EMAIL' function in t_functions table.But i can see my other functions present in the table t_functions.

The Email button is showing in the ALV output but it is not present in t_functions table filled in get_functions method of cl_salv_function.

 

r_table->set_screen_status(

    pfstatus      =  'SALV_STANDARD'

    report        =  gv_repid

    set_functions = gr_table->c_functions_all ).

 

  DATA: lo_functions TYPE REF TO cl_salv_functions,

        lt_func_list TYPE salv_t_ui_func,

        la_func_list LIKE LINE OF lt_func_list.

 

* Get all functions

  lo_functions =   gr_table->get_functions( ).

  lt_func_list = lo_functions->get_functions( ).

 

* Hide Email

  LOOP AT lt_func_list INTO la_func_list.

    IF la_func_list-r_function->get_name( ) = 'EMAIL'.

      la_func_list-r_function->set_visible( ' ' ).

    ENDIF.

  ENDLOOP.

Hai iam new to sap pi , i need some info regarding various status groups in SXMB_MONI.

$
0
0

Hai iam new to sap pi , i need some info regarding various status groups in SXMB_MONI.

need to display text in vertical format in smartform

$
0
0

Hi ,

 

my requirement is to display text in smartform vertically like

 

A

B

D

F

(All above letters must display vertically facing from left to right)


pls help

Enhancement to change Cost Center in FB03 (via MRKO Tcode)

$
0
0

Dear All,

 

I need a help.

 

I use Tcode- MRKO for Consignment and pipeline settlement of MATERIAL DOCUMENT which generates a Report with a DOCUMENT NUMBER,

After clicking the DOCUMENT NUMBER, it redirects me to FB03 Screen which updates the "Cost Center" column in line item ( which is according to company code)..... My requirement is to change/update that cost center validating it according to plant

 

Can anyone suggest me EXIT/BADI ENHANCEMENT to update Cost center field as shown in attachment below???

 

 

Thanks,

Akash D.

Row to column with SQL commnad similar pivot

$
0
0

hi expert

as you know AUSP table is very slow when you have many data ( my client have  8  million data only for document (dms))

When we fiche data and process in ABAP side performance is very bad we want write SQL command to create view

How can I convert this table 

 


9-1-2015 10-42-36 AM.jpg

to this format with SQL command

9-1-2015 10-43-09 AM.jpg

Data Validation and Auto Correction Tool

$
0
0

Hi Team,

 

I have a requirement where I need to validate Master Data available in System.

 

Even thou we have validations available in the system with the help of BRF+,

but we need to analyse the data that were created in System long back, when these validations did not exist.

 

Also, we have some validations which keeps on changing from quarter to quarter.

 

I would prefer to use some tool, which can readily accept my existing BRF+ validations.

It will be great, if the tool can do auto correction based on some predefined logic.

 

Obviously, I have an option to write ABAP, but I would prefer some existing tool.

 

So, would like to know, about SAP Certified existing tools which can help me..!!

 

Thanking You All..!!


How to save a Transfer Order and not Confirm a Transfer order

$
0
0

How to save a Transfer Order and not Confirm a Transfer order
The status of the TO should be in yellow and not green




the status  should be yellow and not green    ...............................



through which function module we can achieve that functionality ?

ss.png

BOPF on HANA

$
0
0

Hi Gurus

 

If I want to make use of BOPF on HANA how do I do this.

 

I understand it is incorporated into Netweaver so it should be possible, correct?

 

Regards

 

Panduranga

upload file through a remote desktop.

$
0
0

Hi Experts,

 

How do I upload a csv or any file into sap as internal table or onto application server, while working from a VPN(remote login).

 

GUI_UPLOAD , CG3Z, Archievefile_client_to_server doesn't work.

 

Thanks,

ANil

Custom Program for DME

$
0
0

I need to invoke DME using custom program. I have created a structure and a DME tree which need to send the vendor details to bank. This is different to standard payment run DME. Did anyone created a custom program for DME please help.

ABAP: How to get item Qty from in exit EXIT_SAPMM06E_018

$
0
0

Dear Experts,

 

How can I get Item quantity (MENGE) in this exit. I have to apply some calculations. I have checked SCN but not found any solution.

How can I do this.? 

 

Regards,

Aneel

calling a transaction iq09 and directly fetching the data at runtime...can we do it??? if yes what is the way to do it???

$
0
0

calling a transaction iq09 and directly fetching the data at runtime...can we do it??? if yes what is the way to do it???

Binary file move into application server

$
0
0

Hi Genius,

 

AS per my scenario,  list -> export->Word processing. its trigger the GUI_DOWNLOAD function module. within this function module using the fucntion module DP_SEND_STREAM_TO_URL for download local desk. but i need to move the data application server instead of local download.

 

As SAP , DP_SEND_STREAM_TO_URL : Parameter : URL = 'file://C:\Users\subramanim\Documents\SAP\SAP GUI\MM60.RTF'

 

As per my scenario : am trying DP_SEND_STREAM_TO_URL : Parameter : URL = ' \\172.XX.XXX.XXX\Download_Protect_ECC_Dev\20150902062807.0640000 _VCUST.rtf'. ( Application Server Path )

 

But could not move the data into application server directly.

 

kindly give me any suggestion..


The ALV Report doesn't show(select) full of records

$
0
0

Hi.

 

I am developing an ABAP report program using ALV.

When I tried to select over 1 million records in this program, ALV showed only first 50 records,

and never showed(selected) the rest records unless get the scroll bar down.

 

Does anybody know this cause of trouble ?

I think it is performance problem or ALV's technical constraint.

 

In addition, I use the function module "REUSE_ALV_GRID_DISPLAY_LVC" for this program.

 

Thank you.

 

Yugo

Classical report, required dropdown or F4 on input field of classical report's output

$
0
0

Hi,

 

we are getting classical report output based on the data entered on selection screen.

This classical output has 4 input enabled fields, so we want F4 or drop down on this input fields.

 

Please provide your suggestions, or any alternate method to acheive this.

 

Thanks ad Regards,

Tejas Shah

Enhancement to save custom field values into AFVU table from CU design

$
0
0

Hi Experts ,

 

As Per my Requirement I created some custom fields in /***/AFCU  table. Those fields are displaying in the /***/CUDESIGN Transaction , User can Enter the values in those custom fields once we save the design these fields are saving in the table /***/AFCU  Table.

 

Here user wants after saving and releasing the Design , He will generate work order by selection Generate Order Button . Once the work order Generated All the custom field values should save into the AFVU table . I had enhanced the AFVU table with custom fields.

 

Please tell me any  Enhancement (BADI or USER EXIT ) available to save the custom field values into AFVU table .

 

Is there any other way to save these values into AFVU table while generating order.

 

Thanks & regards

Kiran


Filter the inbound Idoc based on the company code

$
0
0

Hi all,

 

In a common system I'm receiving different Idoc from different client,

 

My requirement is to filter the idoc based on the company code or date

through a report program. Anyone have any idea....


Regards,

Shamsundarsing


 

cl_salv_table - maximize the output width

$
0
0

Hello,

 

how can I maximize the output width of a table in cl_salv_table (see jpeg attached). I already used SET_MAX_LINESIZE (CL_SALV_DISPLAY_SETTINGS) but it doesn't work.

 

Thank you very much and Best Regards

 

output_width.JPG

Viewing all 8768 articles
Browse latest View live


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