Problem when creating spool [SAPSCRIPT]
hi all,
everytime i ran by transaction, it always creates 2 forms, which should not be the case,
i checked TDNEWID field in ITCPO, but its blank.
do you have any idea?
Hi,
check this wiki...
http://wiki.sdn.sap.com/wiki/display/Snippets/DownloadSAPScriptoutputtoPDF+file.
Prabhudas
Similar Messages
-
Problem when creating a sales order with reference by BAPI
I am facing one problem when creating Sales Order.
<b>The scenario is like this while creating SO With reference to an Order type, a new SO will be automatically created with a diff order Type</b>.
I am using "BAPI_SALESORDER_CREATEFROMDAT2".
I am calling this BAPI in USEREXIT_REFRESH_DOCUMENT.
Am I using the right exit to call this Bapi ?
<b>Problems are like :
1. Ref Sales Order creating without Sales Unit .
2. "Object Status does not exist" error msg is coming for Header and Item level(when clicking the status tab and then object status pushbutton).</b> But if testing the bapi from SE37 in test sequence....no such problem persists.
As for example in case of sales unit,in the debugging mode i have seen that BAPI uses a perform to fill the values in the VBAP structure.But after that when it come back to the main program VBAP remains blank.This ocuurs when the BAPI is called from the exit whereas if tested from SE37, VBAP retains the value.
Can u suggest in this ? This is very very urgent............
Thx in Adv.........................Thanks........
Your suggestion was a great help to me.I have used a custom FM and called it in <b>starting new task</b>.
Since i am a university fresher working in SAP for nearly 1 year.....can you please explain me the difference between <b>in update task</b> and <b>starting new task</b>.Why the problem was occuring for which you have suggested to call a custom function module.
what is V1 update and V2 update?Is it attached with asynchronous ans synchronous update.It would be a great help to me if you kindly clear my confusions....
thanks in advance. -
Problem when creating Database (Database, OS and hardware Configuraiton included)
Problem when creating Database:
Below are the problems, which I faced during creation of database. I have mentioned both the problem separately. Plus the log file maintained by Oracle during installation. It might help in diagnosing the error. Plus a little conclusion with I turned up to.
There are two problems, when creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
Problem # 1:
When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
I searched following oracle help for this problem.
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Problem # 2:
When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
I searched following oracle help for this problem.
ORA-12571: TNS:packet writer failure
Cause: An error occurred during a data send.
Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Log File Showing Error :
Result code for launching of configuration tool is 0
Launched configuration tool Oracle Database Configuration Assistant
Command which is being spawned is C:\Program Files\Oracle\jre\1.1.7\bin/jrew.exe -Duser.dir=d:\oracle\ora81\assistants\dbca\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.7\lib\i18n.jar;d:\oracle\ora81\jlib\ewt-3_3_6.jar;d:\oracle\ora81\jlib\share-1_0_8.jar;d:\oracle\ora81\jlib\swingall-1_1_1.jar;d:\oracle\ora81\assistants\dbca\jlib\dbassist.jar;d:\oracle\ora81\assistants\jlib\jnls.jar;d:\oracle\ora81\assistants\jlib\acc.jar;d:\oracle\ora81\jlib\help-3_1_8.jar;d:\oracle\ora81\jlib\ice-4_06_6.jar;d:\oracle\ora81\jlib\netcfg.jar;" DBCreateWizard -progress_only -responseFile NO_VALUE -createtype seed -numusers NO_VALUE -apptype NO_VALUE -cartridges NO_VALUE -options NO_VALUE -demos NO_VALUE -seedloc d:\oracle\ora81\starterdb -sid ora8i -orabase d:\oracle -clususer NO_VALUE -cluspswd Protected value, not to be logged -nodeinfo NO_VALUE -gdbName ora8i
Invalid Exit Code. The following result code will be used for configuration tool: 1
Configuration tool Oracle Database Configuration Assistant failed
The datafiles will be copied from the CD to d:\oracle\oradata\ora8i. The Oracle Database Configuration Assistant will begin creating the database.
An Oracle database will be created for you. The database name will be ora8i. The system identifier for the database will be ora8i. The password for the INTERNAL account will be ******, the SYS account will be change_on_install and the SYSTEM account will be manager.
Log File of Installation:
The above code is a part of the log file, which is generated by Oracle installer at C:\Program Files\Oracle\Inventory\Log\..
I just pasted the part of code, highlighted is the code showing error with Oracle Database Configuration Assistant.
Software & Hardware Configuration are as follow:
Software:
Database
Oracle 8.1.7.0.0 (Oracle8i)
Operating System
Microsoft Windows 2000
5.00.2195
Service Pack 2
Hardware:
x86 Family 6 Model 8 stepping
10
AT/AT COMPITABLE
260,400 KB RAMDont't worry about that. Before you
create a table(or view), it is wise to
drop the table(or view) with the same name.
If the name doesn't exist, of course there
is an error message. See the following script:
-------------------begin-----------
drop table students cascade constraints;
create table students (
sid varchar2(5),
fname varchar2(20),
lname varchar2(20) not null,
minit char,
primary key (sid));
--------------end-----------------
Good day!
null -
Problem when creating CAF Entity Service finder Methods
Guys,
Can any one please suggest me appropriatly to the below problem.
I am using NWDS 7.06. I have no problem when creating CAF project, Application Service and Entity Service even.
But in the Entity Service:
1. Add a string or longtext attribute.
2. try to create a custom finder method in operations tab, during that operation i am not finding the attribute which i have created in step1.
That means i am not able to create the my own finder methods with parameters.
I was able to do that in some version long ago but i have forgotten that NWDS version.
summary of Problem Is: " Cannot create custom methods with custom parameters in Entity Service"
Can you please suggest me the right version or a solution to this problem on urgent basis please.
I promise you that i will give you full points to you who ever gives me the right solution.
Please mail your suggestions to [email protected]Guys,
I have solved the problem successfully. Thanks for your attention. -
Problem when Creating Project (Composite Application Services) in NWDS
I've seen a few posts regarding this but I don't feel as if any real solution was given.
I just installed Netweaver Developer Studio (7.0.15) with the current JDK/JRE (1.6.0_07). When trying to create a new Composite Application Services project within the Studio, using the new project wizard, I get an error: Problem when Creating Project.
I get the EJB Module and Dictionary to create within my navigator with no problems, however, during the creation of the metadata, the error occurs. I do have the metadata folder appear within the navigator, but nothing in it. None of the other three items are created.
I have tried the attempt at deleting the metadata folder within my workspace directory and trying again but the same exact result occurs.
Is there any other solution out there for this problem besides attempting to find older versions of NWDS, etc. that are more "stable"?
Thank you!Durga,
Very simple but effective solution.
I had tried uninstalling / re-installing NWDS with no effect but uninstalling / re-installing NWDS AND all java related products on my machine did work.
Note: For anyone else with this issue in the future. I installed the Java SDK / JRE 1.4.2_18 with NWDS 7.0.15 in case this is also a possible issue with versions.
Thanks, Durga! -
Problem when creating contract with foreign trade / customs
Hi,
I encountered a problem when creating contract / outline agreement.
I used ME31K to create a contract with a vendor outside of our country. I suppose that I should be able to see "Foreign Trade / Customs" in "Header" menu, but this entry is gray, I cannot enter it.
I tried to create a scheduling agreement using ME31L with the same vendor and material, I can see "Foreign Trade / Customs" information. I suppose these two process are similar, aren't they?
Btw., I checked the master data according to this thread:
http://help.sap.com/saphelp_46c/helpdata/en/ed/3b6cc697e711d1b4e20000e82d81b0/content.htm
Can anyone give me some hint?
Thanks!
CharlieThese two processes are different:
The Contract agreement or the Outline Agreement is that create the centrally contract (cross-plant) where it can maintain different pricing conditions for each and every plant. It creates the Release Order with reference to Outline Agreement. No detailed delivery schedule can be made in the Release Order. No Release documentation is created. Only time-dependent conditions can be created, Some Item Category 'M' and 'W' can be used.
Whereas the Scheduling Agreement is the Plant Location what must be entered in the Scheduling Agreement. Its no need to create any other purchasing document except for delivery schedule line via Transaction ME38 or MRP running (with the appropriate setting of Source List). Delivery Schedule line items are created subject to your specific requirement. It can create both Scheduling Agreement with or without release of Documentation (subject to the Document Type LP or LPA) with the selection of either FRC or JIT delivery schedule. Either time-dependent or time-independent conditions can be created subject to the customizing in the Document Type of the Scheduling Agreement. Item Category 'M' and 'W' can not be used. -
Problem when creating Database with Database, OS and hardware Configuraiton
Problem when creating Database:
There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
Problem # 1:
When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
I searched following oracle help for this problem.
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Problem # 2:
When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
I searched following oracle help for this problem.
ORA-12571: TNS:packet writer failure
Cause: An error occurred during a data send.
Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Software & Hardware Configuration are as follow:
Software:
Database
Oracle 8.1.7.0.0 (Oracle8i)
Operating System
Microsoft Windows 2000
5.00.2195
Service Pack 2
Hardware:
x86 Family 6 Model 8 stepping
10
AT/AT COMPITABLE
260,400 KB RAMuser563502 wrote:
I am working on Solaris 8. What is Alert_SID.log? where can I find it?
ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
to be honest with you, this is not your work. -
Problem when creating Database (Database, OS and hardware Configuraiton)
Problem when creating Database:
There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
Problem # 1:
When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
I searched following oracle help for this problem.
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Problem # 2:
When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
I searched following oracle help for this problem.
ORA-12571: TNS:packet writer failure
Cause: An error occurred during a data send.
Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
Conclusion:
What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
Software & Hardware Configuration are as follow:
Software:
Database
Oracle 8.1.7.0.0 (Oracle8i)
Operating System
Microsoft Windows 2000
5.00.2195
Service Pack 2
Hardware:
x86 Family 6 Model 8 stepping
10
AT/AT COMPITABLE
260,400 KB RAMuser563502 wrote:
I am working on Solaris 8. What is Alert_SID.log? where can I find it?
ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
to be honest with you, this is not your work. -
Website structure causing problems when creating livecopy based on a blueprint
Hi,
Our website structure goes like this:
company/
products/
services/
contact us/
etc...
Our site is single language and hence the structure. Now we have a problem when creating a livecopy (for mobile site) based on a blueprint.
It seems that for the livecopy (based on a blueprint) to work, the site structure needs to be like this:
company/
en/
products/
etc...
It's too late for us to include another layer. What's the best way to create a livecopy based on a blueprint? Or should we just go with livecopy without the blueprint? But then are we missing out on the sync benefit from the blueprint?
Thanks!!Hi Chaack,
Thanks for this idea. I have tried this before but couldn't get the livecopy to sync.
I tried to do it through the blueprint by right click and select 'rollout'. But nothing happens. The 'blueprint' tab on the page properties on the livecopy site is grayed out. I think the blueprint I created is not associated with the livecopy and that's why the rollout does not work. If the livecopy was created through 'Create site' then the blueprint is available to choose on step1. But not when you 'create live copy'. Is there anyway to link the blueprint to the livecopy if the livecopy was created through 'create live copy'?
Thanks!!! -
"Problem when creating project"
Hi,
I am trying to create a new Composite Application Services project using Netweaver studio 7.011. When it came to the final step of the Project creation wizard, an error message pop-up saying "Problem when creating project".
I have tried the methods posted in the forums, but its doesn't work for me.
"Problem when creating project"
Problem creating a composite applications project
Can advise on how to resolve this?
I am currently using Java 1.4.10 and NW2004s SP11.
Thanks a lot.
Regards,
aiweiHi Chandan,
I still encounter the error message and this time, it only create the ejbmodule folder. In mine previous creation, I have dictionary, ejbmodule, metadata and webdynpro.
I realised that there is some different in the .plugin folder and the previous .plugin folder of the .metadata.
Not sure whether is it affected by the .plugin folder. Is there a list of .plugin required?
can advise?
Thanks again. -
Problem when creating business partner
Dear Expert,
I have a problem when creating business partner from T-code BP
I can't input vendor number in company code header data
The vendor account field is set to required entry.
When create business partner, I make some entry like :
Business partner category : organization
BP Role : Landlord with vendor account
Grouping : external number assignment
Company Code : 1000
The problem is everytime i try to input vendor number, it always failed.
The Vendor account field always display ' <external> '
It's strange.. the vendor field it's seem locked by grouping
What should I do??
___Company Code Header Data___
Company Code : 1000
Customer : <external>
Vendor : <external>
I need your advise.. thank you very much
Thanks,
tweetyHi,
I would like to suggest you some SAP notes that contain useful information aobut customer-vender intergration of ERP2005.
956054 BP_CVI Customer-vendor integration as of ERP2005 (ECC600)
This notes describes the changes (new development) of CVI AND the necessary customizing settings.
In short, CVI is now bidirectional.
1. BP -> Customer/Vendor: it depends on the roletype configuration, if a customer/vender is created.
2. Customer/Vendor -> BP: it depends on the account group if a BP is created.
Data is changed then synchronoously.
Further notes that might be of interest.
851445 BP_CVI: Details about reports to be executed for ERP 2005
727205 Conversion of industry Customizing in BUPXPRA12
1077616 Business Partner Upgrade FAQ
If you have further questions please let me know.
Regards, Franz -
Problem when creating sapscript from within function module
Hi,
I created a function module which retrieves some master data, creates a sapscript for displaying the data and finally converts the sapscript to an otf. Afterwards the otf is converted to a pdf file.
The problem is that the pdf file is created but it is empty!
Here is a piece of the code:
FUNCTION zhr_display_jobdescrpdf.
* To access the SAP script output in OTF format.
struct-tdgetotf = 'X'.
struct-tdprogram = SY-REPID.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
* APPLICATION = 'TX' " this is SapScript Appl
device = 'PRINTER' " allow output to printer
dialog = 'X' " printer dialog requested
form = 'ZHR_JOB_DESCR' " name of form (SE71)
language = 'E'
OPTIONS = struct
CALL FUNCTION 'START_FORM'
EXPORTING
* ARCHIVE_INDEX =
form = 'ZHR_JOB_DESCR'
language = 'E'
* STARTPAGE = ' '
* PROGRAM = ' '
* MAIL_APPL_OBJECT =
* IMPORTING
* LANGUAGE =
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'TEXT'
function = 'SET'
type = 'BODY'
window = 'MAIN'
CALL FUNCTION 'END_FORM'
* IMPORTING
* RESULT =
EXCEPTIONS
CALL FUNCTION 'CLOSE_FORM'
* IMPORTING
* RESULT =
* RDI_RESULT =
TABLES
otfdata = datab[]
EXCEPTIONS
ENDFUNCTION.
The content of datab[] is:
1 // XHPLJIIID 0700 0000000000
2 IN 01EZHR_JOB_DESCR MAIN
3 OP DINA4 P 144 240 1683811906000010000100001
4 IN 02MAIN
5 EP
6 //
So none of the variables that are used in the sapscript were transferred, although they are filled with the correct values when I put a breakpoint on the function 'write_form'. It looks like the sapscript can't access variables that are declared in a function module.
Putting all the code for creating the sapscript in a report is not an option because then I have to use export/import to/from memory for retrieving the otf data and this doesn't work with the sap portal where the function is called.
Did anyone had the same or similar problem?
Greetings,
FrederikHi,
Yes my problem is already solved.
I created a report which creates the sapscript and in my function module I just execute that report.
So problem solved :-).
Greetings;
Frederik -
Problems when creating a transfer order for moving storage units
Hi,
When creating a TO for moving storage units with FM FU L_TO_CREATE_MOVE_SU i got problems when the storage unit consist of 2 items. The message 'Warehouse number does not exist (new selection required)'
is displayed. When i use the FM again after this message then the TO is created correctly.
When i debug the FM for 2 items is see that LEIN-LGNUM is empy en when performing:
PERFORM T300_LESEN(SAPML03T) USING LEIN-LGNUM. and the message E080 is raised.
The perform before this is determining the lein-lgnum (PERFORM LENUM_EINL_CHECK(SAPML03T) USING I_LENUM) but this value isnt passed to the calling program the first time (memory or something????)
Does anyone have a solution for this problem?
Thx in advance.
Kind regards,
John NijburgHello,
I had the same problem today and I've fixed it by calling the FM in a different task (asychronous) .. this way the fugr/internal variables will be loaded again and you won't get this stupid error anymore.
CALL FUNCTION 'L_TO_CREATE_MOVE_SU' STARTING NEW TASK lv_task
In case you need it syncronous use PERFORMING clause together with WAIT UNITL
Hope this helps!
Cristian -
ORA-00600 problem when create XMLType table with registerd schema
Hi,
I am using Oracle9i Enterprise Edition Release 9.2.0.4.0 on RedHat Linux 7.2
I found a problem when I create table with registered schema with follow content:
<xs:element name="body">
<xs:complexType>
<xs:sequence>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="class" type="xs:NMTOKENS"/>
<xs:attribute name="style" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="body.content">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="p"/>
<xs:element ref="hl2"/>
<xs:element ref="nitf-table"/>
<xs:element ref="ol"/>
</xs:choice>
<xs:attribute name="id" type="xs:ID"/>
</xs:complexType>
</xs:element>
Does Oracle not support element reference to other element with dot?
For instance, body -> body.content
Thanks for your attention.Sorry, amendment on the schema
<xs:element name="body">
<xs:complexType>
<xs:sequence>
<xs:element ref="body.head" minOccurs="0"/>
<xs:element ref="body.content" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="body.end" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID"/>
<xs:attribute name="class" type="xs:NMTOKENS"/>
<xs:attribute name="style" type="xs:string"/>
</xs:complexType>
</xs:element> -
Problem when creating a Form with Launch Task Form Wizard
Hi all,
I'm using jdeveloper 11.1.1.6 over Windows 7 64bits for my BPM project.
I'm a new with BPM and i have a problem when trying to create a task's Form with the "Launch Task Form Wizard". I'm trying to create my Form based on a custom template, i already have imported the template as a library, now after i have selected the template i follow the wizard and i reach the wizard's rowX-columnX where i should choose the field i want in my form, but the problem is that i don't see any fields in that part of the wizard, the window is empty :(
I have created a business object based on a XSD, then i created a process data object based on the previous created business object and finally i used this data object as a parameter to the human task.
What could be my problem ?? :( :(
Regards
CarlosI have also faced this issue few times. There could be a namespace issue / schema issue. Please check if you are able to see task:task in the schema section anywhere in the .task file you created. If that is not shown, the fields will not appear while creating human task form.
Thanks
Ashwini
Maybe you are looking for
-
Displaying multiple midi regions in piano roll
I have overdubbed some midi tracks and would like to view and edit them in one window of the piano roll. The manual says "Ensure that View > Show Selected Regions Only is switched off." Well for the life of me, I cannot find any option in either view
-
Please help, this code is trashing the database
I have the 'pleasure' of fixing a view that as you can see in poorly written, and it is in production. This thing is dying in production is giving me ORA-03113: end-of-file on communication channel error, I did my research and it is a patch that the
-
Magic mouse & trackpad "clicks" produce menus instead of desired actions. Menus can be cleared using esc key, but additional clicks usually produce menus until I hit the magic click that initiates the desired action. How can I deactivate the menus t
-
Hi I have a problem in MAX and GPIB. I installed my GPIB card and driver that work properly. However, I cannot find the card in MAX's "Devices and Interfaces" so that I cannot use "Scan fot instrument". I use MAX2.1 and NI488.2 version 1.3. How could
-
Custom Export Declaration Form in GTS
Hi, Good day! I would to ask for your assistance with regard to the Print Program of standard Smartforms in GTS. Currently, I need to replace the standard Export Declaration Form with a custom form. I found in SPRO that the current standard form is