Spool not creating when executing in background
Hi All
When i try to execute background printing for transaction code MCBA, system is finishing the job but not creating the spool. But for other transactions it is creating the spool corectly.
Please Advice.
Thanks
Ravindra Suvarna
Hi ravindra,
1. U are right.
2. The output does not come when we run this
in background.
3. The reason in the program for mcba.
4. Its program name is :
RMCB0100
5. inside this there is one include RMCS00AL
6. Which has the condition
<b>IF SY-BATCH</b>
(for background detecting)
7. Now what it does afterwords, i could not detect,
but
8. This program DOES SOMETHING / DOES NOT DO SOMETHING
specially for BACKGROUND PROCESS,
BY DETECTING IT THRU
SY-BATCH.
regards,
amit m.
Similar Messages
-
A passcode was not created when we first set up my son's ipad mini 3 however the ipad is now locked for some reason and asking for a passcode. What do we do?
Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
A
1. iOS- Forgotten passcode or device disabled after entering wrong passcode
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. Restoring iPod touch after forgotten passcode
4. What to Do If You've Forgotten Your iPhone's Passcode
5. iOS- Understanding passcodes
6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
7. iOS - Unable to update or restore
Forgotten Restrictions Passcode Help
iPad,iPod,iPod Touch Recovery Mode
You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
Also, see iTunes- Restoring iOS software. -
Automatic payment program spool not created
HI Exeperts
i am assing same role both users both user while doing f110 posting one use is succesed and another user was some time was sucesse ful and sometime getting error spool not created i tested in testing client same role here sucess.i checked in sm37 also but no error user go to sp02 some time he can display. whenever got the errore massage he cann't see the display option.i cann't understand this problem.
any body help me.
thank's
chandra.Dear expert
My guess is your user SPAD - ADMIN ( Check over there )setup is incomplete, but as this is generally a BASIS responsibility
spool requested is not created.
http://sap.ittoolbox.com/groups/technical-functional/sap-acct/payment-program-f110-is-not-creating-spool-nor-print-1848411#M1851567
Regards
Ajeesh.s -
HTTP logs not created when using software load balancer
This is my setup:
1. I have a server running a software load balancer - call it A
2. There are two servers clustered under A - call it X and Y
3. I am able to access the application deployed on X and Y through A.
Fail-over also works. Shutting down X when the application is up and running routes the requests to Y and vice-versa. All is well until this point.
Problem is:
Let us take server X.
$ORACLE_HOME/Apache/Apache/logs does not have an access log in it. (It
however has an error log.)
Access logs are not created when accessing the servers in the cluster (X and Y) through the load balancer URL.
However, when accessing the individual servers in the cluster (with their URLs), access logs are created.
Specifics on the setup:
1. A, X, Y - all three are OAS 10.1.3.2
2. All three are deployed on individual server machines
3. All three servers have one OC4J instance each running in them
4. The software load balancer used is from WebLogic 8.1sp5 - basically to create a *.war file that has the details of X and Y (servers in the cluster)
5. This *.war file is deployed on A
6. Server A, the one that has the software load balancer, DOES NOT have AS control. One of the other servers in the cluster does.
Has anybody encountered this problem before? Or is there anything wrong
with the setup? What is the resolution for the same?
Any help is greatly appreciated.
Thank you.Thank you, Jacco. You are right in saying that the software load balancer does not route the request to Apache and hence the logs are not created.
While the logs are not critical to the component we are working on, was just wondering why they were not being created.
As regards your comment on FastCGI, there is a FastCGI directory created under $ORACLE_HOME/Apache/Apache/logs - but there is nothing in it. Neither do the error logs have any information pertaining to FastCGI.
Anyway, I am not going to worry about this issue anymore - may be sometime in the future will try to use a different software load balancer and see if it makes any difference. -
I have problem sending a email ..spool not created using custom FM
Hi experts,
i have problem sending a email ..spool not created using custom FM...this the custom FM
* Send email notification
lv_subject = text-037.
lv_attachment = text-038.
CALL FUNCTION 'Z_SEND_EMAIL_FROM_SPOOL'
EXPORTING
email1 = lv_email1
email2 = lv_email2
email3 = lv_email3
subject = lv_subject
attachment_name = lv_attachment
EXCEPTIONS
spool_not_created = 1
OTHERS = 2.
Source code
this is the source code for this FM
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
PERFORM convert_spool_to_pdf.
IF sy-subrc IS NOT INITIAL.
MESSAGE e040(zhrcd) RAISING spool_not_created.
ENDIF.
PERFORM process_email USING email1
email2
email3
subject
attachment_name.
WAIT UP TO 5 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.....
Please let me know
Edited by: Thomas Zloch on Nov 16, 2010 5:53 PM - please use code tagsHi srinivas ,
Could you please Check
FORM summary_report .
DATA: lv_success TYPE i,
lv_error TYPE i,
lv_total TYPE i.
DESCRIBE TABLE gt_data LINES lv_success.
DESCRIBE TABLE gt_error LINES lv_error.
DESCRIBE TABLE gt_message LINES lv_error.
lv_total = lv_success + lv_error.
lv_total = lv_success.
gwa_summary-record = text-008."Number of Successful records.
gwa_summary-number = lv_success.
APPEND gwa_summary TO gt_summary.
gwa_summary-record = text-009."Number of error records'.
gwa_summary-number = lv_error.
APPEND gwa_summary TO gt_summary.
gwa_summary-record = text-010."Total number of records processed.
gwa_summary-number = lv_total.
APPEND gwa_summary TO gt_summary.
CLEAR gt_fieldcat.
gwa_fieldcat_summ-col_pos = 1 .
gwa_fieldcat_summ-fieldname = 'RECORD'.
gwa_fieldcat_summ-tabname = 'GT_SUMMARY'.
gwa_fieldcat_summ-seltext_l = text-011."Records
gwa_fieldcat_summ-outputlen = '70'.
APPEND gwa_fieldcat_summ TO gt_fieldcat_summ.
gwa_fieldcat_summ-col_pos = 2 .
gwa_fieldcat_summ-fieldname = 'NUMBER'.
gwa_fieldcat_summ-tabname = 'GT_SUMMARY'.
gwa_fieldcat_summ-seltext_l = text-012."Number
gwa_fieldcat_summ-outputlen = '10'.
APPEND gwa_fieldcat_summ TO gt_fieldcat_summ.
ENDFORM. " SUMMARY_REPORT
*& Form ERROR_REPORT
FORM error_report .
gt_fieldcat_err[] = gt_fieldcat[].
gv_fieldcat_err-col_pos = 1.
gv_fieldcat_err-fieldname = 'PERNR'.
gv_fieldcat_err-tabname = 'GT_MESSAGE'.
gv_fieldcat_err-seltext_l = text-070."Employee Number
gv_fieldcat_err-outputlen = '20'.
APPEND gv_fieldcat_err TO gt_fieldcat_err.
gv_fieldcat_err-col_pos = 2.
gv_fieldcat_err-fieldname = 'MESSAGE'.
gv_fieldcat_err-tabname = 'GT_MESSAGE'.
gv_fieldcat_err-seltext_l = text-071."Error Message
gv_fieldcat_err-outputlen = '80'.
APPEND gv_fieldcat_err TO gt_fieldcat_err.
ENDFORM. " ERROR_REPORT
*& Form FINAL_REPORT
FORM final_report .
DATA:lv_layout TYPE slis_layout_alv,
lt_events_summ TYPE slis_t_event,
lv_events_summ LIKE LINE OF lt_events_summ,
lt_events_det TYPE slis_t_event,
lv_events_det LIKE LINE OF lt_events_det,
lt_events_err TYPE slis_t_event,
lv_events_err LIKE LINE OF lt_events_det,
lt_events_msg TYPE slis_t_event,
lv_events_msg LIKE LINE OF lt_events_det.
lv_events_summ-name = 'TOP_OF_PAGE'.
lv_events_summ-form = 'TOP_OF_PAGE1'.
APPEND lv_events_summ TO lt_events_summ.
lv_events_det-name = 'TOP_OF_PAGE'.
lv_events_det-form = 'TOP_OF_PAGE2'.
APPEND lv_events_det TO lt_events_det.
lv_events_err-name = 'TOP_OF_PAGE'.
lv_events_err-form = 'TOP_OF_PAGE3'.
APPEND lv_events_err TO lt_events_err.
lv_events_msg-name = 'TOP_OF_PAGE'.
lv_events_msg-form = 'TOP_OF_PAGE4'.
APPEND lv_events_msg TO lt_events_msg.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = sy-repid.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_summ
i_tabname = 'IT_SUMMARY'
it_events = lt_events_summ
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = gt_summary
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
IF CHK_DTL IS NOT INITIAL.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat
i_tabname = 'gt_data'
it_events = lt_events_det
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = gt_data
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_err
i_tabname = 'gt_error'
it_events = lt_events_err
TABLES
t_outtab = gt_error.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_msg
i_tabname = 'gt_message'
it_events = lt_events_msg
TABLES
t_outtab = gt_error.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_err
i_tabname = 'gt_message'
it_events = lt_events_err
TABLES
t_outtab = gt_message.
IF GT_MESSAGE[] IS NOT INITIAL.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = lv_layout
it_fieldcat = gt_fieldcat_msg
i_tabname = 'gt_message'
it_events = lt_events_msg
TABLES
t_outtab = gt_message.
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
i_interface_check = ' '
IS_PRINT =
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 =
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
ENDFORM. " FINAL_REPORT
*& Form top_of_page
text
FORM top_of_page1. "#EC CALLED
WRITE text-013."SUMMARY REPORT.
ENDFORM. "top_of_page
*& Form top_of_page2
text
FORM top_of_page2. "#EC CALLED
WRITE text-014."DETAIL REPORT.
ENDFORM. "top_of_page
*& Form top_of_page3
text
FORM top_of_page3. "#EC CALLED
WRITE text-015."ERROR REPORT
ENDFORM. "top_of_page
*& Form EMAIL_NOTIFICATION
FORM email_notification .
DATA: lv_email1 TYPE somlreci1-receiver,
lv_email2 TYPE somlreci1-receiver,
lv_email3 TYPE somlreci1-receiver,
lv_subject TYPE char200,
c_flag TYPE c VALUE 'X',
lv_attachment TYPE char50.
CLEAR: lv_email1,
lv_email2,
lv_email3,
lv_subject,
lv_attachment.
SELECT SINGLE email1
email2
email3
FROM zhr_interface_pr
INTO (lv_email1,lv_email2,lv_email3)
WHERE zinterfaceid EQ gc_objectid.
IF sy-subrc EQ 0.
IF sy-batch EQ 'X'.
Send email notification
lv_subject = text-037.
lv_attachment = text-038.
CALL FUNCTION 'Z_SEND_EMAIL_FROM_SPOOL'
EXPORTING
email1 = lv_email1
email2 = lv_email2
email3 = lv_email3
subject = lv_subject
attachment_name = lv_attachment
EXCEPTIONS
spool_not_created = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. "
Edited by: katewinslate@SAP on Nov 17, 2010 12:50 PM -
Spool not generated when creating the TO from TR
Hello,
I am facing a issue while creating Transfer order. My scenario is like below:
1) Create Goods issue MB1A with two items
2) Create Transfer order from Material document
3) TO is created with 2 items
4) But spool is generated only for one item.
As per my analysis, the TO line item with storage unit which starts with 3* gives a spool while the second item with storage unit which starts 9* does not generate a spool.
But when I print the TO manually in LT31, I am able to see the spool for both items.
Please help me if you have any idea.
Thanks & Regards,
SainathHello,
Please see the attached spool output when TO is printed manually LT31.
However, when the TO is printed automatically, one spool will be displayed in SP02.
Please let me know if you need any more clarifications.
Thanks,
Sainath -
PDF document first page is blank when executing in background
Hi,
I am creating spool before displyaing report output by using GET_PRINT_PARAMETERS and NEW PAGE PRINT ON option and displaying report header and report final internal table. calling NEW PAGE PRINT OFF
finally i am sending mail, by using SO_NEW_DOCUMENT_SEND_API1 function module in foreground executing and background execution.
When we execute in foreground i am recieveing mail and pdf is perfect.
when we execute in background i am recieveing mail. But when i opend the pdf document in mail, PDF doucment first page is balnk and second page onwards i am able to see the report output
why the PDF first page is blank when i execute the same report with same variant in back ground.
Please help me in this issue.
Thanks in advance
RajuHi Raju,
<li> Call ABAP4_COMMIT_WORK function module after NEW-PAGE PRINT OFF command.
NEW-PAGE PRINT OFF.
CALL FUNCTION 'ABAP4_COMMIT_WORK'.
Thanks
Venkat.O -
Getting error "Column is not indexed " when executing query on ORACLE 10g
Hi all,
When executing the below query im getting the error "ORA-20000:Column is not indexed"
query:
select xmlelement("nexml:result",xmlattributes('http://namespaces.nextance.com/nex/xml' as "xmlns:nexml"),xmlelement("nexml:value",count(*))).getClobVal()
from "permission"
where ( ((contains(object_value,'(searchDocument) inpath(/permission/action)') > 0)) and ((existsNode(object_value,'/permission[resource/resourcekey/@type[. = "document"]]') = 1)) and ((contains(object_value,'(GeneralUser) inpath(/permission/principal/@name)') > 0)) and ((existsNode(object_value,'/permission[principal/@type[. = "group"]]') = 1)) and ((existsNode(object_value,'/permission[type[. = "allow"]]') = 1)) and ((contains(object_value,'(nexip) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(Corporate) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(ProcurementAgreement) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(Procurement) inpath(/permission/resource/resourcekey/field/@value)') > 0) or (contains(object_value,'(SalesAgreement) inpath(/permission/resource/resourcekey/field/@value)') > 0)) )
Then after checking some forum, i replaced "contains" with "ora:contains" and executed the query. Now im not getting the first error but got a new error "invalid relational operator"
So please help me in resolving the errors?
Thanks in advance.Anil kumar wrote:
Hi,
Thanks for your reply. Could you please explain your solution in detail?Hi,
I just have a try...
create table t (id int,my_lob clob)
begin
insert into t values(101,'Oracle redwood shores USA');
insert into t values (102,'HP palo alto USA');
insert into t values(103,'Capgemini FRANCE');;
end;
create index my_idx on t(my_lob) indextype is ctxsys.context
select *
from t
where contains(my_lob,'USA',1)>0
Output
ID MY_LOB
101 Oracle redwood shores USA
102 HP palo alto USA Hope it helps,
CKLP -
Report Output Changed when Executed in Background
Hi Guys,
I have generated a report,which when executed online displays
four records.
But when i am executing the same report in background by generating a spool,my output is changed,such as third record is missing and i am getting only three records.
In the place of the third record an empty line is displayed.
whats the reason for it?
Can anyone help me in this regard.Hey Aparna,
I have a report which has more than 400 characters in width. When I execute the report in background, I dont have a printing format of more than 255 characters. Therefore the generated spool has only 255 characters.
How can I get the complete spool? Is there a way to define printing format or any other T-Code to print the generated spool?
Regards,
Anosh -
Container element not available when task is background
Hi All,
We have a task and method. the method works fine when tested individually, returns the correct values.
However when the task is executed in background mode, the element in container is not updated. If the processing mode is foreground, the element is rightly updated in container.
Clearly it has nothing to do with binding since I get the elements when I execute the task in foreground.
any ideas would be welcome.
thanks,
GautamActually, I believe the problem is related to binding.
When called in the foreground, object references (and data references) are present in memory for all subsequent processing.
You probably need to make the CONTAINER "Persistent".
In your code, call the macro SWC_CONTAINER_TO_PERSISTENT <container name here>. For example:
SWC_CONTAINER local_container.
SWC_CREATE_CONTAINER local_container.
" Set you Container elements
" SWC_SET_ELEMENT local_container 'Element01' lv_element01.
" SWC_SET_TABLE local_container 'Element02' lt_table02.
SWC_CONTAINER_TO_PERSISTENT local_container.
" Start your workflow passing local_container.
Something like this...
Hope this is relevent . . . Apologies if not . . .
Regards,
Tom Carruth -
Documnt not posted when executed transaction FBWD
rHi,
When I execute FBWD transaction for returned BoE, I am getting a msg as "Document Posted" and another msg as "1 item selected in addition".
But actually, there is no dcument is getting posted. Please let me know if anyone faced this scenario and how to overcome this. There is no batch session also getting created.
Even for other company code, where batch session created, when I run that batch from SM35, it is finishing posting the document showing with all screens, but finally no document getting generated and the same msg apearing in that batch session log as well "1 item selected in addition".
Regards
SureshHi,
The IDOC is successfully coming from XI, but there is problem in R\3 end.
Idoc status is 51 with "Application document not posted"
This indicates that the logic for posting the application document is not coded properly in inbound function module. Verify the logic once again.
Also you need to confirm that the data related or in application configuration is right. If the data values are not correct the above error get generated.
refer blow link for the program
http://help.sap.com/saphelp_nw04/helpdata/en/78/21760251ce11d189570000e829fbbd/frameset.htm
Thanks
Swarup
Edited by: Swarup Sawant on Jan 28, 2008 11:13 AM -
Contract Version not created when WK Contract (target value) is changed.
Hi there,
Problem with the Version Management on a WK Contract.
When we change the contract targ. value on some of our contracts the new version is not created accordingly. This is only on some of our contracts
Version Mgmnt is correctly configured and the release strategy in place to be triggered when the target value changes. It does work correctly for some contracts.
We receive the following message when we change the targ. value:
"No new version created because a message has not yet been transferred"= Message 027
Can anyone help or advise?
Many thx.We receive the message on some of the contracts.
Therefore it can't be due to the output -
BDoc's not created when downloading certain partners
Hi,
we have a problem when downloading certain partners from R/3.
Adapter Object CUSTOMER_MAIN
Source Site: ECC 6.0
Target Site: CRM 2007
For certain partners, BDocs are regularly created, for some the status is "OK - green" in R3AR but when trying to search for BDocs there is a message "No BDocs found for this Request / Initial Load".
Clearly the partners are not created and present in BP.
Anyone encountered this error?
Thank youHi,
If there is a valication error or an error in update task at the CRM system, the BDocs shoudl ideally be in interrmediate state.
However you can still search for entries in transaction sm13 to check if there are any update failures. Also make sure that
you are not searching for only fully processed BDoc in smw01.
If none of the above holds good, there would be some sysfail for R3AI_BUPA* in smq2. Please check the above. If still in doubt, reply back.
Best Regards,
Shourav -
Business partner not created when User is intergrated in SRM org Structure
Hi SRM gurus,
A new users in integrated into the SRM org structure thro Z tcode ,business partner is not created.
the user is not able to create shopping cart.
When we try to check for t.code:BBP_BP_OM_INTEGRATE we are getting this error"
Connection of object us XXXXXX to object u2018CPu2019 is not unique"
how to resolve this error.
Regards
G.Ganesh kumarHi all,
1) I have checked the SLG1 -No error log is found
2) In the basic tab there is no details to enter.
I am getting this error"Missing Authorisation : info type 1001 ,object type BP,Subtype A207".
since it is Production system -can we run run PFAL directly
G.Ganesh Kumar -
When exporting video as in it's original format the .THM sidecar file (which contains all the relavent metadata for the video) should be included so that other programs (or even Lightroom itself if using the Add to This Catalog option during export) can have access to the metadata for the video.
Here is my use case:
After importing the original video clips I would like to do the following to keep my footage clean and conserve space (as we all know HD video eats a LOT of space)
1. Trim excess / unneeded footage from the clip
2. Export the clip in it's original format with a new name (such as MVI_1234_trimmed.mov) and have it added back to the catalog during the export process.
3. Delete the original clip containing the unneeded footage.
This workflow is almost perfect in the initial LR 4 beta release except that a copy of the .THM file is not included when the video is exported. This means the new clip will not contain any metadata when added to LR or presumabley other applications. I can manuall get around this by duplicating the original .THM file and renaming the duplicate to match the name of the new trimmed clip (example MVI_1234_trimmed.THM) then manually importing into Lightroom. However this breaks the almost perfect workflow and increases time and room for error. It would no longer be an automated process which could easily be applied to clips in bulk.
Please have LR create the sidecar file with when exporting in original format or at least have an option for it!The proposed workflow may not be valid based on the discussion here: http://forums.adobe.com/thread/947245?tstart=0 but the sidecar file point still is. Exporting as H.264 does not preserve metadata either. LR shows no camera / exposure / date time information for the H.264 version.
Maybe you are looking for
-
Memory Question for min 2011 iMac
I want to add more memory for my imac. I done the searches but I'm getting bits and pices of info so here are my questions ( I have 8gb of memory installed now. 2x4 gb) 1. how much can i put in the 16 apple says or 32 ive read? (or any inbetween)? 2.
-
Why don't animated GIFs open in Preview now?
Before updating to Yosemite, animated GIFS opened in Preview. Now, I get a box telling me that it may be damaged or use a file format that Preview doesn't recognize. I have never had any issues before, and these are all images used before. Please ad
-
[HELP] Problem on JTree node mouse event !
I implement a JTree component in my application. Now, I want it acts like windows XP's file explorer: When mouse cursor hovers over some tree node, that node's text became underlined, (font may be also changed as well) and the cursor changes to a 'ha
-
Designer 6i accessing multiple database
Hi I have just installed Des6i and a repository in a particular Oracle 8i DataBase on Windows 2000. I would like to acess other Database (on Linux) with the same Designer and Repository. Is it possible? It seems that I have to install one repository
-
Hi, I am new to OSB.Please advise me where can i get OSB related documents and example scenarios. Thanks & Regards, SR