Spool not generated for some conditions
<b>Requirement :</b>Developing a data transfer program. Approach used is Call Transaction in S mode.
In some cases(if Receiving Storage Location is PKGX) I need to load only MB11 and other cases I need to load 3 transaction sequentially MB11 creates Mat. Doc. No. which in turn passed to the LT06 to create TO(Transfer Order) and the TO passed to LT12 to confirm TO.
<b>Problem </b> When I run it in background(it generates report in foreground), job finished successfully, data is loaded into system and spool status shown as error ONLY IF ALL THE 3 TRANSACTIONS CALLED AND LOADED.
<u>I debugged the Batch Job(using t-code JDBG) line by line output,contents are writen to output but at the end spool goes into error and report is not visible.</u>
In all other cases like messages/outputs due to record not correct or/and only MB11 is to be processed, spool is generated with status Waiting and report is visible.
<b>Statement at top </b>
REPORT ZL6C_LOAD_INVENTORY_WM_SLOC
NO STANDARD PAGE HEADING
MESSAGE-ID ZOLSC_AS
LINE-COUNT 65
LINE-SIZE 148.
<u>It works if I set line-size as 132 .</u>
To overcome this I used FM GET_PRINT_PARAMETER with various cominations of parameter passed but it doesnt work
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
COPIES = L_C_ONE
DEPARTMENT = L_C_SYSTEM
DESTINATION = L_C_LOCL
EXPIRATION = L_C_2
LAYOUT = L_C_X_65_255
LINE_COUNT = L_C_65
LINE_SIZE = L_C_255
LIST_NAME = L_LIST_NAME
LIST_TEXT = L_LIST_TEXT
MODE = 'BATCH'
NEW_LIST_ID = G_C_X
NO_DIALOG = G_C_X
RECEIVER = L_C_SAP
RELEASE = G_C_X
SAP_COVER_PAGE = G_C_X
REPORT = SY-REPID
USER = SY-UNAME
IMPORTING
OUT_PARAMETERS = L_PARAMS
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4
IF SY-SUBRC = 0 AND NOT L_PARAMS IS INITIAL.
NEW-PAGE PRINT ON PARAMETERS L_PARAMS NO DIALOG NEW-SECTION.
G_SPOOL = 'X'.
ENDIF.
Also when I use this FM under INITIALIZATION then it generates the spool but content written at TOP_OF_PAGE not displayed. When I use it under START-OF-SELECTION, problem still remain same.
Please Suggest
thanks
Sonal
Hi,
All spool requests will be stored in TSP01 table
TSP01 - Spool Requests
field name for Spool request number is RQIDENT
Hi,
Take a look at OSS Note 422136 which states:
"2. You can only store one spool request even if a step generates several spool requests during processing. The application is responsible for a "spool overview" in this case. If a step generates several spool requests during processing, only one request can be stored. In this case, the application report should issue the number with a message when writing a spool request so that it is then displayed in the job log."
Also take a look at OSS Note 519059 which further supports the case that you must capture the individual spool numbers as they are being created (i.e. within the job step's program). The note contains the following:
8] Question: How are the spool requests assigned?
Answer: The step information is stored in table TBTCP. This has space for exactly one spool request (field LISTIDENT). If a step generates several spool requests during the processing, only one can be stored. In this case the application is responsible for a "spool overview
<b>Reward points</b>
Regards
Similar Messages
-
Spool not generated in some condition
Requirement :Developing a data transfer program. Approach used is Call Transaction in S mode.
In some cases(if Receiving Storage Location is PKGX) I need to load only MB11 and other cases I need to load 3 transaction sequentially MB11 creates Mat. Doc. No. which in turn passed to the LT06 to create TO(Transfer Order) and the TO passed to LT12 to confirm TO.
Problem When I run it in background(it generates report in foreground), job finished successfully, data is loaded into system and spool status shown as error ONLY IF ALL THE 3 TRANSACTIONS CALLED AND LOADED.
I debugged the Batch Job(using t-code JDBG) line by line output,contents are writen to output but at the end spool goes into error and report is not visible.
In all other cases like messages/outputs due to record not correct or/and only MB11 is to be processed, spool is generated with status Waiting and report is visible.
Statement at top
REPORT ZL6C_LOAD_INVENTORY_WM_SLOC
NO STANDARD PAGE HEADING
MESSAGE-ID ZOLSC_AS
LINE-COUNT 65
LINE-SIZE 148.
It works if I set line-size as 132 .
To overcome this I used FM GET_PRINT_PARAMETER with various cominations of parameter passed but it doesnt work
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
COPIES = L_C_ONE
DEPARTMENT = L_C_SYSTEM
DESTINATION = L_C_LOCL
EXPIRATION = L_C_2
LAYOUT = L_C_X_65_255
LINE_COUNT = L_C_65
LINE_SIZE = L_C_255
LIST_NAME = L_LIST_NAME
LIST_TEXT = L_LIST_TEXT
MODE = 'BATCH'
NEW_LIST_ID = G_C_X
NO_DIALOG = G_C_X
RECEIVER = L_C_SAP
RELEASE = G_C_X
SAP_COVER_PAGE = G_C_X
REPORT = SY-REPID
USER = SY-UNAME
IMPORTING
OUT_PARAMETERS = L_PARAMS
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4
IF SY-SUBRC = 0 AND NOT L_PARAMS IS INITIAL.
NEW-PAGE PRINT ON PARAMETERS L_PARAMS NO DIALOG NEW-SECTION.
G_SPOOL = 'X'.
ENDIF.
Also when I use this FM under INITIALIZATION then it generates the spool but content written at TOP_OF_PAGE not displayed. When I use it under START-OF-SELECTION, problem still remain same.
Please Suggest
thanks
SonalHello All,
I checked in SM58. It showed an error.
I checked my function module attributes. It was normal. Changed it to Remote enabled.
Now spool is generated.
Regards,
Kausthub -
Outbound Idocs are not generated for some material number MATNR
Hi all,
We are using a custom program to process the IDOCS to some other thirdparty systems.
but the problem is the IDOCS are not generated and also we can't find the IDocs in TRFC also.
But it is working for the other matnr.
I have already debug the custom program, and it is taking all the inputs correctly.
plz guide me guysHi Praveen,
This is the code I am using
LOOP AT GS-MATNR_WERKS ASSIGNING <MATNR_WERKS>
GS-COUNT = GS-COUNT + 1.
GS-TEXT = 'IDOC for Material & & (& of &) is just being created'(001).
REPLACE '&' WITH <MATNR_WERKS>-MATNR INTO GS-TEXT.
REPLACE '&' WITH <MATNR_WERKS>-WERKS INTO GS-TEXT.
REPLACE '&' WITH GS-COUNT INTO GS-TEXT.
REPLACE '&' WITH GS-LINES INTO GS-TEXT.
CONDENSE GS-TEXT.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
TEXT = GS-TEXT
validation code for the MATNR & WEKRS
CALL FUNCTION 'Z_MASTERIDOC_DISTRIB_ZCOPEBOM'
EXPORTING
MATNR = <MATNR_WERKS>-MATNR
WERKS = <MATNR_WERKS>-WERKS
MESSAGE_TYPE = P_MESTYP
GS-CREATED = GS-CREATED + 1.
GS-COMMIT = GS-COMMIT + 1.
IF GS-COMMIT >= 100.
GS-COMMIT = 0.
COMMIT WORK.
ENDIF -
Spool not generated for background job
Hi all!
I have a Zprogram that does some validation and submits the data to transaction ME59 using SUBMIT statement. The program is running fine in foreground.When it is scheduled for background, the spool is not getting generated. I know that if a program contains SUBMIT statement, the spool will not be generated when run in background. But is there a way to make it work? The client requires the exact output that we get in foreground.Hi,
All spool requests will be stored in TSP01 table
TSP01 - Spool Requests
field name for Spool request number is RQIDENT
Hi,
Take a look at OSS Note 422136 which states:
"2. You can only store one spool request even if a step generates several spool requests during processing. The application is responsible for a "spool overview" in this case. If a step generates several spool requests during processing, only one request can be stored. In this case, the application report should issue the number with a message when writing a spool request so that it is then displayed in the job log."
Also take a look at OSS Note 519059 which further supports the case that you must capture the individual spool numbers as they are being created (i.e. within the job step's program). The note contains the following:
8] Question: How are the spool requests assigned?
Answer: The step information is stored in table TBTCP. This has space for exactly one spool request (field LISTIDENT). If a step generates several spool requests during the processing, only one can be stored. In this case the application is responsible for a "spool overview
<b>Reward points</b>
Regards -
Spool is generated for purchase order print
Hi Experts,
We created new printer in production system and defined this as default printer in message conditions. Problem we are facing is that spool is not generated for this printer and message become red. In message log, system is not displaying any error
For other printers system is behaving fine and able to generate spool and print.
Regards,
KamalKamal,
Please ask your Basis team to configure the new Printer in SAP.
Regards,
Manish -
Condition recordscoz for some condition type4s
hi all,
how can we maintain condition records for some condition types,For eg...
MWST
SKTO
FRA1
ZA01
RA01
HB01
RB00..etc..apart from MEK1..coz for some condition types this t.code dose`nt work
Edited by: MANI ROOPA SD/MM on Feb 28, 2008 12:06 PMHi,
The condition types you have mentioned are supplimentary conditon types and they afre dependent on the main conditons ( Like PB00 ), so they don not have any access sequence.
Regards
Reward Points if useful -
TimeStream Error (not generated for year 1970)
Dear Experts ,
I am facing a problem with Time Stream .... When i try to open a Planning Book i am receiving the following message:
Timestream (TS ZBRSNP_ZF ) not generated for year 1970
Message no. T9507
Diagnosis
The date is outside the periods maintained in the factory or planning calendar (timestreams).
System Response
The error causes a system crash.
Procedure
a) Regenerate the timestream as far in the future (or possibly the past) as possible
or
b) Use the report ZZTSTRDELE to delete the runtime objects of the timestreams, if changes have been made to Customizing settings. For more information, see SAP Note 169885.
It starts happen after i included Initial Column at Planning Book .... The Factory Calendar that i am using starts on 2006 and ends on 2020 .... The timestream i am using is looking for 2 years in the past and 9 years in the future.
*The message above says that it is necessary to execute report ZZTSTRDELE but i am having some problems while donwloading SAP note. It is possible do delete it manually? exist another way to fix this issue?
Please i hope someone can help me as soon as possible ....
My Best Regards
Mauricio FilhoHi Sunitha,
We have same type of problem now, could you plz adivise me how to fix this error and where we need to configure to overcome this error.
Thanks in advance
Sreeenivasu -
Outlook autodiscover is not working for some users in coexistence
Hi
We are doing exchnage 2013/2010 coexistence
Most everything is ok BUT outlook autodiscover is not working for some exchange 2010 users now that 2013 is in the front!!!. We end up creating the profiles manually. It has affected some but not all the users.
I followed the instructions here but it didn't help.
http://blogs.technet.com/b/tips_from_the_inside/archive/2012/01/11/autodiscover-fails-for-one-or-more-users.aspx
Using outlook 2010, 2013, patches, .... didn't make a difference
Would you please help?
Thank youHi
If it is affecting only few handful of users i could suspect a mailbox corruption and would recommend to move mailbox and see the results.
Also you can try below
You need to set the values MaxFieldLength, MaxRequestBytes & MaxTokenSize to below on Exchange 2010 CAS servers as well as Exchange 2013 CAS servers
Path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters
Name: MaxFieldLength
Type: DWORD
Value: 65534
Path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters
Name: MaxRequestBytes
Type: DWORD
Value: 16777216
Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters
Name: MaxTokenSize
Type: REG_DWORD
Value: 48000
Just reboot the servers once its done and you will be good to go.
References
https://social.technet.microsoft.com/Forums/en-US/cc2929ac-4d36-4e84-a567-ce9b3bec1398/http-400-bad-request-on-iis-8-exchange-2013-cu2-on-windows-server-2012-autodiscovery-is-not?forum=exchangesvrgeneral
http://blogs.technet.com/b/kristinw/archive/2013/03/28/recommended-changes-and-enhancements-to-support-exchange-in-an-enterprise-environment-whew.aspx
Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
(MVP) -
MAM application is not working for some users
Hi All,
Tha MAM application is not working for some users.Different users have different workcenters other than that I dont see any other change. When I run MAM30_090_GETLIST in the backend I can see the no of customized users.But I cant see same no of users in the MEREP_207 table for the Syncbo MAM30_090 and strcture id TOP in the middleware. There is a data when I checked under worklist monitor for that user. But neither the MAM application nor MAM data is downloading to that device.
If I use different user on the same device I can see the MAM application and MAM data.
What could be the wrong in this case. Any help would be highly appreciated.
Mobile Client:MI 70 SP 15 Patch 0 Build 200802280918
Middleware:SAP NetWeaver 2004s with Patch leve 15
Backend:SAP ECC 6.0
Application:MAM 3.0
Thanks and Regards,
Ameer.Hi,
from your description the source of your issue is quite obvious: some of the MAM users configured in spro are not configured properly.
For T01 SyncBos the number of TOP records in merep_207 MUST be the same as number of headers returned by an appropriate getList FM in the backend.
You need to solve this before you can go any further.
Reason why a record is not recorded in MEREP_207 - getdetail failed for whatever reason. So execute MAM30_ML_getdetail for each of the users that is not replicated in the middleware and check if there are errors in RETURN table. If there is no error - one of the common reason for replication fail is when there are records in item tables that have duplicate primary keys.
Regards,
Larissa Limarova -
Lines are not generated for holidays and sundays
Hi
creating a sale order shcedule lines are not generated for sunday for a particular plant .
Schedule lines are generated for subsequent monday only.
the plant calander is also correct
with regards
parthaHi
I would really double check the factory calendar ans the of the plant and sales organisation
regards,
Sidi -
Excise Accounting document not generated for Imported Asset GR
Dear all,
Excise accounting document is not generated for imported asset goods receipt(MIGO)
but "C" Register part 2 no. is generated,usual accounting document is generated for GR,
Asset is Dr to GR/IR
Process is
1. Create asset purchase order with acct. assignment "A",
2. Customs miro based on p.o.
3. Do GR with excise
4. Post invoice for orginal vendor.
What will be cause of this problem ?
How to solve this issue ?The above issue may be due to Accout assignmnet -A . Check your accout assignment in spro -mm-purchasing -accout assignment - Asset A - GR Non valuated has Ticked on . If it is ticked on - No Fi entry will happen at the Time of GR .
The reason being , if an FI entry happen for the first time , asset is capitalised . To avoid this GR is made in ur config as this .
rewdzzzz is full if correct
Edited by: manu m on Apr 24, 2010 11:11 AM -
Accounting document not generating for excise invoice.
Dear all ,
my issue is
accounting document not generating for excise invoice
we are creating accounting document in J1iin
with refferance to billing document but the accounting docuemnt is not generating
the accounting document for billing document is generated
so why the accounting document for excise invoice is not genrating its showing the correct amount in BED ,cee and HE Secc.
please help
regards
SubratIMG -> In Logistics u2013 General -> Tax on Goods Movement -> India -> Account Determination -> Specify Excise Accounts per Excise Transaction
Check if the following is maintained or not
DLFC CR Credit PLAAED PLA AED account
DLFC CR Credit PLAAT1 PLA AT1 Account
DLFC CR Credit PLABED PLA BED account
DLFC CR Credit PLACESS PLA cess account
DLFC CR Credit PLAECS PLA ECS Account
DLFC CR Credit PLASED PLA SED account
DLFC CR Credit RG23AED RG 23 AED account
DLFC CR Credit RG23AT1 RG 23 AT1 Account
DLFC CR Credit RG23BED RG 23 BED account
DLFC CR Credit RG23ECS RG 23 ECS Account
DLFC CR Credit RG23SED RG 23 SED account
DLFC DR Debit MSUSP CENVAT suspense account
Also IMG -> In Logistics u2013 General -> Tax on Goods Movement -> India -> Account Determination -> Specify G/L Accounts per Excise Transaction
Check if for all Excise group u2013 DLFC u2013 Company Code combination GLs are maintained or not (especially in production client) -
Accounting document not generating for excise invoice-please help
Dear all ,
my issue is
accounting document not generating for excise invoice
we are creating accounting document in J1iin
with refferance to billing document but the accounting docuemnt is not generating
the accounting document for billing document is generated
so why the accounting document for excise invoice is not genrating its showing the correct amount in BED ,cee and HE Secc.
please helpDear G. Lakshmipathi,
As uknow i am getting problem when i am creating the debit memo
so is there any specific ETT for debit memo is there .because we are not maintaining delivery type to billing type here in CIN setting
so its not goods removal through sales . so what will be transaction type for this.
how to check the error that why the accounting document is not generated as no error log is also comming.
so please help me in this regards.
Thanks with Regards
Subrat -
In Robohelp 9, search does not work for some Vietnamese characters.
In Robohelp 9, search does not work for some Vietnamese characters.
I don't think there is anything we can do on a user to user forum. I suggest you report this to Adobe as a bug. Please follow this link.
http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
If you need a more immediate response, you would need to take that up with Adobe support.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
Issue regarding 0MATERIAL_ATTR - Attribute not Updated for Some Materials
Hi All,
As per requirement, I had enhanced 0MATERIAL_ATTR DS with one customer field MRP Controller.
After enhancing 0MATERIAL_ATTR, I had made necessary changes in related objects like 0MATERIAL Info Object & related transformation for this new attribute.
After making changes, when I had done Repair full request for 0MATERIAL_ATTR, newly added attribute had not updated for all material, other attributes were updated correctly but MRP controller had not updated for some records.
I am confused with why attribute(MRP controller) updated in some Materials & for some materials its not updated.
I had checked in PSA, data for this added attribute is come in PSA but not updated in data target (0material).
I had also activated master data by running Attribute change run but still problem persist.
Please help.
Regards,
Divyesh KhambhatiHi Venkatesh,
I had write code in CMOD for MRP controller.
As data is coming fine till PSA but its not updated in Data Target (0MATERIAL) .
if I take one example..
For exp Material XYZ has two entries in PSA table, one is updated during delta load & recent one which come though Repair Full request.
Now newly adder attribute MRP controller available in recent request of Repair Full but that is blank in case of prior delta update.
I am confused because MRP controller attribute is updated for some Material but for some material its remain blank.
please help.
regards,
Divyesh Khambhati
Maybe you are looking for
-
How to add a sub report at the end of the main report whilst grouped
Hi! I have a main report that is grouped by the Customers name and then details of transactions they did with the company. I need to add a letter at the end of each group for each customer (With their name displayed in the letter). I tried adding a s
-
Setup AExpress to share internet w/ iMac (internal Airport)
Thw iMac in house is sharing internet through on board airport: "House Computer" over Network Fastaccess DSL/Airport connection. Home office is in backyard and signal is weak so I bought a Airport Express. When I run iMac's Airport Utility it sees th
-
Calling a componet fron the parent class
Hi all, I'm currently developing a flex application where i need to pass the data from the login form to a parent state. Does any body know how i should go about doing that??
-
Controlling Commit Sequence In Forms.
My Environment is Oracle Forms10g R2. Is it Possible to Control the commiting of blocks? e.g. I have three blocks A,B and C. I want to Commit B then C and then A. Can I do that? Regards, Eric.
-
How rman backup messages printed in alert file?
surprised how the messages of rman getting printed in alert file? i am using 10.2.0.4 on AIX and using veritas net backups.....from rman..... ORA-19624: operation failed, retry possible ORA-19506: failed to create sequential file, name="c-1650503797-