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

Condition Value is changing after saving.

$
0
0

Hi All,

 

We have coded in the userexit MV45AFZZ to add ZEFC condition type in XKOMV internal table.

 

In VA21 and VA22 transaction the value is correct but after saving the value changes in VA23.

 

VA21/VA22 ZEFC condition header (correct value):

VA22.jpg

 

VA23 ZEFC condition header (value is changed)

va23.jpg

 

Do you have any idea why the value here is changing?


How get detail information about user work/activity?

$
0
0

Hi

 

I need get detail about user activity like - user id (like in AL08), Client host (like in AL08), Application (like in AL08), Program name (???), Edited/Viewed parameter etc.

 

E.g. when user use SU01 i need see what user is edited/viewed/locked etc. Not only basic information like is in AL08, SM04.

 

I fond many article about this problematic, but I don't found what I need.

 

I found e.g.

STAD

ST22

SM04, AL08

 

or how setting for this?

ST05

ST03

SUIM

 

SM19,SM20,SM18

 

Thank you

How to set the dictionary text reference for parameter after using implicit enhancement?

$
0
0

Hi guys,

 

I had to include a new parameter (unit of measure, P_UNITOM was the technical name I assigned to it) to the standard report RMCB0300. I utilized an implicit enhancement in the include RMCS0ES1, integrated in the first block of the selection screen. I can see my parameter in the standard selection screen, but now the problem is that I see 'P_UNITOM' in the selection screen and I want to see a friendlier text. I cannot set the selection text because when I go trough Go to->Text Elements->Selection Texts from the ABAP Editor, the system asks for an access key when I try to assign the Dictionary reference checkbox (try to change it).

Do you know how to assign the selection text to my parameter? Implicit enhancement implementations are able to create parameters in the standard selection screen but SAP does not allow to assign the Dictionary reference text for those enhancement parameters :-(, had you have a similar issue? How to solve it?

 

Untitled.gif

 

 

Thank you!

Modify visualization LT10

$
0
0

Hello experts.

 

Is possible modify the visualization of report LT10??

 

 

I would like to add a new column in this report that display the information of field MKPF-XBLNR

 

Is there any user-exit?

 

attached image...

fix_column in ALV

$
0
0

hi all,

I have some problems while trying to set the fix_column option of ALV grid and tree ... I set this value in catalogue, but it seems it doesn't work, so can anybody please post me a piece of code he/she knows it works because he/she used with success.

Thanks

Gabriele

ABAP Programming Error. Unable to interpret "Latitude" as a number.

$
0
0

I'm getting an runtime error on a program. I'm trying to input the Latitude and Longitude in a report. Latitude is in DEC and Longitude is in CHAR.

 

Category          ABAP Programming Error
Runtime Errors    CONVT_NO_NUMBER
Except.           CX_SY_CONVERSION_NO_NUMBER
ABAP Program      Z_CCS_DISCONN_REPORT4

Application Component  PT-RC-AA

Date and Time     09/10/2015 09:13:36

 

Short text

Unable to interpret "Latitude" as a number.

Use write statement within a Selection screen output

$
0
0

Hello ABAP Experts:

 

I have a problem and do not know how to work on in.

 

I have a Z Report with a checkbox. I want to disable the textfields inside a block (screen-input = '0')  when the checkbox is not set.

 

I used for this purpose AT SELECTION-SCREEN OUTPUT, and everything works like I want.

 

But additionally, in this Z Report later on, I want to display some values and some numbers, and using the WRITE statement it does not work (together with selection screen output) and no value and no output was displayed.

 

Does anyone of you guys know how to use write and selection screen output together (if possible at all), or just know another alternative which I can use to do what I want?

 

(Using MESSAGE is just not possible, if I want to display f.e. 20 differents numbers at the end of the execution).

 

Thanks a lot in advance!

 

Jorge.

List of all values in a table for a field

$
0
0


Hello everyone, I am trying to get all possible values created in SAP for a field. The field has a menu with different drop downs which further drops down. I do not know the name for this table structure but its complex for me to get all the drop downs to the last final value which is basically the selectable value. Just like in SPRO you keep digging in until you hit the executable node. I need to get this list as there are many values and the only option after trying so many things was to copy and paste manually but the values are too many. Pls assist.

 

Thanks

Sam


Generic lookups

$
0
0

I'm new to SAP generally and RFC/BAPIs/SAP-Tables specifically and I'm also not an ABAP Developer, so I apologize in advance if I'm using the wrong terminology, however, after a good experience in this forum, it seems like people here have the right knowledge/expertise that I need to accomplish what I'm trying to achieve.

------


I'm trying to figure out a generic way to get lookup values + text for fields in SAP programatically.


I already started implementing something based on domain names which can be found under DD03L and it does work well for short list domain names.


For longer lists however, I came across couple of challenges, querying CheckTable/CheckField does allow us to get to some correct values however:


1. It seems like from the SAP Windows client we are getting shorter list of values (potentially filtered) then what I'm getting from querying the table with the right language.

2. I can't seem to find a generic way to get the text description (the label of the value). For instance Exp_Type field in BAPITRMAIN table of BAPI_TRIP_CREATE_FROM_DATA which creates a Travel Expanse, points to check-table T706B1 and check-field MANDT, which returns the values, yet in this check-table there's no text description for the values. Furthermore, I couldn't find a clue on where to look for the text neither.



Any help in understanding how to create a generic lookup mechanism that would bring filtered values and text description would be highly appreciated!



Thanks,

Itzik


Remove Decimals for a quantity field in the module pool screen

$
0
0

Hi Experts,

 

I have a quantity field of datatype KWMENG in module pool screen. While displaying the value in this field i do not want the decimals to appear.

 

For example:

Let me take the field as f_kwmeng.

Now in this field i pass the value ,

f_kwmeng = 2.

 

In the screen the value gets displayed as 2.000

But i want it to be displayed as 2.

 

I do not want to change the datatype of the field.

 

The same functionality works in the standard transaction VA03, where the quantity field displays values without decimals.

 

Please give me solution for this scenario.

 

Thanks & Regards

Pradeep.

Entry is too long message on me21n

$
0
0

Dear Abappers,

 

I have added a field Wrap Count with decimals 3 decimals 2 in EKPO table. When I enter the value on screen exit , I get an error message that ''entry is too long for the field". I have searched on SCN but no solution found. How can I fix it.?

 

Thanks

Aneel

Filtering Lookup Values

$
0
0

I've been getting fantastic support here, and was able to create a pretty generic lookup values/texts mechanism which is currently being used for Trip / Travel Expanses PR05 but should be good for many other areas, as it seems.

 

The only think I couldn't fully figure out is how to filter the values from the different CheckTables programatically, to what you would see as a user if you logon to Net Weaver.

 

Is there a generic way to do that programatically?

 

For instance, on Trip Management there's this field MOREI, which looks suspicious to be the one to filter values based on. I read in this forum that this value is the provision variant, is that the right value?

 

1. If yes, then how do I get the MOREI value for a specific employee number? (programatically from a table or RFC/BAPI).

2. If that's not the right direction, then how do I get only values which are valid for the specific Trip creation?

 

Any help is much appreciated!

 

Thanks,

Itzik

IDOC missing CRLF when send to middleware

$
0
0

Hi,

 

Could someone help me here,

 

SAP is sending an IDOC via trfc port to BPM (Middleware). IDOC file received at BPM is having one continuous string of data as a single record (Having no CRLF delimiter).

 

We need IDOC to be sent with CRLF delimited when send from SAP, could you please suggest me what settings need to be changed from SAP side for this to happen.

 

(I am an EDI Consultant having the basic knowledge of SAP and its integration.... )

 

Thanks in advance for your answers!!!

 

Regards,V

SAP-ISU BAPI for MoveIn/MoveOut

$
0
0

Hi All,

 

I have a requirement I need to create MoveIn Document through BAPI. I am using BAPI_ISUMOVEIN_CREATEFROMDATA and passing the mandatory parameters as per function module documentation but still MoveIn document is not created can anybody please do let me know the required inputs for creating the move in document or  if there is any other BAPI for creating MoveIn document please do let me know.

 

Thanks and Regards,

Nidhi Aggarwal

SAP-ABAP

Order created but not in database

$
0
0

Greetings,

 

 

Recently we upgraded to ECC EHP7 on production landscape and are noticing an issue with order creation via a custom program calling standard SAP code.

 

 

 

We have a situation where an order number is consumed. An order shows as created by the API BAPI_SALESORDER_CREATEFROMDAT2.

 

 

The order shows as locked. But the order never actually gets written to the database.

         

Problem Workflow:           

Orders are submitted via RFC from an external source to SAP. This is an

issue that occurs on rare occasions. It happened previously in EHP4 and

now appears to be happening in EHP7 as well.

 

 

Any ideas on how I can got about troubleshooting this issue?


Need Help Reg: VBAK Table Partly active

$
0
0

Hi Experts,

 

Need help for which I'm facing issue with VBAK Partly active.

 

Few months back I have added one custom Append Structure(ZXYQ) in VBAK table, recently for some change I have few more fields to the Append Structure(ZXYQ). When i'm trying to activate ZXYQ Structure it is going to Partly active. At the same time the VBAK also under Partly active.


Can you please advice how to activate VBAK and Append Structure table.


Make color of Body of mail

$
0
0

Dear Experts,

                    I am using  SO_NEW_DOCUMENT_SEND_API1 function module to send mail.My current requirement is that to color the text of mail body.

Please advice.

Selection Screen PF status in SRM portal

$
0
0

Hi,

 

I have developed a report program which is added to the SRM portal. This report has 2 screens. One is the selection screen and the other one is the output in OO ALV.

 

The requirement is, in the SRM portal both the screens show standard buttons such as Menu, transaction code, System, etc.

 

How do I disable these standard menu options in PF-Status?

 

When I tried to create the below statement with the PF Status as blank for the selection screen, I do not get any button. I am trying to get the standard execute button atleast. I know a custom button can be created but I am not sure how to proceed once the execute button is clicked.

 

At Selection screen output

Set PF-Status 'XXX'

 

Can you please let me know how do I do this.

 

Thanks,

Deepak

How to make a field Middle Align Using OLE technique?

$
0
0

Hi All,

 

Please tell me how to make a field Middle Align i.e. Align text so that it is centered between the top

and bottom of the cell.

 

Please find attached screenshot.

 

Thanks,

Teja.

Enhancement to change Breakdown Duration from Hours to Minutes in TCode IW28 and IW29 (PM Notification)

$
0
0

Hi Experts,

 

My requirement is to change Breakdown Duration from Hours to Minutes in TCode IW28 and IW29 (PM Notification).

 

As of now, when I'm executing IW28/IW29, Breakdown duration and its units are coming into Hours/H. Which is a Standard functionality.

Now I want to change them into Minutes/MIN.

 

So Im looking for Exact Place. Kindly let me know if any Exit, BADI or Implict Enhancement is avaialble.

 

IW28.gif

 

With Regards,

Sudhir.

Viewing all 8332 articles
Browse latest View live


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