Doubt on compunding object
Hi All,
i have a account(ZACCT) infoobject which is a compounding infoobject of account status (ZACCSTA). i have both these objects in my ods. i have a custom table built which is the datasource for this ods. i have a field in the table which fills the account status (ZACCSTA) object but do not have one for filling ZACCT. I learnt that ZACCT will get filled when i load the master data for ZACCSTA. I am not
sure how it works, can anyone throw light or give examples on how compounding infoobjects get filled.
Hi,
During master data load the first field(s) must be compounding attribute(s), then a key field of IO.
In your case the fields are:
ZACCT, then ZACCSTA.
Though, for me it would be more logical to have ZACCSTA as a comp attribute of ZACCT, not vise versa as in your case.
Best regards,
Eugene
Similar Messages
-
Hi I have a small doubt in business objects, in the program i need to define a table
would this work
DATA: idoc_data like edidd OCCURS 0 with HEADER LINE.
would ne other definitions need or would this work properly as a normal table.Hi
Yes you can use it
DATA: idoc_data like edidd OCCURS 0 with HEADER LINE
check this sample
data method1 like sy-ucomm.
data g_user like soudnamei1.
data g_user_data like soudatai1.
data g_owner like soud-usrnam.
data g_receipients like soos1 occurs 0 with header line.
data g_document like sood4 .
data g_header like sood2.
data g_folmam like sofm2.
data g_objcnt like soli occurs 0 with header line.
data g_objhead like soli occurs 0 with header line.
data g_objpara like selc occurs 0 with header line.
data g_objparb like soop1 occurs 0 with header line.
data g_attachments like sood5 occurs 0 with header line.
data g_references like soxrl occurs 0 with header line.
Reward all helpfull answers
Regards
Pavan -
in abap objects v have a class cl_gui_alv_grid ,but can v use this class only when we are using a container,i mean in normal abap alv report we cannot use this class???
in normal alv report v use cl_salv_table ...
can any1 pls provide me some information on thisHi,
This is the sample report for checkbox oops alv report.
REPORT YMS_CHECKBOXOOPSALV NO STANDARD PAGE HEADING.
TYPE-POOLS: slis.
DATA: BEGIN OF i_data OCCURS 0,
qmnum LIKE qmel-qmnum,
qmart LIKE qmel-qmart,
qmtxt LIKE qmel-qmtxt,
ws_row TYPE i,
ws_char(5) TYPE c,
chk,
END OF i_data.
DATA: report_id LIKE sy-repid.
DATA: ws_title TYPE lvc_title VALUE 'An ALV Report'.
DATA: i_layout TYPE slis_layout_alv.
DATA: i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: i_events TYPE slis_t_event.
DATA: i_header TYPE slis_t_listheader.
DATA: i_extab TYPE slis_t_extab.
SELECT qmnum
qmart
qmtxt
INTO TABLE i_data
FROM qmel
WHERE qmnum <= '00030000010'.
LOOP AT i_data.
i_data-ws_row = sy-tabix.
i_data-ws_char = 'AAAAA'.
MODIFY i_data.
ENDLOOP.
report_id = sy-repid.
PERFORM f1000_layout_init CHANGING i_layout.
PERFORM f2000_fieldcat_init CHANGING i_fieldcat.
PERFORM f3000_build_header CHANGING i_header.
PERFORM f4000_events_init CHANGING i_events.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
i_callback_program = report_id
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
i_structure_name = ' '
I_BACKGROUND_ID = ' '
i_grid_title = ws_title
I_GRID_SETTINGS =
is_layout = i_layout
it_fieldcat = i_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
i_save = 'A'
IS_VARIANT =
it_events = i_events
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_ADD_FIELDCAT =
IT_HYPERLINK =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = i_data
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*& Form F1000_Layout_Init
FORM f1000_layout_init USING i_layout TYPE slis_layout_alv.
CLEAR i_layout.
i_layout-colwidth_optimize = 'X'.
i_layout-edit = 'X'.
ENDFORM. " F1000_Layout_Init
*& Form f2000_fieldcat_init
FORM f2000_fieldcat_init CHANGING i_fieldcat TYPE slis_t_fieldcat_alv.
DATA: line_fieldcat TYPE slis_fieldcat_alv.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'QMNUM'. " The field name and the table
line_fieldcat-tabname = 'I_DATA'. " name are the two minimum req.
line_fieldcat-key = 'X'. " Specifies the column as a key (Blue)
line_fieldcat-seltext_m = 'Notification No.'. " Column Header
APPEND line_fieldcat TO i_fieldcat.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'QMART'.
line_fieldcat-ref_tabname = 'I_DATA'.
line_fieldcat-hotspot = 'X'. " Shows the field as a hotspot.
line_fieldcat-seltext_m = 'Notif Type'.
APPEND line_fieldcat TO i_fieldcat.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'QMTXT'.
line_fieldcat-tabname = 'I_DATA'.
line_fieldcat-seltext_m = 'Description'.
APPEND line_fieldcat TO i_fieldcat.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'WS_ROW'.
line_fieldcat-tabname = 'I_DATA'.
line_fieldcat-seltext_m = 'Row Number'.
APPEND line_fieldcat TO i_fieldcat.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'WS_CHAR'.
line_fieldcat-tabname = 'I_DATA'.
line_fieldcat-seltext_l = 'Test Character Field'.
line_fieldcat-datatype = 'CHAR'.
line_fieldcat-outputlen = '15'. " You can specify the width of a
APPEND line_fieldcat TO i_fieldcat. " column.
CLEAR line_fieldcat.
line_fieldcat-fieldname = 'CHK'.
line_fieldcat-tabname = 'I_DATA'.
line_fieldcat-seltext_l = 'Checkbox'.
line_fieldcat-checkbox = 'X'. " Display this field as a checkbox
line_fieldcat-edit = 'X'. " This option ensures that you can
" edit the checkbox. Else it will
" be protected.
APPEND line_fieldcat TO i_fieldcat.
ENDFORM. " f2000_fieldcat_init
*& Form f3000_build_header
FORM f3000_build_header USING i_header TYPE slis_t_listheader.
DATA: gs_line TYPE slis_listheader.
CLEAR gs_line.
gs_line-typ = 'H'.
gs_line-info = 'This is line of type HEADER'.
APPEND gs_line TO i_header.
CLEAR gs_line.
gs_line-typ = 'S'.
gs_line-key = 'STATUS 1'.
gs_line-info = 'This is line of type STATUS'.
APPEND gs_line TO i_header.
gs_line-key = 'STATUS 2'.
gs_line-info = 'This is also line of type STATUS'.
APPEND gs_line TO i_header.
CLEAR gs_line.
gs_line-typ = 'A'.
gs_line-info = 'This is line of type ACTION'.
APPEND gs_line TO i_header.
ENDFORM. " f3000_build_header
*& Form f4000_events_init
FORM f4000_events_init CHANGING i_events TYPE slis_t_event.
DATA: line_event TYPE slis_alv_event.
CLEAR line_event.
line_event-name = 'TOP_OF_PAGE'.
line_event-form = 'F4100_TOP_OF_PAGE'.
APPEND line_event TO i_events.
CLEAR line_event.
line_event-name = 'PF_STATUS_SET'.
line_event-form = 'F4200_PF_STATUS_SET'.
APPEND line_event TO i_events.
ENDFORM. " f3000_events_init
FORM F4100_TOP_OF_PAGE *
FORM f4100_top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_header.
ENDFORM.
FORM F4200_PF_STATUS_SET *
FORM f4200_pf_status_set USING i_extab TYPE slis_t_extab.
REFRESH i_extab.
PERFORM f4210_exclude_fcodes CHANGING i_extab.
SET PF-STATUS 'STANDARD' OF PROGRAM 'SAPLSALV' EXCLUDING i_extab.
ENDFORM.
*& Form f4210_exclude_fcodes
FORM f4210_exclude_fcodes USING i_extab TYPE slis_t_extab.
DATA: ws_fcode TYPE slis_extab.
CLEAR ws_fcode.
ws_fcode = '&EB9'. " Call up Report.
APPEND ws_fcode TO i_extab.
ws_fcode = '&ABC'. " ABC Analysis.
APPEND ws_fcode TO i_extab.
ws_fcode = '&NFO'. " Info Select.
APPEND ws_fcode TO i_extab.
ws_fcode = '&LFO'. " Information.
APPEND ws_fcode TO i_extab.
ENDFORM. " f4210_exclude_fcodes
Thanks,
Sankar M -
File Complexity/Size Maintenance; Paths vs Compund Objects
I have found myself using different methods to make designs, but I was wondering what was the best practice for archiving FINISHED products.
In terms of anchor and path complexity: would it be best to save files as paths with width controls, or should I be outlining strokes and flattening as compound objects?
If it turns out that the results would vary with every project, then I can accept saving two versions and deleting whichever happens to be the bigger file.Well now, no need to drag my beliefs into this, but if you must know...
My understanding is that progress should be reduced to it's simplest form at regular intervals. The extraction of modular devices (commonly used symbols, purposefully arranged actions, etc.) from previous projects is what drives "development". I have no intention of destroying my work. Just making sure that snapshots exist in case my memory/workspace fails me.
That said, let's pretend I have a client with a portable device of limited capabilities, and I have to keep the poor things CPU from lagging by giving it less instructions when redrawing the vector graphics. Then let's throw in a time limit that only gives time for a few adjustments:
How will I ever prepare this file? -
Doubt regarding Authorization Object
Hi All,
I am not able to creat a Buiseness Agreement in CRM. Following is the error message which is getting displayed:
The auothirzation check for object CRM_ORD_PR has sent back the return code 12. The activity carried out was to create.
I checked my role and this authorization object is present with * (All) access.
Please le me know how to correct this error.
Thanks,
RiteshHi,
See the output in Su53 transacton once you get this error.
Regards,
Nirmal.K -
Doubts while transporting objects into QA
Hi,
I has completed the Development and need to transport it to Quality.
Here i has written 4 UDFs based on the conditions on Mapping.
Could you please let me know while transporting the objects from DEV to QA ...shall i need to take extra care on UDFs.
Pls let me know the process if i really need to transport UDF's also into QA system.
Thanks & Regards,
Y.Raj.Hi,
In addition to the functional implementation like mapping hard-coded values specfic to landscape, you must take an extra care on the following scenarios
1. If you are implementing any RFC look up - connection parameters may change
2. If you use value mapping - value group names may change
3. Enhanced receiver determination - receiver business system names may change
No extra care is needed if its a simple code that maps fields without expecting any runtime variations.
Thanks,
Karthik -
Hi All
I have two queries , Query 1 and Query II.
Query I has infoobject ZABC as part of rows . ZABC is an infoobject that has a compounding with infoobject ZXYZ.
Our requirement is to run query I , go to the infoobject ZABC , right clik and be able to RRI on query II ( on the basis of value of ZABC ) . however what is happening Is that say ZBAC has an actual value u2018appleu2019 then because of compounding with ZXYZ , the query shows value u2018m/appleu2019 and so when we try to pass the value u2018m/appleu2019 to query II,
It yields no results.
We cannot remove compounding from ZABC ,Is there anyway we can suppress the compounding object in query output so that we are able to achieve our goal.
Thank youHi,
Drag ur Infoobject ZXYZ into the Filter and try. That wont show the value.
Khaja -
Hello SDN Community..!!
I have some theoritical doubts in XI objects.
<b>Question 1:</b>
what i know about Integration Process is:
Integration Processes are defined in integration Repository.
Processes defined in Integration Repository are used as services at runtime to control messages and send messages.
i want to know the role of <b>Integration Process?</b> and what is the difference between <b>Business Service</b> and <b>Integration Process Service</b>?
<b>Question 2:</b>
While definig Communication Channel.When we select <b>HTTP</b> or <b>IDO</b>C Adapter,the direction can only be <b>reciever</b>,Why so ?
Any kind of help will be appriciated.
Thanks in adavance.
VIJAY RAHEJA.<b></b>Hi,
>>>i want to know the role of Integration Process?
inside this object you can model th whole
integration scenario = with many send/receive/etc steps
>>>>and what is the difference between Business Service
and Integration Process Service?
business service is just an directory object used as
simple version of a business ssytem (it can be an ftp
server for example)
integration process service is an integration process
so you can send data from a business system/business
service to an integratin process (or from it)
>>>>While definig Communication Channel.When we select
HTTP or IDOC Adapter,the direction can only be
reciever,Why so ?
because these adapter use http posts directly to the
integration server (ICF) and they don't use any java
adapters to send data to XI
that's why you don't need any sender agreements if you
use http or idoc
regards,
michal -
How to hide Compounding object in report
Hi friends
We want to display region in our reports , But when I execute the query region is coming along with county (eg: US/TX , US/CA etc..) ...this is because of country is a compunding object of region...Can any body let me know how to hide country ...We just want to show TX,CA etc..
regardsPlease search...this has been answered many times here.
-
Static methods in Transfer Objects
Hi all,
I have a doubt about Transfer Object:
Is it possible to have a static method (or field)
inside a Transfer Object returned from
a Session Bean to a Client ?
Many thanks in advance,
MorenoStatic fields, yeah, they'd cause some interesting problems, so are not a good idea in TOs. You can do it, but YMMV (Your Mileage May Vary).
Static method? I'd get rid of it and put it in a utility class or somewhere else. Static methods are pretty meaningless when applied to TOs. The idea is to encapsulate data and some behavior - not provide procedural functionality. -
I need clarification on buisness objects
Hi
I am new to the Business objects , i have some doubts on business objects , Please Clarify on this
My Architecture is SAP R/3 SAP BI SAP BO
Business Objects are using to design reports
1.What is the use of SAP integration Kit
2.If I use standard Info cube with out standard reports then SAP integration kit is required for designing of the reports in Universe.
3.If I use both standard info Cube along with standard reports at that time SAP integration Kit is required for building the reports in Universe
4.If I use customized cube then at that time how fetch the data in Universe . I mean to stay we need to step any connection between BI and Bo .
5.After the designing the report in Universe and I want to Publish in excel or PDF formats. How should I achieve this
6.After publishing of this reports in the form of excel or PDF formats as per business requirement , how to restrict the use to accessing the reports
Could you please some valuable in puts on this. I will assign good points on this
Thanks & Regards
Madan MohanHi Mohan,
SAP integration Kit is the tool whcih is used to connect between BO & SAP. It provides you few of the drivers to connect to your BO.
In order to create any BO Report on top of SAP you need to install SAP Integration Toolkit.
BO Reports can be exported to excel or PDF. In the report you have Save as option to save as excel or PDF.
You can also schedule the reprots in excel or PDf format to your email.
Here is the link which explains you in detail about the BO SAP integration.
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID1308638750DB10241701316790893518End?blog=/pub/wlg/12115
I hope this helps.
let me know if you needany other information.
Regards
Sindhu -
Hi All,
I have doubt about lock object,
when we create lock object ENQUEUE_OBJ AND DEQUEUE_OBJ also gets created but what about transporting it? should we transport it saparately or automatically its get transported?
Thx.Check the below link
[http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eef3446011d189700000e8322d00/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eef3446011d189700000e8322d00/content.htm]
When you save a lock object, it will ask for a trasport request to be saved under. Once that is given, the generated FMs ENQUEUE_<lockobjectname> and DEQUEUE_<lockobjectname> are also saved under the same transport request.
1. Check your QA system whether the 2 generated FMs for the <lockobjectname> exist in QA?
2. Also check in SE11 whether <lockobjectname> exist in QA?
Hope it helps.
Thanks,
Balaji -
Cons of installing installing IIS on Business Objects server
Hello Everyone,
Kindly help me with a doubt, how Business Objects server is going to be affected if we will install IIS in it. Cause I have another WCF application and have to host on the same server for which I need IIS to be installed.
Thank you for your time and patience!
Soubhagya KumarThere is a .NET version of InfoView/BI Launchpad and the CMC that you would have to install after installing IIS. However, they are missing some functionality that your users may want/need - in particular in the Webi application. I know that at a former employer, I had to move off of our initial install on IIS to Tomcat because users couldn't run the Java versions of the Webi viewer and designer, so they couldn't get to some of the more complex analysis tools in their reports.
I did a quick search but was unable to find the specifics on this. Hopefully someone from SAP will check this thread and provide a link to some sort of comparison document. There is a mention that the comparison between the HTML viewer/designer and the Java applet will be published soon (as of last November) here http://scn.sap.com/community/businessobjects-web-intelligence/blog/2012/11/06/webi-influence-council-qa-and-presentation-from-teched-las-vegas.
-Dell -
Deleting objects in transport request
Hello,
I made the changes in InfoCube in developer system and included those changes in a transport request. I didn't release this transport. Then I realized that those changes must be reverted.
I know what I have to do. First of all I need to change manually InfoCube and then remove objects from transport request.
I have doubt about deleting objects. In transport request there is a lot of object which Iu2019ve never changed such as InfoObjects and InfoArea.
Can I safely remove these objects? Why these objects are attached to my transport request?
I checked them and last change was made by another user.
Thank you for your time.Hi,
I don't think there is any version comparison available with target system like R/3 reports. You will manually have to compare the properties.
If you have lot of objects and do not want to loose any changes then you can even think of reverse transport from production system to development system for selected objects.
Now about locking the remaining objects you can open the TR through SE09 in change mode and then select the required items and from the tool bar you can directly lock all the items in single go.
Regards,
Durgesh. -
Graphics2D and AffineTransform needs object-reuse for smooth animation!
Hi,
I'm currently working on a graphical framework for animation using Java2D but has come to a dead end. The goal of the framework is to deliver smooth animation on various platforms, but this seems impossible due to the following fact:
I have a tree of graphical objects i render on a Graphics2D-object. Some of the objects to be rendered are transforms on the Graphics2D instead of visible objects - this way I can have transform-objects in my tree which will affect all child-objects. This is all very nice, but when doing transformations on the Graphics2D A LOT of objects are being created by the implementation of Graphics2D (SunGraphics2D). I've designed my framework to utilize object-reuse and cacheing-mechanisms to ensure no garbage collection is performed when actual animation is in progress - if gc's are performed, this results in visible pauses in the animation. Now, I would like to ask if someone knows how to get around this problem, or suggest I simply abandon Java2D?
The details of my problem is the following:
When doing transforms on the Graphics2D-object which is passed to every object in the tree (and hence, a lot of transformations are being done), a lot of FontInfo-objects are being created - even though I don't use any of them - it's all in the subsystem. The source in the SunGraphics2D is as follows:
// this is called by my framework to rotate all childs in the tree
public void rotate(double d) {
transform.rotate(d);
invalidateTransform(); // the evil starts here
// this is called a lot of places in SunGraphics2D
protected void invalidateTransform() {
// a lot is thigs are going on in this method - cutted out...
// before this method returns, the following takes place
fontInfo = checkFontInfo(null, font); // now we are getting there
// this is the method of pure evil object allocations
public FontInfo checkFontInfo(FontInfo fontinfo, Font font1) {
// every time this method is called, a FontInfo-object is allocated
FontInfo fontinfo1 = new FontInfo();
// and a lot of other objects are being created as well...
}I have come to think, that Java2D is pretty old and should be pretty mature at this point, but now I doubt it since object-reuse is a pretty obvious way of doing optimizations.
Has any of you experienced the same problem or maybe found a solution to doing transformations on a Graphics2D-object without a ton of objects being created?
If you would like to have a look at the problem you can do the following:
Make yourself a little program which is doing some transforms on a Graphics2D-object in a loop (to emulate the 25fps animation and the transform-objects in the tree). Now use your favorite memory profiler (I use JProbe Memory Profiler, free evaluation) and see for yourself - the objects which are garbage collected includes a ton of FontInfo-objects and many AffineTransform-objects.
If I do not find any solution to this problem, I'm forced to face the fact, that Java2D is not suitable for animation-purposes - gc's during animation is no solution!
Thank you for your time - hope to hear from you soon.
Regards,
// x-otic.I think the main point is java transform objects are to slow to use in animations. They definitly have there uses, but for fast animations you need something more optimized.
If you assume a general graphic objects has getHeight, width, x, y, render(). You could do translations using these general properties at an abstract level, letting each graphic object implements its own way to render itself and use the properties.
I tryed to make sense!
Maybe you are looking for
-
Server editions of sql server and specialised editions of sql server
hi, iam new to sql server. i have started reading an article in MSDN regarding the editions of sql server.the article says with the different headings as "server editions of sql server 2008r2" which includes (datacenter,standard and eneterprise) and
-
Is is possible to overlay to videos. Like have one playing on the left side, then another playing on the right side. So say, one person can have a conversation with their selves. I used to be able to do this on my cheap software on my dell. But I rea
-
IIS7 + ColdFusion 9 connection to MySQL database
Hi, I have set ColdFusion 9 and IIS7 now, it needs to connect MySQL database from ColdFusion 9. What I still need to make it all work. Please tell me how do I connect to my MySQL database from ColdFusion Thank you.
-
Losing android save data on playbook restart
I am currently having trouble with the android player on my playbook. I have some games (like doodle god) that run in the android player, and I've noticed that if I turn my playbook off and on all of my save data is lost. I realize that a temporary s
-
Flash cs5 keeps crashing when importing images.
Flash cs5 keeps crashing when importing images onto stage. I plan on tracing a drawing I made. They aren't that big so I don't know why cs5 crashes. Any ideas how to fix that? Thanks I'm using windows 7- 64 bit. Quard processor and 8 gb of ram Her