abap

How to design an UML class diagramm with non object oriented parts?

Hi, i´m coding in ABAP and implemented a template method pattern. I like to draw some UML class diagramm for this. To do this in UML for the classes is no problem. But my class is implemented in a function modul (SAP specific terms), its like an stand alone method which i use to make the implementation available to an Remote Procedure C...

sap, abap , java, .net

Hi I have two years of dotnet development experience . I am trying to move into SAP. Whats the best to opt for in Netweaver i.e Java or ABAP or there are any opportunities for this on dotnet platform. Which should be most promising for future. Googling I came to know Java is giving a backseat to ABAP. Do comment. Regards SJ ...

Integrating Code Inspector with Continious Integration Tools

Hi everybody, outside the ABAP-world there is a large number of tools available, both commercial and open source, that support the continuous integration within software projects. One part of theses tools it to execute any available unit test after each commit to the source code. The code inspector (SCI) within SE80 basically can do som...

Newbie ABAP Question

I am new to ABAP coding and I am confused as to why the commented out query doesn't work. REPORT z_hello_world_local. TYPES: BEGIN OF bkpf_type, xblnr TYPE bkpf-xblnr, END OF bkpf_type. DATA: t_bkpf TYPE TABLE OF bkpf_type. FIELD-SYMBOLS: <bkpf> TYPE bkpf_type. *This query does...

Set Categories on DateNavigator

Hi. My friend seems to be having some trouble with ABAP. Here's a copy of his question - posted on the SAP community forums. Hey Everyone, I am trying to mark the DateNavigator with two categories. I made a context called Marking, with attributes Date, Category and Tooltip. Node: Marking Date: Category: Tooltip: I filled category ...

Online reference for learning SAP-ABAP

Pretty simple question, Does anyone know of any teach yourself ABAP online resources? Google wasn't too helpful... I'm pretty much well versed with SAP, and can manage C++. ...

ABAP Unit Test Classes - Good References

I'm looking for good reference material regarding the use of ABAP Unit Test Classes. I'm interested in any of the following: Documentation on the functionality Best Practises "How To Guides" Blogs/Books on people's experience in using test-driven development in a SAP environment, particularly what sort of scenarios leans themselves to...

Can SAP work with Python?

Let's focus on using SAP as the database engine and just doing different queries. Can I do it in Python? ...

How to learn ”the way of ABAP"?

I never worked with SAP. I have a reasonable understanding of business, but no accounting background. How to learn ABAP on examples that will simultaneously enlighten me with the "way of SAP"? It doesn't have to be a deep knowledge, just something to start for somebody who was in the world of Python and C# but needs understand how SAP w...

Transition to OO ABAP?

It appears that most of our SAP programmers are using the old version of ABAP, the one before object-oriented stuff. I also noticed that the language is much cleaner and more modern with OO (they apparently took the opportunity to get rid of deprecated things). As the system is not rolled out yet, the time to make any redesign is now r...

Does a mixed .net/sap system make sense?

This might be a bit vague question, but real life is like this. Our company is rolling out SAP system. I know they now do Web Services so we could simultaneously roll out the .NET thing for anything we know we can do in C#. What are the pitfalls along the way of SAP - .NET integration? I understand that SAP's logic is quite different ...

ABAP Short Dump on append of a sorted table

Why does my ABAP program short dump when I append a line to a sorted table? ST22 Shows ITAB_ILLEGAL_SORT_ORDER data: sorted_tab type sorted table of ty_tab with non-unique key key, line type ty_tab. line-key = 1. append line to sorted_tab. "works fine" line-key = 2. append line to sorted_tab. "works fine" line-key ...

ABAP how to write a date as a long text?

I need to split ABAP date like 20091101 --> "01", "november", "2009" The "01" and "2009" are trivial, but how do I get the month name (which should be localized)? Is there a function to do that? If there is no such function, perhaps a table with month names? ...

How to set file owner to Logged in user in SAP ABAP?

When creating a file using OPEN DATASET, SAP creates the File with the owner as < SYSID >ADM. How to set this as the logged in user? Thanks ...

Sap(Fetching Data from Tranparent tables)

There is a new bapi developed in our sap environment which is fetching data from pool tables and transparent tables. When this bapi is called from non sap environment then only pool tables are returning data .Transparent tables are returning blank values. Case When we are passing hard coded values in "Where Clause" of transparent tabl...

What does the percent sign indicate in abap function parameter?

I have encounters this abap snippet that I have difficulty to comprehend. call function 'com_invoke' destination pv_wrkdest exporting %instid = pv_instance %method = 'FieldCountGet' importing %return = lc_return fieldcount = pv_fieldcount exceptions communi...

What causes MOVE_CAST_ERROR when down-casting a reference object in ABAP?

I'm creating a class that inherits from a parent class with protected instantiation. The super class has a static method that provides an instance of the class. The following code causes a run-time error MOVE_CAST_ERROR: data: o_child type ref to zchild. o_child ?= zparent=>provide_instance( ). I have also tried: data: o_parent typ...

How can I add a text column to a table?

i want to add a text column to the MMBE table, it could be the lot size text field: KZTXT or any other (that is the one they are using right now, but do not want to click on it to see it, instead just see it in the front page). it will just add comments when the material has quanitites in quality inspection thx ...

How To Serialize SAP Business Objects?

First I have to clarify that I'm not referring to the company Business Objects recently acquired by SAP. Instead I'm referring to business objects as defined in the SAP Business Object Repository (BOR), e.g. SalesOrder (BUS2032). So what would be the preferred approach to serialize such a business object in the SAP system so that a thir...

Sap Data for report

I want to make an excel graphic with 3 values: Sales Order Date (The date sales enters the sales order) Requirement Date (The date the customer wants this order) Closed Sales Order Date (When sales closes the order) This will be used to measure the service of our plant against completed delivered sales orders monthly. I already found ...