How to Save Background job report out put in local / Network Drive?
Hello Techies,
How to Save Background job report out put in local / Network Drive.
Actually we have option to send mail aftr complete but i need to save in local drive or network drive .
Hi ,
Background job runs in application server , and your local /network drive is basically presentation server. So you cant save it in local /network drive from the job itself. But to download files, you can write the files to the application server using DATASET, in the background and then use the transaction CG3Y in the foreground to download the file.
Similar Messages
-
How to save background job in variant
Dear all,
I have scheduled one report programme in background and its moved to quality. But in quality they are not able to see the background job which i scheduled in test server. While saving the job in test server, its not asked for any request. Is this the problem? (or) They have to create the background job in quality server ? (Or) any other problem? Please let me know asap pls.
Regards
SReeRequest security team to give you access to SM36.
I believe you should have your manager approval before.....
Only ABAP Programs along with the variants can be transported between development , testing(quality) and production severs.
You need to create a job in the quality/production by giving the program name.
Also, you can execute the program in background by going to se38->Execute in background.
Hope it helps -
Hi gurus in ALV how to edit the fields on out put list
hi gurus in ALV how to edit the fields on out put list
hi
REPORT ZSB_ALV_EDITABLE_SAMPLE.
TABLES: SFLIGHT.
DATA: gc_container TYPE scrfname VALUE 'LIST_AREA',
gc_custom_container TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
gc_grid TYPE REF TO CL_GUI_ALV_GRID,
gs_layout TYPE LVC_S_LAYO,
gt_fieldcat TYPE LVC_T_FCAT.
DATA: ok_code TYPE SY-UCOMM.
DATA: gt_outtab TYPE TABLE OF SFLIGHT.
*DYNPRO
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS '100'.
CREATE OBJECT gc_custom_container
EXPORTING
container_name = gc_container
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6.
CREATE OBJECT gc_grid
EXPORTING
i_parent = gc_custom_container
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
OTHERS = 5 .
PERFORM prepare_field_catalog CHANGING gt_fieldcat .
PERFORM prepare_layout CHANGING gs_layout .
PERFORM get_alv_display.
ENDMODULE.
*& Module USER_COMMAND_0100 INPUT
MODULE USER_COMMAND_0100 INPUT.
OK_CODE = SY-UCOMM.
IF OK_CODE = 'BACK'.
SET SCREEN 0.
LEAVE SCREEN.
CLEAR OK_CODE.
ENDIF.
ENDMODULE.
FORM prepare_field_catalog CHANGING gt_fieldcat TYPE LVC_T_FCAT.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_BUFFER_ACTIVE =
I_STRUCTURE_NAME = 'SFLIGHT'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER =
I_INTERNAL_TABNAME =
CHANGING
ct_fieldcat = gt_fieldcat[].
ENDFORM.
FORM prepare_layout changing p_gs_layout TYPE lvc_s_layo.
p_gs_layout-zebra = 'X'.
p_gs_layout-edit = 'X'.
ENDFORM. " prepare_layout
FORM get_alv_display .
SELECT * FROM sflight INTO TABLE gt_outtab UP TO 10 ROWS.
CALL METHOD gc_grid->set_table_for_first_display
EXPORTING
I_STRUCTURE_NAME = 'SFLIGHT'
IS_LAYOUT = gs_layout
CHANGING
it_outtab = gt_outtab
IT_FIELDCATALOG = gt_fieldcat
ENDFORM. " get_alv_display -
How to terminate background job for MRP
Hi dudes,
how to terminate background job set earlier and i want start again with fresh scheduling. as user discontinued using the MRP process.
thanks inadvance for quick response.
Robert.Robert,
Just though of sharing the alternate way to do this work, instead of DELETE use CHANGE option.
1. Execute transaction SM37 for the program "RMMRP000" and Job name what you have specified with job status "Scheduled" check box activated. Job Overivew screen appears
2. Now select the job in the Job Overivew screen and use Menu bar: Job--->Change or Ctrl+F11. Change Job Screen appears
3. In the change Job screen Hit the function button Start Condition (Green Flag). Start time screen appears.
4. In the Start time screen define your Job schedule and save the time parameters and save change job screen. Now your job is scheduled with new parameters what you have entered.
Regards,
Prasobh -
How to debug background jobs?
Hi all,
How to debug background jobs?
Rgds,
BalajiHi ,
Goto sm37-> select active job , tcode jdbg with out /n or / .
or goto sm50-> select job program/mode-> program-> debuging. -
How to save each section report into different excel sheet?
Hi all
How to save each section report into different excel sheet?
I have a report in which there are 4 sections north south west east now i need to save north in excel sheet 1 , south in sheet2, west in sheet3, and east in sheet4. under each section there is list report.
Please let me know is it possible are not if possible let me no the procedure to be followed.
Thank youIf you're running XI 3.1 you might be able to solve this as follows.
1. Create four users: east, west, north, south
2. Create a profile that filters on the variable you used for the section/break
3. Publish the report
3.1 Set users created above to be the enterprise recipients
3.2 Add personalization (the profile created above)
3.3 Check the Deliver objects to each user in Destinations
(3.4 You could use %SI_OWNER% to get a nice suffix to the report name)
This should cause four reports to be created, each with its own "personalized" contents. -
Getting report out put in another language (other than english).
Hi all,
can any one help me out in getting report out put in proper language (english).
actually i am running my layout through wizard.it show in english at report level but when i publish with oracle application it showing the out in another fassion.
please kindly help me out in this issue.In the language preference panel of the system preferences?
LN -
How to monitor background jobs automatically
Hello,
How to monitor background jobs automatically
(we have more then 100+ jobs in a month and some jobs are repeating 4 - 5 times in a same day ) Now i am searching any salutation for monitor background jobs automatically
Let me know the options
Thanks,
SureshHi,
If your batch job is creating a file in SAP and sending it to another system. These are some things you could do, if you have tools and resources available.
1) When the job ( SAP program ) runs to create the file, ensure there is no file already existing in the landing zone ( AL11), if it does then do not over write, just throw an error, because the last file created did not leave the landing zone, because the other system or middle were did not pick it up. Usually when the middleware or third party system picks up your file from the landing zone, it may delete the file, so next time fresh file can be picked up. It is always good to have date and time stamp on the file that you create on the landing zone, so we could uniquely track which files were creates, when it was created and transmitted.
2) Lets say your job created the file in the landing zone, the FTP program or what ever service or tool that you use to pick the file, if it is running as per design, then it should pick it up, if not you need to see why it is not running, usually the FTP softwars like GIS will throw an error if no file is found, and we could track them.
I am sure there are many other ways to handle if the file really left the landing zone or not. Something to think about. thanks -
How to debug background job?
Hi, All:
How to debug background job.
Thanks,Hello,
Take a look a this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+debugger&">blog</a>, it says all what you need to know about strange debuggings (=
Regards -
How to add push buttons in out put screen of ALV
Hai,
How to add push buttons in out put screen of ALV (tool bar) with out using classes or methods .I want to know using normal ALV .
Thanks in advance .
kiranHi Kiran,
Here is the sample code.If you are using reuse_alv_grid_display, no need to write code in PBO.
Just double click the 'TEST' which is written in code.Then create a GUI Status.In Application toolbar,type the name of the button you want(say BUTTON).Then double click that name.Then enter the ICON name and function text.Activate it.This itself will work.If you want all the functionalities,then try to do as Vinod told.
TYPE-POOLS: slis.
DATA: i_qmel LIKE qmel OCCURS 0.
data v_repid type repid.
SELECT * FROM qmel INTO TABLE i_qmel.
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = v_repid
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
i_structure_name = 'QMEL'
TABLES
t_outtab = i_qmel
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 set_pf_status using rt_extab type slis_t_extab.
set pf-status '<b>TEST</b>'.
endform.
FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
data lv_ucomm type sy-ucomm.
lv_ucomm
= sy-ucomm.
CASE lv_ucomm.
WHEN 'BUTTON'. "Double Click line Item
call transaction 'MM01'.
endcase.
endform. -
How to do background job on dtp
how to do background job on dtp
hi,
whenever you run the DTP in Process chain it will be running in background.
hence in BI it is recommended to use PC.
if you execute it will be running immediately.
Ramesh -
Downloading the report out put for wchich split conatiner is used
hi friends i used split container for my report out put .here iam displaying two alvs in the two parts of the conainer.
i put some heading on the container in one box, is it possible to download all the out put into one excel file.Hi sudheer ,
There is no standart functionality for this. You need to code for your custom excel output. -
How to save Forms and Reports in Database ?
How to save Forms and Reports in Database
and
Run from DataBase ?Saving forms in the database is no longer supported I am afraid. We only support the fmx file based format now.
-
How to save iPhoto file in a separate portable hard disk drive?
How to save iPhoto file in a separate portable hard disk drive?
You want to move the iPhoto Library?
Make sure the drive is formatted Mac OS Extended (Journaled)
1. Quit iPhoto
2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
Regards
TD -
Report Out put by Push Button ???
Hi SAP-ABAP Experts .
Boss Please suggest me that i have to create a Screen in which only one Push Buton ,
As user Click this Push Button , a report should run and give it's output , the point is how selection screen will get a
perticular input when user will click this Push Button .
How to do this Boss .?
For Ex : program's Selection Screen has two input parameters
A = 5
B = 4
output of the report : C = 10 .
Requirement is when user click Puch Button , it will get out put C = 10 .
My Best Regards : rajneesh .Hi,
Use Module pool program for this.
SAP ABAP Tutorial: Module Pool Programming. Part 2
Once the program 'ZSALESORDSCREEN' is created Saved and Activated, run Transaction SE51.
Enter screen number '9000'
Screen numbers can be up to 4 characters long, all of which must be digits. Screen numbers from 9000 are reserved for customer-specific screens.
In the Screen Painter enter a short Description and Activate the screen.
Once this is done you will be presented with a screen that will have three tabs, namely Attributes/Element List/Flow Logic
Click on Element List and type Ok_Code and Activate.
Now click on Flow Logic.
You should see the following code in the Flow Logic.
PROCESS BEFORE OUTPUT.
MODULE STATUS_9000.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_9000.
Create MODULE STATUS_9000 by double clicking on it. The following code will be automatically created.
INCLUDE ZSALESORDERTOP . "
INCLUDE ZSALESORDERO01 . *
INCLUDE ZSALESORDERI01 . *
INCLUDE ZSALESORDERF01 . *
*& Module STATUS_9000 OUTPUT
text
MODULE STATUS_9000 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_9000 OUTPUT
Uncomment the following code.
SET PF-STATUS 'ZSALES'. -
Menu Bar for the custom Sales Order Screen.
SET TITLEBAR 'ZSL'. -
Title.
Give appropriate names to PF-STATUS and TITLE BAR. Once the code is uncommented and the appropriate names are given. Double click on the name ZSALES. Once you see the prompt click on create object.
You will see the following three options in the resulting screen.
Menu bar Status for Sales Order Screen
Application toolbar Status for Sales Order Screen
Function keys Status for Sales Order Screen
Click on the Function Keys Drop Down Box. You will see the Standard Tool Bar with Icons that you normally see in the SAP Screen.
Enter the following values in the empty fields.
Standard Toolbar
Ente SAVE BACK EXIT CANCEL PRINT FIND FINDNEXT FIRSTPAGE PREVP NEXT LAST
Activate the PF-STATUS.
You will be prompted to enter the Function Text and Info Text for the button Enter.
Please enter the following values.
Function Text 'Ente'
Info Text 'Enter'
Execute Transaction SE80 and Activate the complete program by right clicking on it.
We will now create a transaction code for our program. To create a transaction code right click on the main program and from the pop-up menu select Create-----Transaction.
In the dialog box enter the following values.
Transaction Code 'ZSALESORD'
Short Description 'Create Sales Order'
And Click on Save.
You will now be asked to enter Program name and Screen Number. Enter the following values.
Program ZSALESORDSCREEN
Screen 9000
Save and Activate the Program
Now we need to enter code to create the Sales order. We also need to create the Screen Elements.
In transaction SE80 in the left pane click on Screens and then double click on 9000.
Now from the menu click on LAYOUT button.
We need to create Labels and Text Boxes for the following fields.
Filed (Label Display) Label Name TextBox Name Def Length
Order Type lblordtyp txtordtyp 2
Sales Org lblsalesorg txtsalesorg 4
Distribution Channel lbldistchnl txtdistchnl 2
Division lbldiv txtdiv 2
Sold-to Party lblsoldto txtsoldto 10
Ship-to Party lblshipto txtshipto 10
Purchase Ord lblpurchord txtpurchord 10
Material lblmat txtmat 18
Quantity lblqty txtqty 13
We also need to create a command button as follows
Label Name
Create Order lblcreateord
We will now look at the property box which is displayed after double clicking on each screen element.
Order Type (Label)
Name lblordtyp
Text Order_Type
Order Type (Text Box)
Name txtordtyp
Text
Def. Length 2
Similarly fill the Property box for other fileds
Important
Property Box for Command Button in this case the Function Code is important
Create Order
Name cmdord
Text Create Order
Fct Code ORDE
Maybe you are looking for
-
Ipod touch 1st generation fully charged apple logo comes up but freezes before it turns on
i have a 1st generation ipod touch and i borrowed it to a friend for a while. she deleted everything that was on it when she gave it back to me. but now i'm trying to put it back onto my computer and it was dead now when i try to start it the apple l
-
Dynamic to Static VPN dies after about 4 minutes
Hey everyone, I have an interesting issue with a dynamic to static VPN setup. I currently run a pair of Cisco Pix 515e firewalls in a failover setup. They are running OS 8.0.4 and they run great. I used to have a VPN between these and my office where
-
Labview : Communicat​ion série avec un périphériq​ue
Bonjour, Sous Labview, j'essaie de communiquer via un port série à un périphérique. En parallèle, j'essaie de recevoir et d'envoyer des données. Je voudrais me placer en mode écoute (Activer la réception sur ce port : Visa read) puis envoyer une comm
-
PISO model, shift register 12bits
Hello, I want to model a misc digital CI only for simulation in multisim. The functionality is PISO (parallel in/serial out) when TE input is high. Until now I made the spice model as bellow, but no working. Pls. help. Symbol(ANSI) Symbol(DIN) #####
-
Hi, I don't know if this is an appropriate question to ask for this class as it's not workshop specific. I was wondering how will I decide when it is appropriate to use a web service as opposed to say servlet or an EJB for my application? What is a g