Extracting/Reporting on SEM data into BW
Hi Experts,
I have new requirement of reporting on SEM-PDCE.
For this I have to fetch data of SEM PDCE into BW.
Can you please provide me links or steps how to do that.
I hve never work in SEM.
IF anybody has documents relating to SEM or SEM PDCE or extraction of SEm data into BW, please mail me at
[email protected]
Please help me out in this..
THanks in advance
Sorabh
Hi Sorabh,
Here is the extract from sap site.
SAP Strategic Enterprise Management (SAP SEM) delivers end-to-end capabilities to support the entire performance management life cycle
this has following facilities:
Business planning and simulation -- Capabilities for strategic planning, financial statement planning, and investment planning enable you to update budgets more frequently, meet changing business conditions, and combine traditional, bottom-up budgeting with top-down strategic planning. SAP SEM also encourages a more collaborative budgeting and planning process -- while helping you integrate and align strategic, operational, and financial plans.
Business consolidation -- Capabilities for currency translations, automated eliminations, and performance calculations support financial reporting standards required for consolidations, such as U.S. and local Generally Accepted Accounting Principles (GAAP) and International Accounting Standards (IAS). SAP SEM also helps you implement management consolidations based on user-defined organizational units and user-defined hierarchies.
Strategy and performance management -- SAP SEM helps you translate strategies and objectives into meaningful plans for every segment and department of your enterprise. Capabilities for use of the Balanced Scorecard, value-based management, and risk management enable business users to make proactive decisions and understand how individual functions or organizations are contributing to the broader corporate strategy.
Stakeholder relationship management -- SAP SEM provides support for communicating enterprise strategy, current plan data, and strategic initiatives to the different stakeholder groups. Capabilities for portal-based investor polling and information collection, as well as analysis and modeling of stakeholder feedback, facilitates the two-way communication needed to incorporate stakeholders into strategic management processes.
link to documentation
http://help.sap.com/saphelp_sem40bw/helpdata/en/3a/c670373bbf0303e10000009b38f842/frameset.htm
Also go through these links.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap%20bw%20business%20planning%20and%20simulation%20-%20how%20to%20guides%20list.htm
https://websmp202.sap-ag.de/sem
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/enhancements%20bw-bps%20formerly%20sem-bps%20in%20sapnetweaver%2004.ppt
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d90209f-0501-0010-59a2-9243ac94a4d7
Also there are some good threads on this topic
what is the difference between BW 3.5 BPS and SEM BPS 4.0
BW- BPS and SEM- BPS
SEM-BPS VS BW-BPS
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap%20bw%20business%20planning%20and%20simulation%20-%20how%20to%20guides%20list.htm
https://media.sdn.sap.com/public/eclasses/teched04/BW253_files/Default.htm#nopreload=1
https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/3040dd5d-0501-0010-baa8-fc0aafa88c40 [original link is broken]
http://help.sap.com/bp_biv235/BI_EN/html/BW/CostCtrPlan.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/enhancements%20bw-bps%20formerly%20sem-bps%20in%20sapnetweaver%2004.ppt
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d90209f-0501-0010-59a2-9243ac94a4d7
http://help.sap.com/saphelp_nw04/helpdata/en/05/242537cedf2056e10000009b38f936/frameset.htm
http://help.sap.com/bp_biv335/BI_EN/html/BW/CostCtrPlan.htm
http://help.sap.com/bp_biv335/BI_EN/html/BW/SalesPlan.htm
Re: SEM 5.0 Installation guide
Re: Merge an SEM-BPS System to BW System
SEM/BW integration into Enterprise Portal?
SEM 4.0 with BW 7.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
Re: SEM vs BW
http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/44/b21f98be886a45a4bb7e123e86e4c2/content.htm
Re: SEM 5.0 Installation guide
Re: Merge an SEM-BPS System to BW System
SEM/BW integration into Enterprise Portal?
SEM 4.0 with BW 7.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
Re: SEM vs BW
***pls assign points,if links are useful**
Regards
CSM Reddy
Similar Messages
-
Question: using links in report to copy data into form for update
Hi there,
I have a report that selects data from one a table, and i want to populate a form to update the report info and more info that a user will enter into another table. With alot of help I have managed to get the first 3 column fields across by editing the report link, under report attributes -> column link. The values of Item 1 to Item 3 work fine, but how do i get the rest of the info in the other 5 columns across??
regardsI think you're trying to reinvent the htmldb wheel.
Have you tried looking at the wizards that help you do this?
Anyway, as an example, to populate the form using the pk
1: create your items on the page, including the PK
eg P2_EMPNO (PK), P2_ENAME, P2_SAL,P2_DEPTNO
2: create a page process "on load" that runs if the PK item is not null
begin
select ename,sal,deptno
into :P2_ENAME,P2_SAL,P2_DEPNTO
from emp
where empno = :P2_EMPNO
end;
3: You now need to write a process that does an update
after submit
begin
update emp
set ename = :P2_ENAME,
sal = P2_SAL,
deptno = :P2_DEPTNO
where empno = :P2_EMPNO;
end
You need to consider how to handle new rows, optimistic locking and a few other things.
I would suggest that you have a look at the existing form wizard that does all this for you. We can then work around any "limitations" you find.
Chris -
How to Extract Huge SAP HR Data into Excel?
Dear Experts & Gurus,
Need your Valuable suggestions regarding this scenario.
I need to extract entire SAP HR data, modules are OM,PA,TM,PY and PD into Excel sheets because our clients are migrating to other ERP. The data volume is very huge, as they are using SAP since 14years. Can we use se16 to extract the data , will it able to handle in extracting the data from HR Tables or any other standard ways to extract this huge data without any dumps or errors .
Appreciate if you provide some useful suggestions or tips for this scenario.
Thank you.
Regards
VickyDear Liran,
Thanks a lot for your valuable suggestions.its really given an brief idea now.
First:
What's the purpose of this data download?
Do you wish to transfer the data from SAP into the new ERP system? Or do you need the download as a backup?
Yes , Transfer the data from SAP to New ERP system, it is not for Backup.
IDOCS/ALE from SAP to New ERP?
Second
I think Payroll results stored in cluster tables, so here we need Abaper to write program. For OM , PA and TM can we extract via Se16/ Se16n .
Thank you very much in advance.
Regards
Vicky -
Extracting PIR (material prices) Data into BW
Hi Experts,
I am working on a BI Integrated Planning project. Product cost will be calculated in CO-PC. During cost roll-up system can pick material prices from any of 5 fields i.e. Standard price, Future Price and Planned price 1,2,3. I have a requirement to update the current material prices from purchase info records to one of the planned prices fields.
My initial solution was as follows:
1. To rely on the users to download the PIR or contract prices into Excel
2. Apply % uplift to the prices in Excel
3. Then use an ABAP to update the uplifted prices to the material master future or planned price fields.
However my client is not happy with this solution.
Another option I am looking at is:
1. Extract the prices from the PIR's into BW and then download to Excel s
2. Apply % uplift to the prices in Excel
3. Then use an ABAP to update uplifted prices to the material master future or planned price fields.
Is this feasible? If yes, how can I get the prices into BW.
Thanks in advance,
MilindHi,
Pls chk this link could help you:
http://help.sap.com/bp_biv335/BI_EN/html/BW/ManufactAnal.htm
Regards
CSM Reddy -
Please help with following query on Extracting the non-sap Data into BW.Please advice the full documentation on Loading,Transforming,Reporting for NON-SAP data into BW .
Essentially, the Third party tool provides a matrix for maximizing either profit or revenue (volume) for each loan product offering depending upon the bank's goals. For example, at the car dealership, the salesman inputs the price of car, the loan term, your FICO score, income etc and the tool calculates an interest rate for your loan based upon the bank's goals at the time. The tool has a Java front end and C++ on the back
Will assign points on reply and appreciate your helpAshley
There are different ways of doing this. One way is down load third party data into Flat file and then upload into BW using flat file extraction.
Other option is load data using DB connect. please see this link for DB connect
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2f0fea94-0501-0010-829c-d6b5c2ae5e40
Hope this helps
Thnaks
Sat -
Loading complex report data into a direct update DSO using APD
Dear All,
Recently, I had a requirement to download the report data into a direct update DSO using an APD. I was able to perform this easily when the report was simple i.e it has few rows and columns. But I faced problems If the report is a complex one. Summing up, I would like to know how to handle the scenarios in each of the following cases:
1. How should I decide the key fields and data fields of the direct update DSO ? Is it that the elements in ROWS will go to the
key fields of DSO and the remaining to the data fields? Correct me.
2. What if the report contains the Restricted KFs and Calculated KFs? Do I have to create separate infoobjects in the BI
system and then include these in the DSO data fields to accommodate the extracted data ?
3. How do I handle the Free Characteristics and Filters ?
4. Moreover, I observed that if the report contains selection screen variables, then I need to create variants in the report and
use that variant in the APD. So, if I have 10 sets of users executing the same report with different selection conditions, then
shall I need to create 10 different variants and pass those into 10 different APDs, all created for the same report ?
I would appreciate if someone can answer my questions clearly.
Regards,
D. Srinivas RaoHi ,
PFB the answers.
1. How should I decide the key fields and data fields of the direct update DSO ? Is it that the elements in ROWS will go to the
key fields of DSO and the remaining to the data fields? Correct me.
--- Yes , you can use the elements in the ROWS in the Key fields, but in case you get two records with same value in the ROWS element the data load will fail. So you basically need to have one value that would be different for each record.
2. What if the report contains the Restricted KFs and Calculated KFs? Do I have to create separate infoobjects in the BI
system and then include these in the DSO data fields to accommodate the extracted data ?
Yes you would need to create new Infoobjects for the CKF's and RKF's in the Report and include them in your DSO.
3. How do I handle the Free Characteristics and Filters ?
The default filters work in the same way as when you yourself execute the reoprt. But you cannot use the Free characterisitics in the APD. only the ROWS and cloumns element which are in default layout can be used.
4. Moreover, I observed that if the report contains selection screen variables, then I need to create variants in the report and
use that variant in the APD. So, if I have 10 sets of users executing the same report with different selection conditions, then
shall I need to create 10 different variants and pass those into 10 different APDs, all created for the same report ?
--- Yes you would need to create 10 different APD's. Its very simple to create, you can copy an APD. but it would be for sure a maintance issue. you would have to maintain 10 APD's.
Please revert in case of any further queries. -
Extracting a Report from SAP Spool into a Useful Excel 2010 Format
Hi All,
Extracting a Report from SAP Spool into a Useful Excel 2010 Format. I'm currently running the following report in SAP and would like the
ability to set this report up as a recurring report running weekly and
subsequently access this report in a useable Excel 2010 format without
much data manipulation. Can you please assist me. Below, I've tried to
provide an example of what I'm encountering. Thanks, beforehand for
your assistance.
Here goes:
Step one: Run 62 Report in SAP S_P99_41000062- Material List Price and
Inventory
Step 2. Select stored Variant "Weekly KPI", ok. Enter the enter the
desired company code and period I want thre report to run for and update
the currency, if necessary. Having input my desired criteria, I believe
I can either execute immediately, run in the background, preset to run
at date in the future. For this example let's just execute, immediately.
This is where the difference originates. Given, I run this report
immediately, I'm able to simply extract the result to Excel via the list
selection noted in the tool bar below. The result is a data friendly
excel 2007 report is automatically generated.
Export to Excel via list:
Select save and Excel 2007 opens automatically:
That said, the method outlined above works perfectly fine if you want
the report immediately. Now let go back and run the exact same report
with exceptoin of running it in the background and having to retrieve it
from the Spool (SP01) uisng my user ID. Given the report generated in
the background, I would now access the report via the spool and make
the following selections:
SP01 + execute to see my report
I would hit the sunglasses to see the actual report, then want to
extract this report to Excel by selecting the export option.
I would at this point select spreadsheet and be given an option to save
the spreadsheet to local file. However, upon trying to open the
spreadsheet I will receive an error messageindicating that the format is
different than that which the file I am currently trying to open it
with. I'm currently running Excel 2010 on my computer. The currency
format and other issues arrise with this extract. Please help.
Thanks,
Chowadary.Update to Latest GUI.
Use List -> Export -> Spreadsheet to get the output to excel.
I remember in ALV max length allowed is 1023 characters and the max no of columns supported is 90. Issue occurs when row size of exported data gets more than 1023 character. (This includes if Long/Medium Header Text used ) If it exceed 1023 character the columns splits and moves to next row.
Check your fieldcatog for header lengths.
-Satya -
Extract data into the Oracle Database
Hello,
I have file in PDF format.
I need to extract data into the Oracle Database.
what should be my action ?
And how could I accomplish?
thanks
DNYou said:
Do you know ahead of time how many columns are in the file?
yes, It has 8 columns.
But each PDF have different total of columns. Right now I am working on one PDF file only.
e.g: page emp report has following values:
Salray History Report in PDF format
Page 1
Date 10-21-2005
LAST NAME SALARY COMMISSION
Russell 14000 .4
Partners 13500 .3
Errazuriz 12000 .3
Cambrault 11000 .3
Zlotkey 10500 .2
after converting it will be come as
Salray History Report in PDF format
Page 1
Date 10-21-2005
LAST NAME
SALARY
COMMISSION
Russell
Partners
Errazuriz
Cambrault
Zlotkey
14000
13500
12000
11000
.4
.3
.3
.3
End of Page 1
Date 10-21-2005
LAST NAME
SALARY
COMMISSION
DN -
How to extract the data into Excel / PDF from SAP
Hi,
We have spool number of a report output.
We want to extract the data into Excel / PDF from SAP directly...
Plz guide...Hi ,
Please check this [Thread|HOW TO DOWNLOAD SAP OUTPUT TO EXCEL FILE;. Hope your problem will be solved.
You can check [this also.|http://wiki.sdn.sap.com/wiki/display/sandbox/ToConvertSpoolDataintoPDFandExcelFormatandSenditinto+Mail]
Thanks,
Abhijit -
Hi Gurus,
Could anyone please tell me
How to extract data in SAP BW (ODS or Infocube) into XML File.Hi All,
thanx alot for your help.
finally i got my solution.
I have written ABAP code and converted ODS data into XML.
Hope it will help you all.....
REPORT ZCONVERT_TO_XML .
TABLES: /BIC/AZHSO0400.
PARAMETERS: GK_RUTA TYPE RLGRAP-FILENAME .
DATA: ITAB LIKE /BIC/AZHSO0400 OCCURS 1 WITH HEADER LINE.
DATA: L_DOM TYPE REF TO IF_IXML_ELEMENT,
M_DOCUMENT TYPE REF TO IF_IXML_DOCUMENT,
G_IXML TYPE REF TO IF_IXML,
W_STRING TYPE XSTRING,
W_SIZE TYPE I,
W_RESULT TYPE I,
W_LINE TYPE STRING,
IT_XML TYPE DCXMLLINES,
S_XML LIKE LINE OF IT_XML,
W_RC LIKE SY-SUBRC.
DATA: XML TYPE DCXMLLINES.
DATA: RC TYPE SY-SUBRC.
DATA: BEGIN OF XML_TAB OCCURS 0,
D LIKE LINE OF XML,
END OF XML_TAB.
START-OF-SELECTION.
PERFORM GET_DATA.
PERFORM CONVERT_XML.
*PERFORM CONVERT_XML.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
FORM GET_DATA .
SELECT * FROM /BIC/AZHSO0400 INTO TABLE ITAB.
ENDFORM. " GET_DATA
*& Form CONVERT_XML
text
--> p1 text
<-- p2 text
FORM CONVERT_XML .
CLASS CL_IXML DEFINITION LOAD.
G_IXML = CL_IXML=>CREATE( ).
CHECK NOT G_IXML IS INITIAL.
M_DOCUMENT = G_IXML->CREATE_DOCUMENT( ).
CHECK NOT M_DOCUMENT IS INITIAL.
WRITE: / 'Converting DATA TO DOM 1:'.
CALL FUNCTION 'SDIXML_DATA_TO_DOM'
EXPORTING
NAME = 'ITAB'
DATAOBJECT = ITAB[]
CONTROL =
IMPORTING
DATA_AS_DOM = L_DOM
CHANGING
DOCUMENT = M_DOCUMENT
TYPE_HANDLE =
EXCEPTIONS
ILLEGAL_NAME = 1
OTHERS = 2
IF SY-SUBRC = 0.
WRITE:/ 'OK'.
ELSE.
WRITE: 'ERR = ', SY-SUBRC.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CHECK NOT L_DOM IS INITIAL.
W_RC = M_DOCUMENT->APPEND_CHILD( NEW_CHILD = L_DOM ).
IF W_RC IS INITIAL.
WRITE 'Ok'.
ELSE.
WRITE: 'Err =',
W_RC.
ENDIF.
CALL FUNCTION 'SDIXML_DOM_TO_XML'
EXPORTING
DOCUMENT = M_DOCUMENT
PRETTY_PRINT = ' '
IMPORTING
XML_AS_STRING = W_STRING
SIZE = W_SIZE
TABLES
XML_AS_TABLE = IT_XML
EXCEPTIONS
NO_DOCUMENT = 1
OTHERS = 2
IF SY-SUBRC = 0.
WRITE 'Ok'.
ELSE.
WRITE: 'Err =',
SY-SUBRC.
ENDIF.
LOOP AT IT_XML INTO XML_TAB-D.
APPEND XML_TAB.
ENDLOOP.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_SIZE
FILENAME = GK_RUTA
FILETYPE = 'BIN'
TABLES
DATA_TAB = XML_TAB
FIELDNAMES =
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " CONVERT_XML
Thanks and Regards,
P.Madhusudhan Raju, -
How do you insert an electronically signed report as an appendix into a main report which will be signed electronically at a later date?
You can add it as a file attachment. Exactly how you do this depends on the version of Acrobat you're using, but if you open the Attachments panel, you should see where you can add a file.
-
Can not extract data into BW from SQL SERVER
Dear All,
I meet a problem to extract data from database(MS SQL Server 2000(sp3)) into BW now and can not extract data into BW ODS, even PSA, In the monitor, display yellow light(0 from 0 record), detail message just display message "data request arranged" "confirmed with: confirmation" in requests(message) step; "missing message: request received" in extract (message) step; "no data" in processing(data packet) step and so on. but in fact, there are two records in my database test table and DB connection is OK. Even I can extract data from another test oracle database into BW ODS successfully.
Our BW system has two BW applicaton server and use oracle database. the one application server locates on IBM AIX host. the another one locates on one NT server. the application server on NT server is used for data extration from MS SQL SERVER database into BW oracle database. and MS SQL SERVER and NT platform application server locate on same one host. DBSL was installed on the NT application server already. and DB connector also was created successfully for MS SQL SERVER and datasource also was generated. DBSL type is Kernel640-WIN-IA32bit-unicode. my BW system is ECC5.0/UNICODE/ORACLE. all table/view/field name of MS SQL server is upcase and have not any specific character. for example: ZDEMO etc.
wait your help.
Thanks in advance.
BillyHi Ravi,
Could you help me to get knowledge about the followings:
approximately how many records extracting and transfering from SAP R/3 to BIW in an organisation. for that how much time will take .
How to extract data from two are three source system to BIW. Kindly help me with step by step explanation .If any screen shots with documents pls fwd to my ID. "[email protected]"
Your help highly appreciated.
Thanks.
Hema -
Search data into ResultSets to genrate a complex report
Hi,
I am writing a report called "Product Flow". The report headings are follows
prodcode prod name opening qty purchase_qty sales_qty closing_qty
=============================================================
To achieve this, I need to know the products, their opening qty, their purchase qty, sales qty and finally I will I will calculate the closing stock.
All this information is into different tables. I want to create 4-5 resultsets and then take the prodcut's resultset and scroll into it, take product one by one and then search its details into other resultset of opening, purchase and sales resultsets
How can I do it with resultsets? can anyone guide me? I am very much new for Java.
Thanks
OMkarDear,
Evenif I use SQL join. While designing the report finally, do I not have to write some code to compare and search some data into various resultsets or some kind of collections?
For example, in the above report, when I want to display report on screen, I will have to take the list of product and then search its values into tables and display it on the screen. So for this, do I not have to take the resultset of product table (rs) which will give me a list of product.
use while (rs.next()) >
take each product code
search the values in other resultsets (to search these values in actual table may be time consuming becasue of huge size of table. If there are 500 products in the table, I will have to use the table for 500 times using SQL.
Finally display the report on screen.How can I get more information about the collection type of resultset as u mentioned in the first reply? I will read the tutorials on SQL joins as you suggested and see if I can use it for this report.
Thanks for the reply. I would high appreciate if you can guide me to achieve my aims of project I am doing my studies.
Regards
OMkar -
Adding data into a custom table through a report transaction
Is it possible to add data into a table through a report transaction. I have been asked to create a report in which when we add certain data in the selkection screen it updates thoses particular fields and the rest of the records can be fille dout in the output. Basically I have a customised allocation table called zalloc. I have to create a report with selection screen having receiving plant, material document of the original transfer psoting , issuning plant , line item number , batch, receiving and issuning storage location. I need to validate this against the mseg table and whatever entry I make in teh selection screen should update my zalloc table from here.
Can anyone help me with this please.
ThanksHi Aarav,
Yes, It is possible to add records to a table using a report transaction. You can use Update or Modify to insert records in a table.Convert the data fetched from the ZALLOC and convert it into an internal table of the same format as that of the ZALLOC table and simply do an
loop at itab_zalloc into wa_zalloc.
*INSERT INTO ZALLOC FROM WA_zalloc*.
endloop.
OR
INSERT ZALLOC FROM TABLE ITAB_ZALLOC
OR
UPDATE ZALLOC FROM TABLE ITAB__ZALLOC .
Update will modify if that record exist and returns sy-subrc as non zero if entry does not exist.
OR
MODIFY updates an existing DB entry or, in no matching entry exists, inserts a new entry into the DB table -
Not able populate correct data into fields in alv report
hi experts,
question: from delivery document number(likp-vbeln) go to delivery items to get lips-matnr,lips-lgort
TYPE-POOLS:SLIS.
TABLES: MARC,LIPS,LIKP,VBAK,VBAP,VBRP.
SELECT-OPTIONS:S_VKORG FOR LIKP-VKORG,
S_VBELN FOR LIKP-VBELN,
S_MATGR FOR MARC-MATGR,
S_AUART FOR VBAK-AUART.
DATA: BEGIN OF ITAB OCCURS 0 ,
MATGR LIKE MARC-MATGR,
MATNR LIKE LIPS-MATNR,
LGORT LIKE LIPS-LGORT,
WADAT_IST LIKE LIKP-WADAT_IST,
AUART LIKE VBAK-AUART,
WAVWR LIKE VBRP-WAVWR,
KWMENG LIKE VBAP-KWMENG,
VBELN LIKE LIKP-VBELN,
VBELN LIKE VBAK-VBELN,
<GORT TYPE LIPS-LGORT,
END OF ITAB.
DATA: BEGIN OF JTAB OCCURS 0,
VBELN LIKE VBAK-VBELN,
END OF JTAB.
DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
I_EVENTCAT TYPE SLIS_T_EVENT WITH HEADER LINE.
START-OF-SELECTION.
SELECT AMATNR ALGORT INTO TABLE ITAB FROM LIPS AS
A INNER JOIN
LIKP AS B ON BVBELN EQ AVBELN WHERE BVBELN IN S_VBELN AND BVKORG
IN
S_VKORG.
ENDSELECT.
*I_FIELDCAT-COL_POS = 1.
*I_FIELDCAT-FIELDNAME = 'VBELN'.
*I_FIELDCAT-TABNAME = 'ITAB'.
*APPEND I_FIELDCAT TO I_FIELDCAT.
*CLEAR I_FIELDCAT.
I_FIELDCAT-COL_POS = 1.
I_FIELDCAT-FIELDNAME = 'MATNR'.
*I_FIELDCAT-TABNAME = 'ITAB'.
I_FIELDCAT-REF_TABNAME = 'MATNR'.
I_FIELDCAT-REF_TABNAME = 'LIPS'.
APPEND I_FIELDCAT .
*CLEAR I_FIELDCAT.
I_FIELDCAT-COL_POS = 2.
I_FIELDCAT-FIELDNAME = 'LGORT'.
*I_FIELDCAT-TABNAME = 'ITAB'.
I_FIELDCAT-REF_TABNAME = 'LIPS'.
APPEND I_FIELDCAT .
*CLEAR I_FIELDCAT.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME =
IS_LAYOUT =
IT_FIELDCAT = I_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = I_EVENTCAT[]
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
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = ITAB
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.
i am unable to populate correct data into fields i am getting matnr values as all 1's
and lgort as empty
can anyone help me out
thanks.HI there
This is what i found on the Forum
"You can use FM RS_VARIANT_CONTENTS to display ONE variant associated to a report
If you want to see the information of ALL VARIANTS associated to a report I think the only way is checking table VARID to get all the variants associated to the report and then do a loop and call RS_VARIANT_CONTENTS for each variant."
Regards
Tatenda
Maybe you are looking for
-
Very poor implementation of XMLHttpRequest streaming with Safari for Window
I hope this post reaches Apple engineers. This is critical for us to resolve this. I am a member of the developer network, so if using incident support is necessary, it can be used. Do not hesitate to contact me with any questions. I have implemented
-
Need to mention subject also in Invite Supplier User page
In Purchasing Responsibility there is Supplier User Management Section . Invite Supplier User page is there . We can enter email address there as well as Text . Problem is we also want to enter subject there . Is it possible ??
-
[REQ] help on rtl8180
okay so i've got arch installed on this gateway laptop that uses an realtek rtl8180, there was a package build but it stopped working in the 2.6.16 and above kernel's (wouldn't make) so i tracked down a couple patches and but now i can't get it to in
-
I've tried for 3 weeks and I can't get iCloud to complete a backup all I get is try again later
Is anyone else having issues with iCloud completing a backup?
-
Accordion fade/appear stay's after clicking another tab/content
Hi, In the accordion Tab i've putten the effect fade/appear on the image. Problem: When I close the panel by clicking on te accordion Content, the Tab stay's dark. This also stay's dark when I click on another Tab. After clicking on content or anothe