SAP BI Knowledge Base_ Enhancement to STD Data Source ( Logistics )-2

December 9, 2016 | Author: Vishnu Vardhan | Category: N/A
Share Embed Donate


Short Description

Enhancement to datasource...

Description

1/24/2014

SAP BI Knowledge Base: Enhancement to STD Data Source ( Logistics )-2 Share

0

More

Next Blog»

Create Blog

Sign In

SAP BI Knowledge Base Place for BI Documents Friday, 24th January, 2014

Search Blog Archive

► 2013 (3) ▼ 2012 (21)

Tuesday, July 17, 2012

HELP

Enhancement to STD Data Source ( Logistics )-2

Need Project help ! contact me

► September (1) ▼ July (2) Enhancement to STD Data Source ( Logistics )-2 Enhancement to STD Data Source ( Logistics )

Continuing with PART1 we will go through the steps to enhance the Data Source in case need arises for adding custom fields added part of SD customization in general they are not part of Standard base structure behind the Data Source. To achieve this , let us see how can be done. We will take same Data Source 2LIS_11_VAITM for this too. 1.Before starting this need to find out the structure behind this Data Source. Go to Transaction RSA6 , navigate to the data source and choose display..Remember all the set up tables should be empty before starting this step.

► May (1) ► April (5) ► March (12) ► 2010 (7)

2.Now use Tcode SE11 to maintain this structure MC11VA0ITM.. Enter the name of the structure and choose option Display.. Here we cannot add the FIELDS that we need part of Data Source as this is SAP object. We can do this by adding the APPEND structure . So choose Append structure from the menu.The pop up will show you all the structures if any already created. You can use one of them or create a new one if you want separated from other changes.

SAP BI Analytics

Add to your favorites

3. I have created append structure called ZEVENT_APPEND and added a new field ZERDAT with data type ERDAT and activated the structure.

http://sapkbase.blogspot.in/2012/07/enhancement-to-std-data-source_17.html

Subscribe To

1/3

1/24/2014

SAP BI Knowledge Base: Enhancement to STD Data Source ( Logistics )-2

Posts Comments

ABAP DOCS

4.The next would be make this column to be visible at BI level my make this as unhide from RSA6 in change mode.

How to find table relationships of the Modules? VBA code to capture RSUSR003 report output Question to variant Configuration an FM: VC_I_GET_CONFIGURA TION How to find transport Request…. Change language and number of copies in form script

Recommend this on Google

SAP BOBJ

5. Once you uncheck the flag under HIDE Field column generate the structure MENU option under datasource. 6. Now if you test the data source , the value wont be available under the newly added column. since Standard Extract program does not recognize as part of its purview. 7. To populate this column , will take the help of USEREXIT which work like place holders for our custom code as part of STANDARD Extract program. The program name for this is ZXRSAU01 and will add the following code .Now we need to find out from which table the data needs to be populated for newly added columns. In this example ZERDAT is from table VBAP. when '2LIS_11_VAITM'. data: lt_vaitm type table of mc11va0itm, lv_vaitm type mc11va0itm. types: begin of ty_vbap, vbeln type vbeln, posnr type posnr, zerdate type erdat, end of ty_vbap. data: it_vbap type standard table of ty_vbap, wa_vbap type ty_vbap, wf_index type sy-tabix.. lt_vaitm[] = c_t_data[] . refresh: c_t_data[]. if not lt_vaitm[] is initial.. select vbeln posnr zerdat from VBAP into table it_vbap for all entries in lt_vaitm where vbeln = lt_vaitm-vbeln and posnr = lt_vaitm-posnr. loop at lt_vaitm into lv_vaitm. wf_vindex = sy-tabix. read table it_vbap into wa_vbap with keylt_vaitm-vbeln posnr = lt_vaitm-posnr.. if sy-subrc = 0. lv_vaitm-zerdat = wa_vbap-zerdat. endif. modify lt_vaitm from lv_vaitm index wf_vindex . clear lv_vaitm.

http://sapkbase.blogspot.in/2012/07/enhancement-to-std-data-source_17.html

2/3

1/24/2014

SAP BI Knowledge Base: Enhancement to STD Data Source ( Logistics )-2 endloop. c_t_data[] = lt_vaitm[]. refresh: lt_vaitm. Save the code and activate the program. 8. Now you are ready to test the extractor again. Goto RSA3 and test the same,you should see some data in the ZERDAT column.

Posted by Teluguworld at 10:38 AM

No comments: Post a Comment Enter your comment...

Comment as:

Free Demat Account

Publish

Google Account

Preview

re ligare online .com /… W ith Mone y Back Guarante e *. Trade Across Multiple De vice s. O pe n Now!

Links to this post Create a Link SAP BPC

EPM 10 selecting row member based on IF condition

Newer Post

Home

Older Post

Hierarchy node member loading BPC tables in HANA

Subscribe to: Post Comments (Atom)

Script logic calculating wrongly BPC ACCTYPE: what is AST, LEQ, INC and EXP? What account type sould be used?

Page views

13,888 Ethereal template. Powered by Blogger.

http://sapkbase.blogspot.in/2012/07/enhancement-to-std-data-source_17.html

3/3

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF