How to generate a Spool based on output type in SAP Script
Hi all,
Is it possible to generate a spool based on output type for a SAP Script (without explicitly trigger in Tcode VF02 and selecting output type from there )
Actually a background job will be scheduled to process output types selected in VF01 / VF02
When output type is ZABC in the background a work flow is called pdf is generated
Any suggestions please
Similar Messages
-
hi all,
what is this output type?why it is needed?
i have developed a print prog for exise invoice
but not used output type anywhere to see the output of the form.
so my question is when this output type is reqired and when not?
whther i should create output type for the above print program also. whether it is good practice to have output type? if yes why and how can we create output type for my above program?
thanks & regards
sanjeev
Message was edited by: sanjeev singhHi,
quite interesting question, but difficult to put it in nutsehll.
Definition
An output type (or also a "condition type") summarizes messages of the same meaning. It contains parameters that are valid for all its assigned messages, for example appropriate partner functions.
BA00 (order confirmation), MAIL (internal message), KRML (credit limit exceeded)
Use
For each transmission medium, one form routine in a program is assigned to the output type. This form routine is called for processing the message (message status record).
For transmission medium 7: SAPoffice mail you can assign the output type title and text of mails which are used as default values in the condition records, that is to say, in the messages.
Try this link.
http://help.sap.com/saphelp_nw04/helpdata/en/c8/19884743b111d1896f0000e8322d00/content.htm
Feel free to revert back.
--Ragu -
Hi experts,
what are output types ? and how can we fetch the name of script program and SAP script layout using output type only.
For example if the out type is LD0010 the how can i get the program name and script name of this particular output type.Use TNAPR table. Enter your ouputtype in KSCHL.
Then you can see NACHA - Message transmission medium i.e., Printout / fax / etc
KAPPL - Application ie.e, sales / shipping,
PGNAM - Program name,
FONAM- Form name -
Regarding Creation of Output types for SAP SCRIPTS
Hi All,
I want to create new output types for my SAP Script.
What is the procedure for creating new <b>Z - Output Type</b>.
Like <b>ZA01 for Sales Order</b>.
What is the procedure can any body help me in this regard.
It is not to use <b>ZA01</b> in <b>NACE</b> & connect Print Program & Layout set against Form Entry.
It is for creation of <b>ZA01 Output</b> Type itself.
If anybody knows the procedure please post the steps.
Also please mention will there be any diffrence in creation from <b>Module to Module</b> (or) <b>Transaction (Vs) Transaction</b>. Just like <b>Sales Order (Vs) Purchase Order (Vs) Production Order</b>.
Thanks in advance.
Thanks & Regards,
Rayeez.hi Shaik,
Steps for output type:
Go to NACE Transaction
Select V1 - Sales.
Click Output type
In edit mode , click on new entries.
Give output type as ZA01 with some descp.
Then enter , then u need to give the Access seq. as 0010
Rest proprties are more and less similar to the BA00 standard output type in V1 only.
After that u need to give the processing routines.
In that u need to give the Program name
followed by Form routine name
In this way u can create the output from NACE tran.
Let me know if u want anything else.
Cheers
Rewrd points, if found helpful -
Hi Experts,
How to assign the Adobe forms to Output types in SAP HR, and what is the use of assigning the forms(Scrips or Smart forms or Adobe forms )to the output types.
and finally what is an output type, and how they are useful.
Questions:
1. particularly what are the output types available for hiring action in HR.
2. How to assgin custome FORM for a output type.
3. where can we find output type in hr.
4. how to maintain output types for a particular transaction in HR.
Thank you,
B. Raghu prasadHi,
This is HR specific issue. Please go to [HR Forum |SAP ERP Human Capital Management (SAP ERP HCM);
Regards,
Vincent -
How to generate a report based on account description
Hi Experts,
How to generate the report based on account description, that means
i want to generate a report on G/L account and which account numbers are having 'CASH' description.
for Ex: G/L a/c no: 25010026-Cash and Bank balance(des)
G/L a/c no: 101000-Cash-freight
like this.
please help to do this,
good answer will be appreciated with points,
Thanks in advance
VenkatHi shana,
my requirement is
I have G/L account numbers, that account numbers having some descriptions, in these some descriptions are belongs to cash transactions, i want to generate the report on these cash transactions, and the report is " G/L account, debit cash, credit cash, balance".
is it possible or not,
thanks in advance,
Venkat -
How to generate XML file based on XSD in SSIS
please provide step by step process to create xml based on XSD in SSIS
Hi hemasankar,
In SQL Server Integrated Services, we can generate XML Schema (XSD) file based on a XML file with XML Source Editor. If we want to generate XML file based on a XSD file, we can use Generate Sample XML feature in Visual Studio. For more details, please refer
to the following steps:
Click on "XML Schema Explorer" or 'Use the XML Schema Explorer...' to open XML Schema Explorer in Visual Studio.
If your Schema file is valid and you are having elements, right-click on element and click on "Generate Sample XML", this functionality generates XML file in temp folder and open ups in the XML Editor.
The following two document about how to generate XML file based on a XSD file are for your reference:
http://msdn.microsoft.com/en-us/library/dd489258.aspx
http://www.codeproject.com/Articles/400016/Generate-Sample-XML-from-XSD
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Dear Friends,
If there is any functionality or Table from where i can get list of Invoices based on OUTPUT TYPE
we have diff invoice types like sales invoice, service invoice, lease invoice and for all invoices there is dif output type is assigned. If i want to generate service invoices report based on output types assgined to it how we can do that?
Regards
Vishalhi
Thanks Friend
But again there is one problem when i am running this in Devlopment client its working fine but in other client not working n giving message No messages for initial processing exist
what may be the problme?
Regards
Vishal -
Output documents and SAP Scripts
We have an ever increasing problem with Sap Scripts and driver programs for Output Documents. There is a lot of hard coded stuff in the driver programs based on output type.
I
If nast-kschl = 'XX'
Do something
elseif nast-kschl = 'YY'
Do something else
Endif
This is causing a lot of maintainance problems. Logically, such conditional behavior is required. We need to execute different logic for different output types. Similarly there are hard coded conditions based on parameters.
for e.g.
select * from knvk where kunnr = hardcoded and abtnr = hardcoded
The problem is that all this custom hard coded logic is dispersed through out the program and it becomes difficult to maintain them.
I was wondering how folks on SDN have tackled this problem at your various clients.S Kumar -
I think you may have misunderstood my original question.
Consider this scnerio:
If nast-kschl = 'XX'
var1 = A
var2 = B
elseif nast-kschl = 'YY'
var1 = C
var2 = D
Endif
This is a simplified version of what the problem is. There are many output types and many different business logic that are conditionally applied. This is creating havoc in my driver programs. Plus these are 10 year old driver programs. They have been maintained over and over again and numerous changes have taken place.
We would not want to face a similar issue for our next implemention and am wondering what the best solution to this problem would be. Going Smartforms? Would that help? -
How to find the Adobe barcode name for its corresponding SAP Script barcode
Dear All,
We are doing conversions from SAPScript to Adobe forms.
The barcode used in two sapscript forms are 'BC_CD39' and 'ARTINR' respectively .
I would like to know the corresponding barcode name to be assigned to Adobe forms as the above barcode names are not present in the Object Library-> Barcode section of Adobe forms.
regards,
PP>
Muralidhar Medisetty wrote:
> Hi,
>
> I had an issue, in the transaction F110 Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
>
> Thanks in advance.
hey
NACE is the transaction ..for this u must know the output type..
Script for Cheque Printing and Payment Advice can be known from Transaction FBZP...
FBZP -> paying Company Codes -> u will get Script used for Payment Advice
FBZP -> Pmnt methods in company code -> u will get Script used for Cheque Print
....Give points if useful.....
Edited by: Satyabrata sahoo on Oct 14, 2008 4:42 PM -
How to generat multiple invoices based on per employee/contractor/services?
Hello Experts / Dina,
I am in situation where customer is in business of body shopping and charges to his final customer based on individual invoice / per employee /contracor & customer services. This was happening in legacy system but after the implementation of Oracle Project costing and Oracle Project billing, customer is not able to generate invoices per employee services. Rather consolidated invoices are getting generated.
How to achieve this functionality in oracle project billing?
Lets take example - On Project P1 for customer ABC, 3 below employees are working on different task for 3 months.
Now after one month employees have been billed as shown below.
Emp 1 - 1000 USD - for 100 Hrs
Emp 2 - 2000 USD - for 200 Hrs
Emp 3 - 1000 USD - for 50 hrs
Now @ end of the month when invoice is getting generated is 1 invoice including 3 lines of amount total 4000 USD. There is problem; customer wants that there should be 3 different invoices per employee shoud generated based on above mentiond 3 diff lines for customer ABC.
I guess with oracle projects billing - You can split the invoice based on Accrue through date ( which is not possible in this case ) and agreement ( which is also not possible in this case ) and different currency ( which is again not possible in this case) - I may be wrong when saying it is not possible. plz correct me if I am wrong.
even I guess billing extension wont work. So is there any way to achive this?
Right now only option i am thinking is let single invoice of 4000 USD with 3 different lines should pass to AR and while priniting the invoice customer can create 3 diff prints which includes individual lines. and while applying receipts on the single invoice in the system, customer can apply the receipts to indivual lines.
but I am not sure about AUDIT issues.. Can some one think about any AUDIT issues comes to this approch or issues with TAX rounding amount issues ?
Infact I would like to solve this issue with the help of Oracle Projects billing and not with custom invoice print program. I guess someone from you experts can figure it out to generate muiltple invoice based on employees / suppliers / contractors / materials etc.
A suggestion on Extension / customization / seeded functionality of Oracle Project billing on thi issue would be gr8 help.
Please help.
Thanks
Edited by: oracle_samba on Jan 7, 2013 1:06 AM
Edited by: oracle_samba on Jan 7, 2013 1:07 AMHi Dina,
First of all thanks for your update :-) Your solution looks much promising.
I thought of using billing extension but rejected on the ground that I would end up in generating events based on employee for their corsponding billig amounts so finally generating a consolidated invoice only in One GDI run. But what i was missing was pre-processing extension and running the extention in loop based on employee count.
I am fully sure business would not have any issues of auto approving and releasing invoice upon generation. But my question is "is it possible to just approve the invoice & not release it using auto approve and release extension?" The reason is I think when GDI runs it only deletes Unapproved invoice & spare Approve invoices. - So please suggest.
Also please validate my understanding about your solution with an existing example -
As with the current example, there are 3 EMP presents so need to run GDI 3 times and develop pre-processing ext in a such a way that at each time it will put on hold on all the billable items except EMP1, and EMP2 and EMP3 on each consecutive run respectivly. And ensure that Auto Approve and release extension should be used in order to avoid overriding previously generated invoice? Am I right ?
Many Many thanks for solution !!!
Regards,
:-) -
How to generate a form based on PL/SQL-procedures instead of tables?
Hi all,
I'm trying to generate a form based on a package, which has procedures for insert/update/delete/select. In Forms, this is no problem. It is unclear to me how to do this in Oracle Designer (10g). Online Help of Designer doesn't clear things up a lot, it seems I have to generate a table API and a module component API. But when I do this, these are generated as file and no definitions are created in Designer. So what do I base my block on?
Can somebody assist me in this?
Kind regards,
RonaldHi:
Thank you for reply to my question.
I have tried your codes and apply them the following the form. However, I always got the following error:
Error: (WWV-00000)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
My codes is:
declare
request_no number;
blk varchar2(30) := 'DEFAULT';
l_url varchar2(4000);
begin
request_no := p_session.get_value_as_NuMBER(
p_block_name => blk,
p_attribute_name => 'A_WORK_REQUEST_ID');
l_url := 'portal30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=11880470335&p_arg_names=_sessionid&p_arg_values=&p_arg_names=work_request_id&p_arg_values='||request_no;
portal30.wwa_app_module.set_target(l_url,'call');
end;
then,
I created another form which has two fields and the dattype of pk is varchar2 and change manually put the pk's p_arg_value into the url.
e.g.
l_url:='PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=9029417810&p_arg_names=WORK_AREA_CD&p_arg_values=APP';
portal30.wwa_app_module.set_target(l_url,'call');
However, I still get the error message as below:
Error: (WWV-00000)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
Your help would be highly appreciated.
Wei Ye -
GRC AC 10:How to generate Access Rule? No output from User or Risk Analysis
Hello Gurus,
We have done configuration of GRC AC 10, and uploaded files via
SoD rules -->Upload Rules
After that we generated SoD rules for Risk Id : B001 and B002
Now when we go to NWBC --> Reports & Analytics >Access Dashboards>Access Rule Library
The report shows (for Group Rule level : Action)
Number of Active rules : 0
Number of Disabled Rules : 0
Number of Functions : 151
Where as for Group Rule level : Action Risk
The report shows
Number of Active Risk : 42
Disabled risk : 161
Nmr. of functions : 151 .
When we perform Risk Analysis at User Level or Role Level, the output is empty !!!
Note: All the background jobs have run successfully.
Also the SoD files also have been uploaded successfully.
Will you please guide how can i activate the "rules" for the uploaded risk ??
regards,
VictorHello Victor/ Inder,
For Risk ID B001functions are BS02 and BS11 if you open any one of them you can see system maintained as SAP BASIS which is SAP_BAS_LG (logical connector group).
Post installation you can check in SPRO>Governance, Risk and Compliance-> common Component---> integration framework-> maintain connector and connector types->select SAP and click Define connector Group.
BUSINESS Business Roles SAP
SAP_BAS_LG SAP Basis SAP
SAP_CRM_LG SAP CRM SAP
SAP_ECC_LG SAP ECCS SAP
SAP_HR_LG SAP HR SAP
SAP_NHR_LG SAP R3 - NON HR Basis Logical Group SAP
SAP_R3_LG SAP R3 SAP
SAP_SRM_LG SAP SRM SAP
(If not present then manually you can create the same)
Select SAP_BAS_LG and put connector type as SAP, select SAP_BAS_LG and click Assign Connector group to group types as AM & LG, then click on Assign Connector to connector group and maintain you connector.
Post this activity re generate SOD for B001 and then check for user level and role level analysis.
Hope it will resolve your issue.
Regards,
Sudesh -
URGENT:how to generate multiple spools in a single program
Hi,
i am currently showing a report which contains different sections using pure write staemnt.
now the user wants when he runs the same program there he should be able create multiple spools.
iMean one section(paragraph) in one spool ..another paragraph in another spool i.e there should be two spools .Hi,
DATA: print_parameters TYPE pri_params
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING
out_parameters = print_parameters
valid = valid_flag
EXCEPTIONS
invalid_print_params = 2
OTHERS = 4.
check sy-subrc = 0 and valid_flag = space.
NEW-PAGE PRINT ON PARAMETERS print_parameters
NO DIALOG.
WRITE:/ '1'
NEW-PAGE PRINT OFF.
NEW-PAGE PRINT ON PARAMETERS print_parameters
NO DIALOG.
WRITE:/ '2'
NEW-PAGE PRINT OFF.
NEW-PAGE PRINT ON PARAMETERS print_parameters
NO DIALOG.
WRITE:/ '3'
NEW-PAGE PRINT OFF.
Cheers.
...Reward if useful. -
How to extract error message for each output type.
Hi All,
Need your advice on the problem that I have.
Expected Solution:
1. Create an extra column for displaying header output error message from VF02 into a report program.
Steps that i have did:
1. Go to transaction VF02.
2. Enter a billing document number.
3. Hit enter. Click "Goto" > Header> Output
4. Click on the status that is red colour. Click on "processing log".
5. Press "F1" on the red colour message type. (Found out that it is a structure).
Need your advice on the question that I have:
1) How do we know that which "not successfully" process output type belong to which error message class?Hi Brad Bohn,
Thanks for your advice. I am so sorry about that. Thanks so much for your advice. And i have follow your advices and steps given by you. Appreciate it very much.
But for this issue about how to extract message for each output type. I have follow your steps by using SE30 to trace VF03 and I managed to found out that they are using this function module "WFMC_PROTOCOL_SHOW". Need your advice on this, how do we know each different output type with different error message is pulled from?
From my further research and in depth debugging into this function module, i manage to find this global internal table "PROTO_TAB" which stores all the text messages for each output. How does this internal table is populated?
Thanks in advance.
Regards
Shawn
Maybe you are looking for
-
No sound when I connect my A205-S5831 to my tv
I have followed all the tv and laptop manuals but I cannot get the sound on my tv to work when I hook my A205-S5831 laptop to my Toshiba REGZA 42HL67. I can get video but no sound. Can anyone help me please?
-
Is possible to pair magic mouse to one and only Mac?
Question is in the title. I have two MBP and mac mini which i want to be permanently connected with magic mouse, problem is when mac mini is sleeping and somebody works with one of the MBPs it allways take connection of magic mouse, then i have probl
-
I just upgraded my iPhone to IOS 7 and don't know how to close applications
I just upgraded to IOS7 on iPhone. How do i close applications to conserve power?
-
We have tried to reverse geocode with SDO_GCDR.REVERSE_GEOCODE function and NAVTEQ sample data. The first step, we geocode an address to get the ordinates and then using reverse geoding function for the returned result like below: select SDO_GCDR.GEO
-
How do i create a movie with six different movie panes within as in example
i'd like to be able to create a movie that looks like this: http://www.youtube.com/watch?v=TtpQXH5R7v8&feature=player_embedded the multitracking of vocals i can do easily with garage band, but i can't figure out how to incorporate all movies as the o