sap

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 ...

Web-services granularity with SAP project ?

In a project that comes as a third-app on top of SAP to extent its functionality thru SOAP web-services, I am wondering how should be defined the web-services themselves ; should we implement dozen of web-services that achieve simple & atomic actions, or very few web-services that takes a bunch of parameters and does all the thing. I am...

Are SAP's BAPI APIs propritary, or just a wrapper for something else?

So, I've just been dumped into the middle of a project involving SAP. Specifically, I need to use SAPs BAPI APIs to pull a bunch of information out of "The Client's" SAP system. Given that SAP is a closed platform, I've been having trouble finding a high level overview of the who/what/where/when/how of SAP and BAPI. Specifically Is B...

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...

SAP DCOM Connector on Windows Server 2008

Does anybody know, if it is possible to use the "old" SAP DCOM Connector on a Windows Server 2008 ? I want to migrate a old ASP Web Solution with DCOM Connection to SAP from Windows 2000 Server to Windows 2008 Server. When I try to install the DCOM Connector I get the Error Message: "Setup could not find ActivX(R) Data Objects verion...

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...

What is MDX and what is its use in SAP BPC

Hi, I would like to know more about "MDX" (Multidimensional Expressions). What is it? What is it used for? Why would you use it? Is it better than SQL? What is its use in SAP BPS (I haven't seen BPC, just heard that MDX is in it and want to know more)? ...

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 ...

How to Hyperlink to a Business Objects Report in Infoview

Is there a way to craft a hyperlink that connects to a Crystal Report or Webi within Infoview? Ideally, unauthenticated users would be challenged with Infoview security and then redirected to the report. Thanks! ...

ERP What to read/practice?

Hi all I had been learning ERP applications this summer during internship. As I am a programmer about to graduate, I want to have a solid software branch that would get me through till I am sure about what to do next(till I have a nice view of the big picture). Till now, I have just learned what I was asked. That's not a good way to spe...

SAP BW local installation

We use SAP BW at work via the server for query analysis. I want to get it installed locally at home to play around with it. Is there a demo version or somewhere I can obtain it? ...

field Id's in SAP Netweaver webdynpro components

Is there a way to extract the field id's of SAP's webdynpro components ? I need them to set up a stable automatic testing environment. ...

What is ABAP and SAP?

What is SAP and ABAP. I searched and got bunch of different acronyms that don't quite make sense. Is SAP a database engine, and is ABAP a programming language, or nothing of that nature? What are they primarily used for? ...

Open the SAP thick client screen from Java program

Having any thick client like SAP Logon installed, users can connect to required SAP server and access data through transactions. What I am trying to do? - To invoke the SAP thick client installed in the users machine and redirect the user directly to required transaction from the service (in turn Java code) What is posisble? - It is po...

Parsing XML within SAP ABAP

My company is working on a project that needs to read XML files within SAP ABAP. When the XML file has no data for a particular tag it omits that data. Some tags are self closing. e.g. <tag /> The SAP developer says that to read the XML document he first parses the document into an ABAP XML structure. This process fails on point 2. H...