Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all 8332 articles
Browse latest View live

User ID and password Popup in Client proxy

$
0
0

Hi Experts,

I created a client proxy to consume a webservice.When i execute the proxy, it pops up for user id and password,

i created one logiccal port also using tcode SOAMANAGER. during creation of the logical port, i entered teh user id adn password. but still it prompts for user credentials at the time of execution.

 

on the popup first line is "Resource - protected web service"

then option for user id and password.

 

 

How can i pass the user id and password programatically.

 

 

Thanks

Yogesh Gupta


How to read response from http get call?

$
0
0

Hi all, I have an api url like "www.abc.com/value....etc"

Which returns a value parameters after successful call how to read the value in abap.

Hide Conditions Tab in VA02

$
0
0

Peace be Upon you all,

 

I was asked to hide the conditions tab in VA02 / VA03 for specific users

 

I've searched a lot but couldn't find a way to do that ..

so, I managed to find a way to Hide the fields inside the Tab

 

using enhancement spot in form : userexit_field_modification

inside include : LV69AFZZ

 

 

but, there are still some fields inside the Pricing Elements Table Control that I can't hide

 

attached are images

for Item Conditions

pricing2.PNG

 

and conditions tab from Doc Header details

pricing1.PNG

 

 

 

 

how can I hide the rest of the fields or whole table control or the Tab ??

 

please advise

"Field catalog not found" error in ALV program

$
0
0

Hi,

 

Please help me,I can not find what is error is my code,I have always error message "Field catalog not found" .


report z01.

type-pools: slis .

tables:skat.

 

data:begin of wa_skat,

        ktopl like skat-ktopl,

        saknr like skat-saknr,

        txt20 like skat-txt20,

      end of wa_skat.

 

data:i_skat like standard table of wa_skat with header line.

 

data: fieldcat type slis_t_fieldcat_alv.

 

select-options:zacc for skat-saknr.

select * into corresponding fields of wa_skat

   from skat

    for all entries in zacc

   where saknr = zacc-low.

   append wa_skat to i_skat.

endselect.

 

call function 'REUSE_ALV_FIELDCATALOG_MERGE'

   exporting

     i_program_name         = sy-repid

     i_internal_tabname     = 'I_SKAT'

*   I_STRUCTURE_NAME       = 'wa_SKAT'

     i_inclname             = sy-repid

     i_bypassing_buffer     = 'X'

   changing

     ct_fieldcat            = fieldcat

   exceptions

     inconsistent_interface = 1

     program_error          = 2

     others                 = 3.

 

 

call function 'REUSE_ALV_GRID_DISPLAY'

   exporting

     it_fieldcat = fieldcat

   tables

     t_outtab    = i_skat.

Issue with smartform output type

$
0
0

Hi Experts

 

I have done some changes in smartform and when i am trying to test in vf03.. i select issue output type and click on print preview ...and nothing is happening...is the output type is not configured or any issue with smartfrom.

Can anybody help pls

 

Thanks a lot.

How to add BELNR field to DMe file

$
0
0

Hello guys,

 

We have a requirement to add BELNR ( regup table ) to DME file. I have gone through the SCN and found out from some of the links saying that custom FM needs to be created. I have followed the same, and copied the template DMEE_EXIT_TEMPLATE_ABA .Do I need to configure my custom user exit anywhere?

 

When I activate  it gives me a message "Format tree Z_ANZ_NZ10 is inconsistent ( see log ), tree saved in maintenance version." When I open and check it, shows " Node Invoice no: function module Z_J_3K_GET_BELNR has incorrect interface".

 

Has anyone come across this issue ?

 

Can anyone help me out with sample code or the process of creating custom exit to add the field ?

 

Thanks in Advance..!!!

 

Best regards,

Karthik Ganti.

how to create NORMAL REPORT with 5 tables using for all entries...

$
0
0

how to create NORMAL REPORT with 5 tables using for all entries...

here  vbrk

        vbrp     condition: vbrp-vbeln

       vbfa     condition: vbrp-matnr

       konv    condition: vbrk-knumv

       t001w  condition: vbrp-werks..


Update veiav table

$
0
0

Hi Friends,

 

 

I would like to know if there is any FM or BAPI to update table VEIAV ?

 

Thanks in advance.


Smartforms secondary window

$
0
0

Hi,

 

I am facing an issue in smartfroms.

 

In my smartforms there is a secondary window in which there is one text field.

 

Text field has over 80 lines.

 

Now in print it's printing 28 lines on first page, All the other lines are not going on second page.

 

How can i take this secondary window to second page.

 

I don't want main window to disturb in this scenario.

 

Kindly help me in this matter.

 

With Regards,

Hitesh Kamboj

Authority check for Function Module

$
0
0

Hello All,

 

I have developed BAPI in which i can call any BAPI or Function Module.

But at stage of calling another FM or BAPI I need to check authorization.

 

So is there any Function module to check whether the user is authorized for Function Module?

 

I found  AUTHORITY_CHECK_FUNC but I don't know what parameters should be passed.

 

Regards,

Change tooltip language for new pushbutton in IW21

$
0
0

Hi All,

 

I am creating a new pushbutton to create text in custom subscreen of IW21 (PM notification), but the tooltip is coming in German language. How do I get it converted to English language?

 

Regards,

Arun Mohan

Dates differences in ABAP CDS views

$
0
0

Hi ,

I tried using @Annotation for BW, and it says that "Data type DATS is arith in one. Expression currently not supported ZEMP_YEARS_1 (ABAP source DDL) ".

 

My codes are :

Codes_Date_diff.PNG

 

Can anyone help here ?  Datacategory should be CUBE or DIMENSION only.

 

Thanks

Why standard workflow is going to trigger instead of custom workflow in SAP SRM

$
0
0


Hi All,

 

I have developed custom process control workflow for N level approval in SAP SRM shopping cart.

 

Workflow is working as per the requirement till N-level approval step. Custom workflow is going to trigger as per the requirement.

But at ' Approval step' Standard workflow is triggering instead of my custom workflow.

 

Please anyone can help me to resolve issue.

 

Following are the details of workflow.

 

Mainworkflow - WS94900040

N Level approval - WS94900042

Approval sub workflow - WS94900043.

 

Here WS94900043 should trigger for approval subworkflow step. But instead of WS94900043 , WS40000016 is going to trigger.

But Why ???

 

Thanks.

How to Take partial traces for complete execution of report from SAT for long time running in background Job

$
0
0

HI ,

 

I am running a job in background and want to take the traces in partial manner for full execution from transaction SAT. So that i can analyse total performance of the Report .As i am new user of SAT tcode please guide me Step by step.

 

 

Thanks

Krishnanand Tripathi

Module pool SE80 screen

$
0
0

Hi,

 

I have a requirement of creating a SE80 type Initial screen in module pool programming.

 

Initially I have used 2 custom containers 1 for tree table and other for the display side(right side) and placed 2 push buttons on top .

But these custom containers are separate containers so we can't expand them to the sides. And it didn't give the look and feel of a SE80 screen.

 

In case 2 i have used 1 docking container and split that vertically then again split the top_left container to horizontal.

 

Still it didn't help me as the first quadrant is empty and i can't place anything inside it please refer snapshot below.

 

Can you please help and guide me how to proceed.

 

 

Thanks and Regards,

Judeson D'souza.


After create index can not find all data

$
0
0

Hi everyone

 

I created an index for a table and after I run a program that select data from this table with created index.

Unfortunately after running the program, not all data is selected, it brings less data then before index was created.

What am I doing wrong?

 

Thanks

Declare internal table of predefined abap type- Standard Table

$
0
0

Hi Experts,

 

I want to use the method cl_gui_frontend_services=>gui_upload in my program.

 

While doing that, there is a field data_tab in the changing section of the method.

In order to pass a table to this data_tab, I need to declare a table say lv_tab of the same type as it is in the method.

 

The method contains data_tab of type Standard Table. Forward navigation is disabled as it says Standard Table is a predefined ABAP type.

 

What should the type of my table lv_tab be in order to pass it to this data_tab?

 

Thank You in advance,

-Nimish Kate

Smartforms template

$
0
0

hello

 

 

I would like to know how the template align with the window, as shown in the figure attached, he did not complete the window

 

thanks

BDC Call Transcation - Supress Warning Message

$
0
0

Hi,

 

I have a BDC Call Transcation.

It is working Fine for all Screens but for one screen, I have to manually press Enter to go ahead with the process.

 

When I am running it with NO Screen Mode it is not suppressing that and further processing is being stopped.

I have added below code to manually Press Enter :

 

PERFORM bdc_field       USING 'BDC_OKCODE'

                                                               '/00'.

 

Its not working.

 

Any suggestions will be appreciated!

 

 

Best Regards,

NKC

"Hierarchy does not exist" IN KES3,

$
0
0

Hi all,

I was maintaining herarchy in KES3 for sales district,  and my mistake I dont know what happened, now Its coimng ; 'hierarchy does not exist or blank.  How to retrieve hierarchy if it got deleted in DSA 210, though i did not save anythng in TR, it happened.  I can see all hierarchy in DSA 211.

 

Please help, its urgent.

Viewing all 8332 articles
Browse latest View live


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