How to open & pass parameter to KKAO in ABAP program
hi all,
please kindly advise how can i open & pass the following parameter to set default value to KKAO from ABAP program.
controlling area (auto select value)
plant (auto select value)
with production orders (auto tick)
with product cost collectors (auto tick)
with process orders (auto tick)
wip to period (auto fill up value)
fiscal year (auto fill up value)
all RA Versions (auto select option)
thanks & regards,
BK
Hi,
you can use SET PARAMETER ID '....'.
controlling area (auto select value)- 'CAC'
plant (auto select value)- 'WRK'
with production orders (auto tick)
with product cost collectors (auto tick)
with process orders (auto tick)
wip to period (auto fill up value)- 'ACM'
fiscal year (auto fill up value)- 'ACJ'
all RA Versions (auto select option)
and for all other check boxes and radiao buttons find the field and give default value as 'x'.
Thanks & Regards,
Naveen
Reward if useful
Similar Messages
-
How do I pass parameter to different portlet regions from another page?
How do I pass parameter to different portlet regions from
another page?
I have a page that with two regions. Each region has a report
that uses the same information to generate its report.
Individually running the reports, I can use p_arg_names and
p_arg_values to get what I want. However, when I run the page
that has both portlets, my .show is gone and I cannot get it to
use the p_arg_names, etc. Do you have any idea how to overcome
this? Thanks for any help.How do I pass parameter to different portlet regions from
another page?
I have a page that with two regions. Each region has a report
that uses the same information to generate its report.
Individually running the reports, I can use p_arg_names and
p_arg_values to get what I want. However, when I run the page
that has both portlets, my .show is gone and I cannot get it to
use the p_arg_names, etc. Do you have any idea how to overcome
this? Thanks for any help. -
How can I pass parameter from report to form?
Hi :)
Now I try to build conference room like this by using form
and report. And i design that when users click at group report
then i'll show page that contain questions report and add
question form. And question form and report must receive the
same parameter from group report.
First Problem: is I don't know how group report send the
same parameter to question report and add question report at the
same time. And is it possible??? If not please suggest me what
should I do???
Second Problem: is I don't know how can I pass parameter from
report to form. I don't know the way to do it.
Please tell me!!! Please...
I look forward to hearing from all of you.
Thank You.One way is to create a link based on that form and attach that
link with the report. Through links you can pass parameters -
How to pass background event parameters to ABAP program in SM36
Hi team,
I want to pass background event parameters to ABAP program on job scheduling in SM36. For example, Background jobs will trigger, once background event triggered from Non-SAP system using SAPEVT command with parameters.
I want to pass the event parameter values to the ABAP program . Can you please help me on this.
Regards,
Anand KrishnanHi,
Which ABAP program - the one that will be executed as a job step? If yes, I don't believe you can "pass" something to it because it will be started by "job starter" of SAP background processing run-time system. The ABAP program executed in background can, however, get the job run-time information using FM GET_JOB_RUNTIME_INFO, which also returns EVENTID and EVENTPARM. Is that the event parameters you were looking for?
cheers
Jānis -
How to open, edit and compile the order import program.
Order import program deletes the so_header_interface_all and so_lines_interface_all tables after importing, I want to avoid deleting the interface tables.
Please ket me know in detail how to comment the delete statement in the order import program.
I want to know how to open, edit and compile the order import program.
Thanks,
PrevinWhile you can access the OLE objects in C#.NET, the JSObject was designed as a bridge to VB.NET. Since the real power of what you can do with Acrobat automation comes from the JSObject, it would be very difficult to do that you want from C#.NET - or you would at least be limited in what you can do beyond basic functionality.
Also, a full version of Adobe Acrobat Standard or Professional would need to be installed on each client system. Reader will not work for what you want to do. Each end user running your application will require an installation of Acrobat. -
How to find the start condition of a ABAP program?
Hello Gurus!,
Could any one please explain how to find the start condition of a ABAP program?
like its a event based or time based?and also how to find that event and time..
Thanks in Advance...
DinakarHi Dinkar,
Go to Job Schedule, put Job Step parameter as your program and see scheduled Job.
In Schedule Job double click to see start condition. and steps to see details and variant.
Hope it helps.
Thanks
CK -
How To Call a Broadcasting Template within an ABAP program
I was wondering if anyone knew how to call the Broadcast template via an ABAP program so it will execute? The scenario that I have is we are doing validations via BW. We put the data (for conversion reasons) through validation rules and then load a data target. From this, there are 2 situations that could occur:
1) There are errors
2) There are not any errors
If #1 is true, then I would like to execute the Query Broadcasting Template that I have created. If #2 is true, then I would like to execute another process via the ABAP program. In the past, I was successful using exception reporting via reporting agent, since I was able to call that program but the report did not look good at all. Please let me know if there is a program that I could call in order to execute this broadcast that I have set up.
Best Regards,
TimHello,
although this is an old threat, but do you have any hints on how to dynamically change the template when broadcasting?
kind regards
Murat -
How to call a BW Query from an ABAP program?
How to call a BW Query from an ABAP program?
hi
check this link
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-i
/people/durairaj.athavanraja/blog/2005/04/03/execute-bw-query-using-abap-part-ii
/people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
hope this helps
cheers -
Urgent!! How to call a custom transaction or an ABAP program in BSP?
Urgent!! How to call a custom transaction or an ABAP program in BSP?
We are pretty new on BSP. Would be very appreciated if any expert here give us the detailed steps on how to build up the application to just call a custom transaction (e.g., t-code: ztest) or an ABAP program. Would we have to create a button or event handler to do that? And the detailed steps?
Thanks in advance and we will definately give you reward points!hi Durairaj,
During the time to wait for your answer, we copied Bernd's code from your last link, but when activating it, get the 1st error msg:
Field "CLIENT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement."DATA" statement. The error shows up here:
<td>
<htmlb:inputField id = "client"
value = "<%= client %>" />
</td>
Then we added Client to the page attribute and define it as type String, then get another error:
The field "EVENT" is unknown, but there is a field with the similar name "EVENT_ID"."EVENT_ID". This error shows up at the beginning in the Event Handler:
OnInputProcessing:
code
event handler for checking and processing user input and
for defining navigation
event handler for data retrieval
event = cl_htmlb_manager=>get_event( runtime->server->request ).
IF event->name = 'button' AND event->event_type = 'click'.
button_event ?= event.
How to resolve this unknown Event error, need to define in Page Attribute tab? but with what type?
Actually we only want to run an ABAP4 program in BSP, the code is complicated, could you show us an easy way of doing this in BSP? -
How can i get access code to create ABAP Program ?
hi guys ,
How can i get access code for creating ABAP Program in my System.
I am using SAP IDES 4.6 Version
Please Help me out .
Regards
RaghuHi Raghu,
- license your system (http://service.sap.com/licensekey)
- create a developer key (http://service.sap.com/sscr)
- create a key for your ABAP program (httP://service.sap.com/sscr)
Markus -
How could I pass parameter that depend on values in report from report to form?
In my case, I want to pass 'gno' and 'qno' values of report
to form. When click on the button then the form is showed.
There are automatically values in gno field on form so that user
don't complete this filed.
So I create a button on the report . I enter Javascript in
PL/SQL Code tab in '...after displaying the footer' as follow :
htp.formOpen
(owa_util.get_owa_service_path||'portal30.wwa_app_module.link?
p_arg_names=_moduleid&p_arg_values=1736929105&p_arg_names=_show_h
eader&p_arg_values=YES&p_arg_names=GNO&p_arg_values=1&p_arg_names
=QNO&p_arg_values=2');
htp.formSubmit(null,'New Answer');
htp.formClose;
The above code can pass only static value, while I want to
pass values that depend on value in column of report to form.
So please tell me how can I pass this value to form. I look
forward to hearing from all of you. Please!!!!!!
Thank YouThanks for the prompt reply.
Yes. I am using a Custom Step Type.
I have attached a trial code which contains the trial VI, sequence and the type palette ini file.
Please have a look at it.
Regards,
Mirash
Attachments:
Injection trial.zip 35 KB -
How Could I Pass Parameter at run time in form 10g???
I want to pass parameter value with run time,
Example:
When my form run I want to see only the employees of department 10,
& want to pass value 10 when my form run.
http://machine:port/forms90/f90servlet?form=c:\applications\doc_flow\doc_sign&userid=test/test@fil10g...........?
NajeebAlthough your example will work, it is not recommended to use blank spaced in a URL if it can be avoided. The preferred way of passing custom params would be to use the otherparams parameter. For example:
http://server/forms/frmservlet?form=helloworld&otherparams=param1=val1
If there are more than one parameter/value pair to pass, separate using a plus (+) sign. For example:
http://server/forms/frmservlet?form=helloworld&otherparams=param1=val1+param2=val2 -
How can i print data in smartforms from ABAP program.
Dear gurus:
in my abap program i process require data, and saved in a internal table.
how can l print the data in smartforms.?
who can give me a code sample is better:)
reward all helpful advise.Try this....
1) Tcode --> SmartForms
2) Form name --> Z_SF_TEST Create
3) Under Global settings
a) Form Interface
Table Tab
ITAB LIKE EKPO
b) GLOBAL Definitions
WA_NETPR LIKE EKPO-NETPR
In smart forms if we want to display quantity and currency fields. We can't directly display currency field and quantity fields
For that we have to create an extra variable in global definitions
Ex: netpr FIELD of EKPO
CREATE program lines and specify WA_NETWR = itab-netpr.
4) RT CLick on main Window
CREATE --> TABLE
Click Table painter
DEFAULT %LTYPE will be Created
a) If you want more like Header footer etc add by rt click on %LTYPE1
Table (Tab)
%LTYPE Radio(SELECT) 5 CM 5 CM 6 CM
CLICK on DATA (Tab)
INTERNAL TABLE ITAB LIKE ITAB
5)RT click on table control and create --> program lines
General attribute (Tab)
INPUT PARAMETER OUTPUT PARAMETER
itab WA_NETPR
Code Area
WA_NETWR = ITAB-NETPR.
6) RT CLcick on table ctl and create 3 text to display the fields
a) % text1 +button(insert field)
FIELD name &itab-ebeln&
Output options (tab)
Check New line LINETYPE %Ltype1
check new cell
b) % text2
& itab-ebelp&
output options
check new cell
c) % text2
& wa_netpr&
output options
check new cell
<b>Report ac
Tables ekpo.
Data: itab1 like ekpo occurs 0 with header line.
select * into table itab1 from ekpo.
Call function module --> smart form function module and pass your internal table</b>
Regards,
SaiRam -
Passing of parameters to custom abap program
I need to be able to have some parameters i submit off a script and pass then to SAP
The abap that is run is a custom abap and takes 3 parameters.
I add a new parameter in the script definition I_LAUFD
with the value for the parameter i want to pass the custom abap.
When i submit the job i recieve
<unknown>: argument I_LAUFD not found
use the following name=value pairs
ABAP_RUN
ABAP_RUN_PRINT etc etc
I want to submit a parameter to cutom abap how do i go about it? is is possible?
Thanks in advance
JoeParameters for ABAP programs are most of the time passed to the ABAP program using a VARIANT. In transaction SE38 you can check which parameters can be set on the VARIANT for your custom ABAP program.
If you need to set these parameters dynamically before the job starts, you can submit a job to change these values for you from CPS and then start the ABAP program in the next step.
Which version of CPS are you using? -
How can I trigger an event from an ABAP Program
Hi everyone,
I have a requirement, where I have to create an ABAP program, that has to execute (trigger) an event which belongs to a Process Chain. when I run the program, the Process Chain has to run.
So, how can I do it?
Thanks for your help, FedericoHI ,
The program can call function module BP_EVENT_RAISE to raise the event. you can create vent in sm64 and sm62 .There you give the parameter of the event same as what you will define in the event of start variant of your process chian ..
Regards,
shikha
Maybe you are looking for
-
How to configure maven to build EJB Jar?
Hi! I would like to know how you setup Maven2 or alternatively Ant to build an EJB Jar. I have managed to do this in Maven by adding required jars to my local repository and added dependencies in the pom.xml file. This, however, do not seem like a go
-
Run time errors COLLECT_OVERFLOW_TYPE_P
hi everyone, short text of my error: An internal table field has been defined too small. 642 SORT IT_FINAL BY ERDAT MATNR. 643 LOOP AT IT_FINAL.
-
Error handling in Transfer rules
Hi All, I have a small code for material mappnig (EAN to SAP) in my transfer rules. If mapping does not exist then I am writting Error message(Type E) in error table G_T_ERRORLOG and setting up value of Returncode to 1. Also I have done the Error Han
-
Windows only finds the 32GB mSSD not HD when installing
Hi all, I really do hope that someone can offer me some help as this problem is really making me want to chuck this machine in the bin and give up on Windows all together. My machine is one of these HP elitebook laptops that has both a 32GB mSSD driv
-
Embed Web based reviews into PDF
We are using the ESM solution accelerator which initiates web-based reviews. The comment files created by Acrobat are stored as RSS feeds. At the end of a stage, I need to deliver a self-contained PDF with all the comments. I'm looking for DDX or