abap

How to fill a webdynpro table binded to a BAPI initially?

Hello SAP-Gurus, im fairly new to webdynpro abap and have the following problem: I created a service returning a set of all existing customers. This function works well, if i test it in a litte program simply printing out the lines. now i created a webdynpro containing a table to display these customers. I also did the binding! AND it ...

How to get the selected entry in WebDynpro ABAP table?

Hallo, i have a webdynpro containing a table displaying numerous lines. after the user clicks the delete button i want to delete the selected line of the table. my problem right now is, that i don't know how to implement this in the event-call. How can i identify the selected line of the table? Best regards Philipp ...

RFC for remote call transaction in SAP

How do I call the SAP report (for example RSPARAM) with help JCo? What RFC may be used to remotely call SA38 transaction with RSPARAM (e.t.c.) as parameter and then return results for later work ? ...

How do I know whether an application support OLE2 and which methods & attributes are exposed?

I want to call an ActiveX DLL or OLE2 object from ABAP. I already know the syntax of how to instantiate the object & execute the methods: data: my_object type ole2_object. create object my_object <ole2object>. call method of my_object <objectmethod>. But given a particular application, how do I know if this is supported, what the...

Fields in USR02 table in SAP

Prompt please what the difference between fields PWDCHGDATE and BCDA1; PWDLGNDATE and TRDAT table USR02 ? ...

ABAP - increment an integer

Hi there, sometimes ABAP drives me crazy with really simple tasks - as incrementing an integer within a loop... Here's my try: METHOD test. DATA: lv_id TYPE integer. lv_id = 1. LOOP AT x ASSIGNING <y>. lv_id = lv_id+1. ENDLOOP. ENDMETHOD. This gives me a strange error I can hardly translate to english...

source code of a transaction in SAP

How can you look at the source code of a transaction in SAP? ...

Update GTS Part Classification in background

I'm looking for a way to update Part Classification data programmatically. This is the data on the Classification tab of transaction /sapsll/product_03. Classification data is stored in table /SAPSLL/PRCTSC. I found function module /SAPSLL/PRCTSC_DB_WRITE but it basically just does a direct table update. I'd like to take advantage of...

USOBT & USOBT_C

What different USOBT from USOBT_C in SAP? ...

ABAP native SQL cursor

Hi there, I'm trying to write some native SQL in abap but got some problems. Here's my code: method GET_SOMEDATA. DATA: lt_table TYPE TABLE OF /BI0/TCUSTOMER, c1 TYPE /BI0/TCUSTOMER. DATA: BEGIN OF wa, customer TYPE /BI0/OICUSTOMER, txtsh TYPE RSTXTSH, txtmd TYP...

2-level column headings in ALV list

I want to add a header row grouping the column headers. Departure Arrival <-- This row is what I want to add Airport Gate Date Airport Gate Date -------- ----- ----- -------- ----- ------- O'Hare A10 10Mar Atlanta G19 10Mar DFW K98 11Mar Denver Z...

lock users in SAP

How to completely disable the lock users in SAP? What setting controls this (login / failed_user_auto_unlock)? ...

ABAP: How to combine select max and count?

Hello, I've got this: select ordernr from users having count(ordernr) = ( select max(count(ordernr)) from users where ordernr = ordernr group by ordernr ) group by ordernr to get the most used order-number (ordernr) from all users. How to get it into ABAP SAP System? I've tried this: select SINGLE ordernr from ZDEVXXX...

ABAP HRIQ_UPDATE_INFTY not update hrp1001

HRIQ_UPDATE_INFTY returns sy-subrc=0. But it actually doesn't make any changes to it. Part source code: lt_single_1001 TYPE STANDARD TABLE OF p1001 WITH HEADER LINE, lt_1001 TYPE STANDARD TABLE OF hrp1001 WITH HEADER LINE, SELECT * FROM hrp1001 INTO TABLE lt_1001 WHERE objid = -cs_objid AND sobid = lv_major_i...

Unit testing and SAP

I am looking for some tutorials and guides for unit testing on SAP platform. So far, I have found some mention of ABAP Unit and of Ruby programming language being implemented on SAP platform, making it much more interesting option for unit testing SAP. However, the information is quite scarce and I would appreciate some help on the subj...

How can I expose employee master data from SAP HR/HCM

Hi, I'm shortly to start on an integration project that will require organisational data (line reporting etc) and starter/leaver events etc. We utilise SAP HCM, but I have no experience of SAP (BizTalk/.NET developer), and I'm still attempting to find the right people to talk to in our organisation about how to interface with SAP. Sadl...

SAP vs webapplication development

i am a fresher just out of collge .Till now i have worked on java,Python,javascript,groovy,django and web application develop has been my only intrest. But for a living i joined a company now and they are making me work on sap. Coming from a world of ORM and languages like python ,SAP and database tables doen't excite me on the first lo...

abap file handling.

Guys i am new to abap and my knowledge is only limited to report creation .I was wondering whether stuff like creation of a file etc can be done in abap?? ...

Source code transaction SNOTE

As can see the source code transaction SNOTE ? Use transaction SE38 can not because the "program" field (System -> Status -> Program name) is empty. ...

SAP learning environment

i am trying to learn ABAP,for the last few days i have been working on the SAP setup offered by the organisation i work for . I wanted to practice at home too .Is it possible to obtain a free/learning edition of the software for the learning purpose? ...