How to  include a report  into the  SAP-SCRIPT

Advertisement

plz tell me 
How to  include a report  into the  SAP-SCRIPT
ASAP

Advertisement

creat a z report like this....................
REPORT  zmmgl_picklist1.
TABLES : likp,ltap,ltak.
data : lv_NUM1 type c .
data : lv_NUM type c.
*&      Form  get_data1
      text
     -->IN_DATA    text
     -->OUT_DATA   text
FORM get_data1 TABLES in_data STRUCTURE  itcsy
                     out_data STRUCTURE itcsy.
READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
lv_NUM = lv_NUM1 + 1.
out_data-name = 'lv_NUM'.
  out_data-value = lv_NUM .
APPEND out_data.
endform.
*&      Form  get_data
      This form is to read  details from  LIKP    *
     -->IN_DATA    text
     -->OUT_DATA   text
FORM get_data TABLES in_data STRUCTURE  itcsy
                     out_data STRUCTURE itcsy.
  READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
  Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
  out_data-name = 'LIKP-BLDAT'.
  out_data-value = likp-bldat.
  APPEND out_data.
   READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
  Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
  out_data-name = 'LIKP-VSTEL'.
  out_data-value = likp-vstel.
  APPEND out_data.
READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
  Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
  out_data-name = 'LIKP-KUNNR'.
  out_data-value = likp-kunnr.
  APPEND out_data.
ENDFORM.                    "get_data.
after this go to the script editor......
/: perform get_data in program zmmgl_picklist1.
/: using &ltap-vbeln&                 (Reference field.this field          should be there in both program and script.....)
/:changing &likp-bldat&         
/:changing &likp-vstel&
/:changing &likp-kunnr&
\[removed by moderator\]
Regards
Anbu
Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM

October 11, 2015

How to  include a report  into the  SAP-SCRIPT

plz tell me  How to  include a report  into the  SAP-SCRIPT ASAPcreat a z report like this.................... REPORT  zmmgl_picklist1. TABLES : likp,ltap,ltak. data : lv_NUM1 type c . data : lv_NUM type c. *&      Form  get_data1       text      --&g

Can we release a report in the SAP BOR ?

How to release a report in the SAP BOR ? tell me the steps.Hi, The report you get in BOR is accessible through SE38 also. You can work with it as usual reports. Regards, Renjith Michael.Read other 3 answers

How to copy a report into my namespace

how to copy a report into my namespace as said in this blog.... /people/michal.krawczyk2/blog/2005/11/09/xi-restarting-successfully-processed-messageshow to copy it my namespace I didn't get what exactly you mean? If you run any interface you will fi

I have just used migration assistant to import photos (using an ethernet cable) from my PC. It has worked but they have gone into a new user on my MacPro. How can I merge them into the one user account.

I have just used migration assistant to import photos (using an ethernet cable) from my PC. It has worked but they have gone into a new user on my MacPro. How can I merge them into the one user account.How many pictures (or how many bytes) are we tal

How to create the Sap script & Layout Set (wants sample code)

Hi All , Can you please provide me the step by step procedure to create the Sap script & Layout Set .(please provide sample code/links /docs for layout & print program). Regards Rahulhi, go through the following links  what i found to create sap s

I am a CC subscriber and trying to update lr5.7 and I am told to got to my CC folder and click on install. The problem is, LR is not in my file. I guess I have been using my original lr that I bought years ago. What now? How do i get lr into the CC file?

I am a CC subscriber and trying to update lr5.7 and I am told to got to my CC folder and click on install. The problem is, LR is not in my file. I guess I have been using my original lr that I bought years ago. What now? How do i get lr into the CC f

How to convert  PLD Report into Crystal Report

Hello Experts,                          I want to convert my  PLD Report into Crystal Report, but  i am not able to find the solution ,                          so how can i do this and what are the  steps have to taken. Kindly give me the solution .

How to include local chains into meta chain

Hi Experts, Could any one pl help me how to include  3 local chains in to a meta chain. first i am creating local chains Thanks in Advance Nitya Please check the forum before posting Edited by: Vikram Srivastava on Sep 24, 2010 4:43 PMHi Nitya Nothin

How to include Sub List into List template?

Hi, how can I include the content of a sub list into the parent list entry. A simple example (my original code is more complicated with divs, ...) I want to produce the following output: <li>Master List Entry 1   <ul>     <li>Sub List En

How to convert Oracle reports into excel?

How can we convert Oracle reports into excel. i know there was a thread on this topic which i am not able to find. give the link / help.I found Std Oracle Report output to Excel Sheet has some suggestions. Not being a Reports person anymore I am not

ID CS5: How to include additional text into a table of contents and how to hide text from it?

I have the following problem: 1. I'd like to include additional Information in my table of contents which I don't want to appear in the text I refer to. Example: I do have a picture with a caption saying: picture 1: Blablabla. And I want to have the

How  to add custom fields to the  sap standard  program ukm_bp_display

How  to add new custom  fields to the  sap standard  program ukm_bp_display . could u  please any one help me on this?Hello Kumar, You have to modify below structure, as this structure is providing the field catalog for output display (ALV). Here you

How Can I open Report within the same window instead of separate Window

Hi All, I want to open report in my MDI form instead of opening it into a separate Oracle Report Navigator(i.e. Window which shows the report). How to do that? When I click the Report from Menu it should open it within the MDI Form. Any suggestion or

How to insert an ID into the related tables???

Hi, I have 3 tables in my database who are related. Table employees, functions and specializations The employees table has an empID, functions has an funID and the related empID and specializations has an speID and to the related empID. When I insert

How to Run Oracle Reports from the web.

How can we run Oracle Reports from the web - for example from a portal such as "Gateway" This is a univeristy that implements Banner - so can we run them from within Banner?Yes, of course. And for running the reports-server you need an OAS. Mayb

How to input DAP Key into the card?

There're three questions I've confused for a long time. 1 Can I input the DAP Key into the ISD ? Or I must first create a SSD Instance and input the DAP Key to SSD? 2 Is the DAP Key version 0x73 and index 01? 3 Which command is used to input the DA

How to include Navigational attribute in the selection screen

Hello All, Can any body please tell me how to include a navigational attribute in the selection screen in BEX?Let´s go step by step. In your example, you mentioned the characteristic called 0MAT_PLANT.  Its navegational attributes are allocated in th

How do I get apps into the application library of iphone configurator utility?

I am trying to use the iphone configuration utility to install apps on iphones adn ipads before distributing to users. How do I get the apps into the Application Library?I tried that. Everything gets downloaded to my C:\Users\michaelb\Music\iTunes\iT

Calling oracle9iAS Forms and reports into the portal

Hi ! Could it possible to call a Forms and reports in the portals? if yes ? How? In my case I have to generate lots of reports..like printing reports in the different tray of printer through portal ? Could this be achieved by Oracle Portal ? thanks i

How to insert a picture into the Rich Text Editor

hi,all I want to make a Press Releases page,that means I have to use the the Rich Text Editor.In this item,I dont know how to quote a picture into this field.though i know there is a picture icon in this field,and when i press it,it can pup up a wind