Generate IDOC containing all data for a Businness Object
Hi,
I want to be able to generate an IDoc that contains all data for a Business Object type.
Is there a standard Function Module available for this? Or do I need to write one myself?
I would like to call this Function Module from an external application using RFC
Thanks!
Simon
Hi Rob,
Let me explain what I am trying to achieve.
Lets say we have a SAP system containing e.g. a number of Employees (i.e. a number of instances of the Employee type). Now, I want to connect to the SAP system (probably through a RFC connection) from an external application (a C program) and retrieve all the data (keys and attributes) for these instances.
It would be comparable to a:
'select * from table employee'
in database terminology.
I then want to move the data through my C appl. and store it elsewhere.
I am very new to SAP, so maybe I use the wrong words to describe the problem.....
Best regards,
Simon
Similar Messages
-
Idoc message type which contains all data types
Hi,
I need idoc type or name which consist of all data type sap has defined. There are nearly 24 data types.
Pls help..
Regards,
Tajhi,
you will not have any message types which contain all data types.
message types will be defined based on specific data.
for example :
MATMAS - Material master
DEBMAS - Customer master data distribution -
Getting all data for ESS Pers, Address, Bank & Family screen from SAP 4.7
Hi,
I need suggestions on a weird situation that we have in one of the ESS/MSS project.
Following are the systems that client has: -
1. Enterprise Portal 7.0
2. SAP ECC 6.0 -
> (all JCOs in ESS/MSS DCs point to this system.. so in short this system is mapped to Portal)
3. SAP 4.7 -
> (they are maintaining all data for Pers, Address, Bank & Family here)
4. Infotype data for some infotypes (such as 0105) are synched between these two SAP systems.
Now, there are some standard + Z fields added in infotypes in SAP4.7 system.
To display Z- fields on Portal, here is what is already done: -
- Z - RFC is written in SAP ECC6.0 that calls SAP 4.7 to get the data.
- Standard ESS WD DCs (pers, addr, fam & bank) are edited to call above RFC to display Z - fields.
Now, Client wants : -
- to display all data from SAP4.7 system on portal (standard as well as Z fields).
- use ECC6.0 system as a middle box between EP & SAP4.7.. There will be RFCs written in SAP ECC6.0 system that will call FMs in SAP 4.7 and return the data
Now, I don't understand how do I change standard WD DCs that has some standard ARFC models (HRXSS_PER*) written in them.
Any ideas on how to proceed on these objectives?
Please help.
Thanks & Regards,
AmeyHi Siddarth,
Thanks for reply.
So I have following alternatives ? : -
Option-1 : Sync data between ECC6.0 and SAP4.7 for these Infotypes at regular intervals.
(No changes @ ABAP & WD code)
Option-2 : Enhance standard RFCs (such as HRXSS_PER_READ_P0006_FR) in ECC6.0 system to get data from SAP4.7.
(Changes @ ABAP side only)
Option-3 : Create custom RFCs in ECC6.0 and import them at WD side and set data in 'SelectedInfotype' node?
Then what do we do about standard RFC calls that are already present in these DCs?
I am a bit skeptical about this approach.
(lot of work in both ABAP & WD side)
Can you please comment? -
How should i get the delta data for those new object's previous delta data?
Hallo all,
i have 2lis_11_vahdr and i am using a standard and loading delta! now i have appended some new fields in the datasource then in infosource then in ods and infocube..! now how should i get the delta data for those new object's previous delta data???
JimmyHi,
After appending new fields in the datasoure.It is not possible to delta load, u should have to load everything
Thanks,
Shreya -
ALE/IDOC:The group data for the material CS94163AOOO is locked by ECPUSER
Dear All,
I have extended the idoc for MATMAS and getting -The group data for the material CS94163AOOO is locked by ECPUSER
error on receving ( production ) server.I have written BDC in Z-function module to upload the data for extended segments after calling IDOC_INPUT_MATMAS01 function module.
When the same scenario executed in development server the material is not getting locked and idoc is posted successfully.
Please guide to resolve the error.
Thanks,
Sanjay Deshpande.
Edited by: sanjay_123 on Nov 1, 2009 4:41 PMHello,
Can you pls try to use ENQUEUE_E_TABLE or FM specific to lock/unlock MARA table during Idoc creation.
and put some WAIT statement before creation.
CALL FUNCTION 'ENQUEUE_EMMARAS'
EXPORTING
MODE_MARA = 'S'
MANDT = SY-MANDT
MATNR = 'CS94163AOOO'
X_MATNR = ' '
_SCOPE = '2'
*_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Then write code for creation of MARA
Unlcok now like this
CALL FUNCTION 'DEQUEUE_EMMARAS'
EXPORTING
MODE_MARA = 'S'
MANDT = SY-MANDT
MATNR = 'CS94163AOOO'
X_MATNR = ' '
_SCOPE = '3'
_SYNCHRON = ' '
_COLLECT = ' '
~Pramod
Edited by: PKUPADHYAY on Nov 1, 2009 5:40 PM -
How to use BAPI_OBJCL* to set classification data for Techn. Objects - PM ?
Good afternoon !
I´m working in a project to integrate some legacy system with the ECC 6.0, and I need to do some activities like, create functional locations and equipments in SAP PM, I have done this creating Z RFC modules that call bapis like BAPI_FUNCLOC_CREATE and BAPI_EQUI_CREATE, but these BAPIs doesn´t fill classification data, so, in a first moment, I solved this using BDC, but I would like to solve these needs using standard BAPIs if possible.
To solve the classification, I tried to do it using the BAPI_OBJCL* BAPIs(BAPI_OBJCL_GET_KEY_OF_OBJECT, BAPI_OBJCL_CREATE_KEY), but I didn´t find any example of using these bapis with technical objects, so I tried to test the BAPI_OBJCL_GET_KEY_OF_OBJECT in a first moment and, when I call it passing '003' as classtype(003 is the classtype for the functional locations), this bapi returns me "Class type 003 requires additional objects"(the same occurs if I try it with 002, for equipment). What means this message ? Need I to do some customization in img/spro, or cannot these bapis be used with PM technical objects ?
Thank you for your attention,
WilsonHi all !
I have found the solution for this problem, I found that I was trying to use the wrong functions for my case, so, to solve my needs here, I will use BAPI_OBJCL_CREATE to set the classification data for Functional Locations and Equipments, and I can use BAPI_OBJCL_GETCLASSES to list all classes assigned for a Technical Object, and BAPI_OBJCL_GETDETAIL to get all characteristics assigned to a Technical Object for a specific class.
Thank you all for your attention !
Wilson -
Idoc message type which contains all data types & date format
Hello experts,
I have Two questions :
1.Need Idoc message type which has all sap data types (24 types).
2. I am getting output date in 31-05-1999, whereas am expecting 5/31/1999.
is there anything to be done at system level, since same Func Mod gives expected output in 4.7 verions, whereas in ecc 6.0 version it doesnt.
Thnx in advanceHi Taj,
The date format usually depends upon the user settings in SAP. for this check your user settings... Go to menubar - > System - > user profile -> own data ->defaults tab -> change the date format in which you want.
Or else.......
There is a conversion exit to change the date in the format you wish to get.... use the Function Module FORMAT_DATE_4_OUTPUT and give the date and the format in which you want to print as input parameters.
Hope this helps.
Regards,
Ravikiran. -
Icalender lost all data for last six months!
Not sure if this is linked to Davmail gateway which synchronizes my Ipad, Iphone and office or from any recent uploads onto the Ipad or Mac, but all my calendar entries have vanished except for Nov and Dec. All calenders are highlighted on the PC and Ipad etc. I have backed up on a hard disk but cannot see how to find these entries anywhere. Has anyone else had this experience? More important, anyway I can get this valuable data back as it has gone from all sources?
Have you heard of using a backup. I believe NVBackup will work with the E2 and it is free. This will put a complete clone of the E2 operating system files and everything on a memory card. So if this problem happens again you will have a easy way to recover all your info. NVBackup
-
How to decide component size to contain all data?
Hi, all
My application has some jtable and jtextarea which always contained in jscrollpane, not because what I need but because I don't have a idea to determine size for my component.
Let's say my jtable has 30 rows, I know how to control width for columns. But how can I determine the height for jtable precisely? Should I allocate 15 pixel for a row, or maybe 20? How can I use a height for all platforms including windows,linux?
It bothers me for a while, same stuff happened while I dealing with jtextarea. Do we have a guide line for this?
Thanks,
Vincent ChenThat's why you put it in a scrollpane.
Are you talking about setting the height or are you talking about knowing the height? Cuz setting it is typically non-sensical, since the # of rows tends to vary in a typical table. OF course, if you know it's X rows, you can get or set the row height in the table and just multiply by row count. -
TABLE_ENTRIES_GET_VIA_RFC doesn't return all data for table VBRP
Hi guys,
I'm trying to import data from table VBRP using fm TABLE_ENTRIES_GET_VIA_RFC in Microsoft access.
However it only seem to import first few fields of table and then nothing !
Am I missing something. It works fine for other tables, i tries EKPO and it works a treat. ???!!
Many thanks
SA
PS: Points will be awarded.According to note 881127:
Reason and Prerequisites
The function module is only intended for internal use in the ALE area, and only for reading numerical tables.
Solution
Use another or a customer-specific function module.
Rob -
Generate html output like odwa for multiple repository objects
Hello,
In odwa it's possible to navigate to an entity and view the properties of it.
We would like to produce / generate html files with the properties of >100 entities, >100 business functions etc etc. So we can burn this on cd and give it to someone who doesn't have repository acces. An end user for example.
Does anyone have any ideas?
JosJos,
I am very sorry but unfortunately the functionality you are looking for (that used to exist in ODWA 6.0) is not available in the 6i release.
We have considered (and to some extent are still considering) to make this 'static reports' option available again, but it is not there right now.
You may want to send an email to the team that produced ODWA (the iDevelopment Center of Excellence, [email protected]) to try to persuade them
to provide that functionality after all.
I do know for a fact that manually changing the code to make this work is not simple; better to have them (us) do it for you than attempt yourself.
best regards,
Lucas Jellema -
Bex query-KEY date for time dependent objects
Hi
I have one infoobject called 0customer that has one time dependent attribute .called status. I would know how the system works in the following senario for the a given key date(which in bex properties).
question 1)
customer todate fromdate status
1 20071231 20070101 Y
1 20081231 20080101 N
1 20091231 20081101 X
can the data in the infoobject be overlapped? is the 3 rd record is valid in the above example - as months(11&12of2008) overlapping with second record? ? pls advise
question 2)
customer todate fromdate status
1 20071231 20070101 Y
1 20081231 20080101 N
1 20091231 20090101 X
If the keydate is 20080201 which record will it return?would it return the record that has status 'N'?
what does the keydate is compared against? is it with from date or todate or between fromdate and todate? does the query return only one customer record for a given customer when it runs in the query?
Please advise.
Thanks
Vennela1) Normally you cannot activate the data with this constellation. If you have inconsistent master data you can repair with transaction RSRV.
2) The system returns N for key data 20080201.
Best regards
Dirk
Edited by: Dirk Herzog on Nov 19, 2008 1:16 PM -
Reading the master data for an info object
hi experts,
I have a requirement, can i use the read master data option in transformations of a cube and store the text data related to material ??
thanks and regards
vijay
Edited by: pedamarla on Apr 17, 2009 12:25 PMHello Vijay,
As suggested above, you wont be able to read master data text of an InfoObject in your transformation, if you need to achive this, in the transformation routine, for the InfoObject, where you need to feed the material text, you would need to read the text table of InfoObject 0MATERIAL.
Please let me know if you need any more information.
Regards,
Pankaj -
How to get master data for 0Customer Info object.
Hey Frieds,
I have infoobject 0customer and 0Comp code , I want to get the 'address' field of it .
I checked in master data and found that address field is not populated ,so is there any standard data source to get it , or any other way to get it.
Please respond
ThanksHi Anurag,
you will get the address in the 0customer_attr datasrc.
You can populate address as an attribute of 0customer object from here.
hope it helps... -
How to generate 3 payment due dates& 3 posting against single invoice?
Hello Experts,
Kindly provides some inputs on below requirement.
For example :- In the Utility Bill,
Consumption months: June, July, August
Meter Reading taken in August
Billing Months: September, October, November
Bill generated in August
Consumer receives the bill on September month
Payment Due dates: 12 Sep 2009, 12 Oct 2009 and 12 Nov 2009
Issues-:
1.How to generate three posting against single invoice?
2.How to generate three payment due dates for above postings in three consecutive months since payment due date logic is incremental in nature here, e.g.
1st due date = posting date + 15 days
2nd due date = 1st due date + 30 days
3rd due date = 2nd due date + 30 days
Requirement description:-
The utility generates bill quarterly for domestic consumers. For such consumers, the utility takes reading from the consumers premises after end of consumption period (quarterly ) and generates bill on the 1st billing month (here 1st billing month is September).
In the bill the utility divides total consumption into three parts (considering each part for each consumption month) and calculates all charge heads separately on each part. It however, consolidates and generates a single bill having three rows, each row showing charge heads of each consumption month and also net and gross amount to be given for each consumption month.
Moreover, three postings have to be generated in FICA against that single bill. Also, it provides three due dates to the consumer, each date falling in each billing month, to pay the above three net amounts respectively. Dunning and other activities should be triggered if the consumer fails to pay the stipulated amount by corresponding due date.
Looking forward for valuable suggestions
Thanks in advance
Regards,
Vaseem
Moderator note - question reposted - OP notified of violation Issue on quarterly bill
Edited by: William Eastman on Jun 3, 2010 3:25 PM
Edited by: William Eastman on Jun 3, 2010 5:01 PMHello Experts,
Kindly provides some inputs on below requirement.
For example :- In the Utility Bill,
Consumption months: June, July, August
Meter Reading taken in August
Billing Months: September, October, November
Bill generated in August
Consumer receives the bill on September month
Payment Due dates: 12 Sep 2009, 12 Oct 2009 and 12 Nov 2009
Issues-:
1.How to generate three posting against single invoice?
2.How to generate three payment due dates for above postings in three consecutive months since payment due date logic is incremental in nature here, e.g.
1st due date = posting date + 15 days
2nd due date = 1st due date + 30 days
3rd due date = 2nd due date + 30 days
Requirement description:-
The utility generates bill quarterly for domestic consumers. For such consumers, the utility takes reading from the consumers premises after end of consumption period (quarterly ) and generates bill on the 1st billing month (here 1st billing month is September).
In the bill the utility divides total consumption into three parts (considering each part for each consumption month) and calculates all charge heads separately on each part. It however, consolidates and generates a single bill having three rows, each row showing charge heads of each consumption month and also net and gross amount to be given for each consumption month.
Moreover, three postings have to be generated in FICA against that single bill. Also, it provides three due dates to the consumer, each date falling in each billing month, to pay the above three net amounts respectively. Dunning and other activities should be triggered if the consumer fails to pay the stipulated amount by corresponding due date.
Looking forward for valuable suggestions
Thanks in advance
Regards,
Vaseem
Moderator note - question reposted - OP notified of violation Issue on quarterly bill
Edited by: William Eastman on Jun 3, 2010 3:25 PM
Edited by: William Eastman on Jun 3, 2010 5:01 PM
Maybe you are looking for
-
Operation can't be completed because an item of same name already exist
Hi, my first post. I've search the net for similar problems but nothing exact. I have a Maxtor OneTouch 4 (1TB)that just returned cos I got it exchanged. While it was being exchanged, I used a Maxtor OneTouch (640GB). I had transferred everything fro
-
Can I change my apps from one Developer account to another?
I am 15 years old, so I can't have an developer accont, for now, I'll use my father's to post my own apps, but my question is, when I turn 18, I'll be avaliable to change the apps that I posted on my father's account with his name to my new account w
-
Sales Summary - Compare same weekday sales last year.
Post Author: geoffh CA Forum: Formula I have a table storing invoices going back several years. I wish to calculate the total sales for yesterdays date, & compare it with total sales for the same weekday in the previous year. For example if it is Tue
-
I need help!!
-
Portal Password Reset Application In webdynpro for ABAP
Hello Friends, I am new to WDA . I want to create a Password Reset application in WDA like this [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0c09b9d-52e0-2d10-3981-86bfa8e19dc3?quicklink=index&overridelayout=true] Can someone