Quantcast
Channel: SCN : All Content - User Interface Development in ABAP
Viewing all 540 articles
Browse latest View live

Problem with Screen Painter on FrontEnd 710 (Windows Vista)

$
0
0

Hi guys,

 

This message appears everytime I try to use the screen painter: "Graphical Layout Editor not available. Continue with alphanumeric editor."

 

PS: I Have the GUI710_3 patch installed.

 

Anyone have a solution for that?

 

Regards.

 

Message was edited by:

        João Jardim

 


Web dynpro ABAP is displayed without any style

$
0
0

Dear all,

 

we have the problem in our BI system which has web dynpros in the ABAP stack that they are displayed without any style if it is integrated in the portal via a web dynpro iView. It's activated to use portal style sheet. The application is dysplayed as plain html. Can it be caused by a special browser version or what can be the reason?

 

Thanks!

DYNPRO_NOT_FOUND Program SAPLSZA1 for t-code XK03

$
0
0

hi

 

when i run the tcode in production for a particular vendor i am getting the dump DYNPRO_NOT_FOUND.

 

"The system attempted to use dynpro 0000 in program "SAPLSZA1".

This dynpro does not exist."

 

can u gv me some inputs to resolve the issue

 

 

regards

 

moorthy

How to handle custom toolbar button from a standard screen?

$
0
0

Hello Gurus

 

can any body please let me know how to handle a cusrtom toolbar button in a standard 'BP' screen? I  have created a custom button in the standard screen. I havent handled any logic as i'm verymuch new to dialog programming. Created a PAI but the break point doesnt stop over there. but when i click on the custom button system throws a message" 'UNKNOWN FUNCTION CODE XXXXX'. Any inputs Please??

 

 

 

 

Regards

Sanguine

cl_abap_structdescr=>create

$
0
0

Hi,

 

I need help in below

 

I have taken help from below link for creating dynamic ALV with dynamic column (EHP6)

 

 

Create Dynamic Table using RTTS and display in ALV

 

 

Here i am not able to Use Special Characters like & *.... as column heading and also i tried to  set the P_STRICT = space / Abap_false .

 

I am getting below error in method  cl_abap_structdescr=>create

 

*********************************************ERROR******************************************************************************

 

if comp-name+off cn 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789#$%&*-/;<=>?@^{|}'.

*       illegal character in component name

          raise exception type CX_SY_STRUCT_COMP_NAME

            exporting textid = CX_SY_STRUCT_COMP_NAME=>illegal_char_in_name

                      component_name = comp-name

                      component_number = comp_no.


*********************************************ERROR******************************************************************************



Please suggest suitable solution for using Special Characters cl_abap_structdescr=>create .


Thanks


Ashu

Link columns from a list to their corresponding tables.

$
0
0

Hello,

 

I added to custom fields, Name and Name 1, into the IW38 layout column set (Ctrl + F8 after executing the report) by appending the structure of RIAUFK_LIST. Now I need to link these fields to their corresponding tables, T001W and T499S respectively. I know that it is done through  BADI_EAM_RIAFVC20_FCODE_CUS1 : Implement Customer Function Code in Operation but, being a new ABAP programmer, I'm struggling with this implementation. Is there a step by step guide that I could reference (preferably with sample code) to make this work?

 

Thanks

 

Capture2.PNG

How to deactivate function key option in transaction when you click right click in any transaction like IW32

$
0
0

Hi

 

In SAP-PM work order. If I click right mouse key I get short cuts of function key to execute action like back, release, save. How to deactivate any one of function from that list?

 

Rajesh

Include structure doesn't work. "Component called MANDT already exists. already exists" error

$
0
0

Hello,

 

I'm trying to append name1, werks from t001w and ktext, werks from t499s to object_tab but I get the error mentioned in the title. Any way I can avoid that? This is the relevant code:

 

Data: BEGIN OF object_tab OCCURS 0.

 

   INCLUDE STRUCTURE: t001w, t499s.

 

data END OF object_tab.


Thanks

Jim


Obligatory parameters and back button

$
0
0

Hello, experts.

 

I need help in handling obligatory parameters while using custom pf-status.

I've created a custom status and assigned codes 'BACK', 'CANCEL' and 'EXIT' to the corresponding system functions.

Then I have a code like this:

 

REPORT ZZZ_TST.

data: gv_ucomm type sy-ucomm.

selection-screen

  begin of block b1.

    parameters p_tst type string obligatory.

selection-screen

  end of block b1.


initialization.

  set pf-status 'STATUS1'.


at selection-screen on exit-command.

  gv_ucomm = sy-ucomm.

  leave program.

at selection-screen.

  gv_ucomm = sy-ucomm.

  perform f_tst.


form f_tst.

  case gv_ucomm.

    when 'EXIT'.

      cl_demo_output=>display( 'exit' ).

      leave program.

  endcase.

endform.

 

But nothing of this is working if I haven't supply a value for p_tst: it tells me to fill required params. With default status it works fine.

What should I do to make it work?

Need help in FPM Development

$
0
0

Hi Team,

I am working on one FPM development based on Web Dyn. Component "FPM_OIF_COMPONENT". My query is regarding Modifying one of the FORM UIBB to include customer specific

fields.

To summarise

I have created :
Application                                         ZEHHSS_INC_REC_QAF  (Copy of EHHSS_INC_REC_QAF)
Description                                        Custom Report Incident - Simplified
Component                                        FPM_OIF_COMPONENT

 

(Application) Configuration Name         ZEHHSS_INC_REC_QAF (Copy of EHHSS_INC_REC_QAF)
Description                                        Custom Application Configuration for EHHSS_INC_REC_QAF
Web Dynpro Applicat.                         ZEHHSS_INC_REC_QAF


(Component) Configuration Name          ZEHHSS_INC_REC_QAF
Description                                         Custom Component Configuration for EHHSS_INC_REC_QAF
Web Dynpro Component                      FPM_OIF_COMPONENT


It is having Many FORM UIBB and LIST UIBB with their corresponding UIBB Configurations

One of them is

Form UIBB (1.3)
Component Name: FPM_FORM_UIBB 
View: FORM_WINDOW 

Configuration Name: EHHSS_INC_REC_QAF_BINF_FRM

Feeder Class : CL_EHHSS_INC_Q_LOC_UI_FRM

Requirement : I have to add some more client specific field to his configuration. For this reason I have copied this configuraion to "ZEHHSS_INC_REC_QAF_BINF_FRM" and added custom fields to this config.

Now Need your help in suggesting where to write code/validation for custom fields. I hope I need to write code in Feeder class only..but at which place.

Please suggest

Warm regards
Krishan Bishnoi

checkbox in alv

$
0
0

i have internal table t_emp.

 

i want to display output in classical or interactive report using reuse_alv_gridview_display with checkbox field which are dynamic behaviour like

t_emp-city = 'pune' then checkbox invisible other than checkboxs are visible.

 

output as follow.

 

checkbox
empid
namecity
invisible11rajpune
visible12nareshhyd
invisible13daspune
visible14rojbangl

Convert Select statements to Read Table

$
0
0

Hi Experts,

 

I have generated a simple ALV report that I will be using in an enhancement. I'm currently using select statements to get the data I need but, due to coding standards, I have to use read table. I am a new ABAP programmer so I'm struggling a little bit. What changes do I need to make to achieve the same effect?

 

Thank you,

Jim

 

TABLES: t001w, t499s. "tables
 data: BEGIN OF it_alv OCCURS 10, "data declaration for internal table     mandt like t001w-mandt,     name1 like t001w-name1,     werks like t001w-werks,     kunnr like t001w-kunnr,     ktext like t499s-ktext,   end of it_alv.
 type-pools: slis.
 data: afield type slis_fieldcat_alv, "default sap data declaration       fieldcat type slis_t_fieldcat_alv,       fieldlayout  TYPE    slis_layout_alv.       fieldlayout-colwidth_optimize = 'X'. "optional optimize width of columns
 clear afield.
 *Name columns section
 *--------------------------------------------------
 "afield-col_pos = 1 .
 afield-fieldname = 'MANDT'.
 afield-seltext_m = 'Client'.
 append afield to fieldcat.
 "afield-col_pos = 2 .
 afield-fieldname = 'NAME1'.
 afield-seltext_m = 'Plant Desc'.
 append afield to fieldcat.
 *afield-col_pos = 3 .
 *afield-fieldname = 'WERKS'.
 *afield-seltext_m = 'Plant'.
 *append afield to fieldcat.
 *
 *afield-col_pos = 4 .
 *afield-fieldname = 'KUNNR'.
 *afield-seltext_m = 'Cust # of Plant'.
 *append afield to fieldcat.
 "afield-col_pos = 3 .
 afield-fieldname = 'KTEXT'.
 afield-seltext_m = 'Location Desc'.
 append afield to fieldcat.
 *------------------------------------------------------------------
 *START-OF-SELECTION.
 *READ TABLE ATTEMPT
 *Select data from tables and append the internal table
 SELECT * from t001w.
 SELECT * from t499s where werks eq t001w-werks. "edit this select to match implementation parameters   it_alv-mandt = t001w-mandt.   it_alv-name1 = t001w-name1.   it_alv-werks = t001w-werks.   it_alv-kunnr = t001w-kunnr.   it_alv-ktext = t499s-ktext.   append it_alv.   endselect.   ENDSELECT.
 *----------------------------------------------------------------*
 *---------------------END IMPLEMENTATION-------------------------*
 *----------------------------------------------------------------*
 *produce the alv table using the settings below. This section is not needed for the actual implementation since it is already included in the default   call function 'REUSE_ALV_GRID_DISPLAY'  exporting    i_grid_title                      = 'Test'    it_fieldcat                       = fieldcat    is_layout                         = fieldlayout   tables     t_outtab                         = it_alv.

BAPI To Change the BOM

$
0
0

Hi,

 

I have a requirement to change the existing BOM using BAPI.

Currently for creation i am using the BAPI - BAPI_MATERIAL_BOM_GROUP_CREATE.

Kindly help to find a BAPI  to update the BOM if any change in the existing component.

For example Change in the quantiyt of an existing componenet.

 

Thanks & Regards

Brijo.

Filtering/Sorting table control by partial string(ABAP report)

$
0
0

Hello! Is anyone able to help me with this? I want to filter out table control rows like eg. select * from itab into corresponding fields of table zstaff where position like %lect%. Displaying the results of position being lecturer, senior lecturer, etc.. And yes, the lect will definitely be replaced by a variable..

Search functionality in CRM

$
0
0

Hi All,

 

I have a issue at UI level.

 

When first the Search page loads up it has only 4 attributes and after that if I search for any additional attribute when loading back the search page from scratch it remembers the last attribute I have searched also.

Before:

After:

 

I am new to Web UI and I need to figure out how can I make the initial search page to be always the same no matter what attribute I have searched before in the current browser session.

 

Your help is much appreciated.

Thank you.

 

Best regards,

Elena


DYNPRO_NOT_FOUND Program SAPLSZA1 for t-code XK03

$
0
0

hi

 

when i run the tcode in production for a particular vendor i am getting the dump DYNPRO_NOT_FOUND.

 

"The system attempted to use dynpro 0000 in program "SAPLSZA1".

This dynpro does not exist."

 

can u gv me some inputs to resolve the issue

 

 

regards

 

moorthy

Create table for user to enter data manually

$
0
0

Hi Gurus,

 

I need to create a table in SAP, where by the user should be able to enter data manually & save it. It will be mostly transaction data.

 

There will be some fixed parameters(like plant & materials) for which he will need to enter quantities.

 

How can i create such a table?

 

Rgds,

shreesh

Read Dynamic Selection contents of a Variant for QE51N

$
0
0

Hi Folks,

 

Need your help here !

In my report, I wish to read the Variants along with their contents created for transaction QE51N.

I tried using function module RS_VARIANT_CONTENTS and its working good, but not to my requirements. The function module returns only the selection screen contents of a given variant. It does not return the contents in 'Dynamic Selection' (Free Selection).

 

I read somewhere that the function module returns dynamic selection contents only if the report use Logical Database. To my understanding, the program for QE51N (SAPLQEES) do not use LDB.

 

So is there any way by which I can get dynamic selection contents of a variant?

 

Any suggestions / pointers would be a great help.

 

Thank you.

 

Regards,

Sud.

Classical report design

$
0
0

Hi Experts,

I have requirement to design a classical report having tables and radio buttons,as because I am new to abap I need some help.^7A64E4E2BB031EBC0FFB6E855588C14B086B4FB2BD738A1D27^pimgpsh_fullsize_distr.jpg

Please let me know if the above design is possible in classical report.If yes please tell the steps to design it..ASAP..

Thanks in advance...

ALV delta refresh possibility

$
0
0

Hello,

 

In a transactional screen, we are using ALV grid (CL_GUI_ALV_GRID) to enter and edit order items,

this screen should work fastly.

 

Is this possible to refresh a cell or line individually in ALV?

 

The method REFRESH_TABLE_DISPLAY is taking too much of time and causing flickering on SAP screen,

so I want to refresh only the related line.

 

Thanks in advance.

Viewing all 540 articles
Browse latest View live


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