Pls suggest me on "How to trigger PPF via a standalone program?"
Hi All,
Can some pls explain me how to trigger PPF in a standalone report program. Provide me some examples.
Thanks in advance.
Moderator message: please do more research before asking, show what you have done yourself when asking.
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
Edited by: Thomas Zloch on Jun 28, 2011 3:45 PM
hi
whenever changes made to an application document.u want to replicate these changes in target system u have to work with cahngepointers
RBDMIDOC is the program which u have to schedule background
regards
Nagesh.Paruchuri
Similar Messages
-
HOW TO TRIGGER AN WORKFLOW FROM A PROGRAM ?
HELLO THERE ,
CAN ANYBODY PLZ TELL ME HOW TO TRIGGER AN WORKFLOW FROM AN PROGRAM AND TO PAS THE VALUE TO THE CONTAINER ?Hello Neon,
If you want to trigger the workflow directly, use the FM, SWU_START_WORKFLOW
CALL FUNCTION 'SWU_START_WORKFLOW'
EXPORTING
task =
* LANGUAGE = SY-LANGU
user =
* SENDER_ID =
* IMPORTING
* RETURN_CODE =
* WORKITEM_ID =
tables
* CONTAINER =
* MESSAGE_LINES =
attachment_list =
A workflow can also be triggered by and event which is in turn triggered by a program.
By the FM, SWE_CREATE_EVENT
Example:
w_key = 'Connie'.
w_creator-otype = 'US'.
w_creator-objid = 'SAPDEV02'.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = 'YH_BUDDIES'
objkey = w_key
event = 'event'
creator = w_creator
* TAKE_WORKITEM_REQUESTER = ' '
* START_WITH_DELAY = ' '
* START_RECFB_SYNCHRON = ' '
* NO_COMMIT_FOR_QUEUE = ' '
* DEBUG_FLAG = ' '
* NO_LOGGING = ' '
* IDENT =
* IMPORTING
* EVENT_ID =
* TABLES
* EVENT_CONTAINER =
EXCEPTIONS
objtype_not_found = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
WRITE: / 'EVENT TRIGGERED'.
ENDIF.
COMMIT WORK.
Hope it helps you.
Regards
Indu. -
How to trigger an event in the program
Hi,
I have a program. The purpose of the program is to retrieve the data matching the selection criteria and downlod the same to a file.
In the selection screen, I have a parameter called 'EVENT'. Here, user enters some event name. Generally, they enter the 'Background job processing events'.
So, my requirement is... once the files are successfully downloaded, the program should trigger the 'EVENT' specified in the selection screen at run time.
Can someone help me in this regard. How to trigger an EVENT in the program. Is there any Function Module or Method available in SAP which triggers the EVENT at runtime.
And is there any table available in SAP which stores all the events available in SAP. Because, whenever the user enters an EVENT in the selection screen, we should check whether the event is valid or not. So, if there is any table available which has all the events then, it will be easy I guess. or is there any other way to validate the EVENT name.
Please help me. Thanks in advance,
Best Regards,
Paddu.Hello Paddu,
have a look at tables
- btcsev, btcsed (system events)
- btcuev, btcued (user events)
and use function BP_EVENT_RAISE.
kind regards
Walter Habich -
How to trigger GP workflow through ABAP Program.
Hi All.
i have one scnerio , i want to create BOM through Custom Ztransaction that will be developed in ABAP Modulepool.
User will create BOM from this ztransaction through Transactional Iview in PORTAL,Once the user save transaction , i want to trigger a GP(Guided Procedure ) workflow,from ABAP Program.
is it possible to trigger GP workflow?
if yes how to do it , please suggest the way out.
Regards,
Shyam.Hi lingana,
As u see in my requriment that, Workflow is not designed within SAP , But the Workflow will be designing
in SAP Netweaver, its a GP Workflow. And Ztransaction(Developed by ABAP) will be seen by user through portal and
he save transaction on PORTAL, In backend ABAP program will run , and after meeting certain condition, it should create
or(Initiate) GP workflow(process).
So my question is , how ABAP Program will call GP workflow, How the connection will be made in between ABAP Code and GP workflow framework.
If any doubt regarding requriment let me know,
Regards,
Shyam. -
How to trigger a workflow in webdynpro programs
Hi Experts,
I am new to SRM Workflow, and I need to trigger a workflow in my webdynpro programs.
But I don't know how to achieve it.
I am using SAP SRM 7.0, so I want to use Process Controlled workflow.
Any suggestions would be greatly appreciated.
Thanks and Regards
WeiHi, thank you for the attention, and my requirement is as below.
1. Creating a web dynpro program
2. User can execute the program and input data on it. Such as Expense application, Leave application...
3. When the user click the "Apply" button on the form, the application should be sent to the boss for approval.
*** I want to trigger a workflow when the user click the "apply" button.***
I have achieved the similar functions in SAP ERP systems, by generating Events in my custom programs.
But I don't konw how to do it in SRM 7.0.
Or it is impossible to achieve it, under Process Controlled workflow architecture.
Thanks and Regards
Wei -
How to trigger MDM Workflow from ABAP Program.
HI
I have requriment to trigger MDM Workflow(Design in MDM) from My Module pool program. Suggest how to do it?
Thanks in Advance.
Regards,
Shyam Babu Sah.Hi,
This question is for forum SAP Netweaver --> Workflow. There are functions and programmes that SAP delivers for this.
[Example here|Re: How can I trigger workflow from my report] -
How to trigger fullscreen via on-site javascript (click or other event)
Hi,
this question is quite technical, but I'm convinced there's a work around for what I want, as I've seen it on <video> markups.
The question is easy, is there a way that by clicking on a link, javascript tells the browser to act as if F11 had been pressed?
I'm aware this is not user-friendly and that it shall confuse him, but that's exactly the goal targeted by this behavior.
Can you provide such information?
Thanks a lotThat's a security issue. The Javascript code that is out there to do "FullScreen" doesn't work in Firefox.
Try it with the code found through a Google search. <br />
[http://www.google.com/search?q=code+for+Full+Screen&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a code for Full Screen] -
Spec2000 / Spec2k trigger S1PNSTAT via ME23
Hi Experts,
Does anyone knows how to trigger S1PNSTAT via ME23.
I tried using
1. From the SAP Easy Access menu, choose Logistics-> Purchasing ->Purchase Order -> Display Extended Purchase Order.
2. Enter the purchase order and choose Continue.
3. Select an item and choose Item ->More functions -> Additional data.
The additional data screen for the order item appears.
4. Choose Item ->SPEC2000 ->Send S1PNSTAT.
The message no data change appears. No matter how I change the PO, it doesn't get trigger.
Anyone have any idea?
Regards,
Clarice
http://help.sap.com/erp2005_ehp_04/helpdata/EN/88/7e8a1b422c45f1b8e57b45382dda9c/frameset.htmOh I realised it in item level ---> additional function ---> more function ---> spec2000 ---> send S1PNSTAT
-
How to delete PSAs via process chain
How to delete PSAs via processchain using program(need to delete automatically).
For that i have to create the processchain for specially deletiung the PSAa and need to write the code for deleting automatically.Hi
Please follow the below steps for PSA processchain deletion.
Create the Start varint
Drag the PSA deletion PSA Request from left menu bar proces types
Click on maintain varinat of the above dragged psa deletion
There you select like below
Object Type:PSA
Objectname:PSA Table name
Select the below options on the same screen as Older than 10 days ...
As per your requirement you can select the options..
Hope it will helps -
Hi ,
Recenlty i have bouhgt new iphone5s from middle east . When i was using the phone over there the facetime was working perfect for me .
Now when i moved to another country i can not see the facetime option in the iphone .
Could you pls suggest how can i get it back .Hi Stedman ,
Thanks for the information !!
I have checked the article and i can clear see that my Wireless carrier support the facetime feature
so what could be the reason am not able to use the facetime option . -
Hi I am using iphone 4, since last few days i am facing problem in touch screen at times it doesn’t work at all for 5-10 mins and then it works out itself. Can anyone pls suggest what the problem is and how it can be sorted out?
Did you recently updated to 7.0.4? Even for me same also issues.
-
I have upgraded my Iphone 4s to 7.0.3 and after that my phone is not charging at all if i leave my phone for charging for more then 24 hours it will charge upto 50%. How do i solve this issue ?? pls suggest ??
Even if it is a hardware problem they should fix it regardless of warranty. If you buy a car and after 1.5 years the doors fall off due to a failure in their design and construction, do you think the car manufacturer could pull off what Apple is trying to do? Yes the car still delivers its primary objective of driving from A to B, but significant functionality has been lost due to their fault.
It is the same with this iPhone wifi problem. Apple are a disgrace, I have had significant Apple Hardware failures with my MacBook Pro and iPhone within 2 years of purchase. Pathetic quality. -
i have i phone 4 with ios 7.1 and itunes 11.1.5.5 and want to move my playlist to iphone but unable to do so - pls suggest how to do it?
http://support.apple.com/kb/ht1351
http://support.apple.com/kb/ph12313
hope those help -
Can u pls suggest how we avoid this
hi,
SELECT matnr
FROM mara
INTO TABLE l_i_mara
WHERE matnr IN r_matnr. is going to dump because of the number of records in the range r_matnr..90,999..
Can u pls suggest how we avoid thishere is it:
Local range
DATA : lr_kostl LIKE LINE OF gr_kostl,
lr_ktopl TYPE RANGE OF ktopl WITH HEADER LINE.
Local variables
DATA : lv_kostl_c(10) TYPE n,
lv_kostl_d(10) TYPE n,
lv_kostl_p(10) TYPE n.
cost centers to global range
lt_csks = gt_csks.
lr_kostl-sign = 'I'.
lr_kostl-option = 'BT'.
LOOP AT lt_csks INTO gw_csks.
Cost centers into ranges
IF gw_csks-kostl CO '0123456789'.
Only numbers in the cost center code ==> Try to create range
lv_kostl_c = gw_csks-kostl.
IF lv_kostl_p IS INITIAL.
First line or just finished
lr_kostl-low = lv_kostl_p = gw_csks-kostl.
ELSE.
lr_kostl-high = gw_csks-kostl.
lv_kostl_d = lv_kostl_c - lv_kostl_p.
IF lv_kostl_d EQ 1.
Compare if cost center is next (i.e. +1) ==> next line
lv_kostl_p = gw_csks-kostl.
ELSE.
Not next ==> append line
lr_kostl-option = 'BT'.
lr_kostl-high = lv_kostl_p.
APPEND lr_kostl TO gr_kostl.
lv_kostl_p = gw_csks-kostl.
ENDIF.
ENDIF.
ELSE.
Cost center code contains letter ==> single line
lr_kostl-option = 'EQ'.
lr_kostl-low = gw_csks-kostl.
APPEND lr_kostl TO gr_kostl.
ENDIF.
ENDLOOP.
In the lt-csks there are single values of cost centers (in sorted order!), I try to build ranges from that. Let me know if you don't understand anything.
ec -
CL_SALV_TABLE - how to trigger Double_Click question
I am trying to find how to trigger an event on double click similar to using Event Double_Click in Class CL_GUI_ALV_GRID I am fresh out of the ABAP OO class and everything is a blur. This is what I did. I created a program that with
Data: r_grid TYPE REF TO cl_salv_table.
CALL METHOD CL_SALV_TABLE=>FACTORY
Importing R_SALV_TABLE = r_grid
Changing ITAB.
I then tried to create an Include program to define a Local Class
*& Include ZSD_DISPLAY_CUSTOMER
class lcl_event_handler definition.
PUBLIC SECTION.
METHODS: on_double_click for event double_click of cl_gui_alv_grid
METHODS: on_double_click for event double_click of cl_salv_table
IMPORTING es_row_no e_column.
ENDCLASS.
class lcl_event_handler IMPLEMENTATION.
METHOD on_double_click.
Data: IT_CUSTHIER type ZSD11_CUST_HIER_TABLE_TYPE.
Data: WK_CUSTHIER LIKE LINE OF IT_CUSTHIER.
types: BEGIN OF custhier_x,
custhier like WK_CUSTHIER,
number TYPE int4,
quantity type MENGE_D,
dollars_n_cents type DMBTR,
END OF custhier_x.
data: it_custhier_x type STANDARD TABLE OF custhier_x.
data: wk_custhier_x like LINE OF it_custhier_x.
read table it_custhier_x into wk_custhier_x
index es_row_no-row_id.
data: wk_vkorg type vkorg.
data: wk_vtweg type vtweg.
data: wk_spart type spart.
wk_vkorg = '3290'.
wk_vtweg = '00'.
wk_spart = '00'.
SET PARAMETER ID: 'KUN' field wk_custhier_x-custhier-kunnr.
SET PARAMETER ID: 'VKO' field wk_vkorg.
SET PARAMETER ID: 'VTW' field wk_vtweg.
SET PARAMETER ID: 'SPA' field wk_spart.
call TRANSACTION 'VD03' AND SKIP FIRST SCREEN.
ENDMETHOD.
ENDCLASS.
When I try to do a syntax check I get this error
The Handler Method ON_DOUBLE_CLICK is only defined for trigger objects of CL_GUI_ALV_GRID, but the system tried to register a trigger object of CL_SALV_TABLE
Any suggestions on what I need to do in order to trigger a event for double click ?
Thanks
Edited by: Bob Ackerman on Sep 22, 2010 11:25 AMI am not getting anything to happen on double click. In debug mode, I see that it calls program SAPLSLVC_FULLSCREEN and gets to FORM SELFIELD_GET which gets the row, column, and value of the field that was double clicked. But, nothing seems to be returned to my program. I am fresh out of the ABAP OO class and everything is a blur. My test program is listed below, if you would be so kind as to take a look and maybe see what I am missing.
Include program ZSD_DISPLAY_CUSTOMER
class lcl_event_handler definition.
PUBLIC SECTION.
** METHODS: on_double_click for event double_click of cl_gui_alv_grid
** IMPORTING es_row_no e_column.
METHODS:
on_DOUBLE_CLICK
FOR EVENT DOUBLE_CLICK OF cl_salv_events_table
IMPORTING
row
column .
ENDCLASS.
class lcl_event_handler IMPLEMENTATION.
METHOD on_double_click.
** data: it_sflight type TABLE OF sflight,
** wa_spfli type spfli.
Data: IT_CUSTHIER type ZSD11_CUST_HIER_TABLE_TYPE.
Data: WK_CUSTHIER LIKE LINE OF IT_CUSTHIER.
types: BEGIN OF custhier_x,
custhier like WK_CUSTHIER,
number TYPE int4,
quantity type MENGE_D,
dollars_n_cents type DMBTR,
END OF custhier_x.
data: it_custhier_x type STANDARD TABLE OF custhier_x.
data: wk_custhier_x like LINE OF it_custhier_x.
data: ls_row_id type lvc_s_row.
data: ls_col_id type lvc_s_col.
data: l_value type lvc_s_data-value.
data: ls_selfield type lvc_s_self.
data: ls_fieldcat type slis_fieldcat_alv.
data: ls_fieldcat_lvc type lvc_s_fcat.
data: wk_vkorg type vkorg.
data: wk_vtweg type vtweg.
data: wk_spart type spart.
wk_vkorg = '3290'.
wk_vtweg = '00'.
wk_spart = '00'.
SET PARAMETER ID: 'KUN' field wk_custhier_x-custhier-kunnr.
SET PARAMETER ID: 'VKO' field wk_vkorg.
SET PARAMETER ID: 'VTW' field wk_vtweg.
SET PARAMETER ID: 'SPA' field wk_spart.
call TRANSACTION 'VD03' AND SKIP FIRST SCREEN.
ENDMETHOD.
ENDCLASS.
In the main program :
CREATE OBJECT CUST_HIER
EXPORTING
IM_HIERARCHY_TYPE = 'A'
* IM_CUSTOMER_NUMBER =
IM_SALES_ORG = '3290'
IM_DIST_CHANNEL = '00'
IM_DIVISION = '00'
IM_VALIDITY_DATE = '99991215'.
CALL METHOD CUST_HIER->GET_CUSTHIER_NODES
IMPORTING EX_CUSTHIER = IT_CUSTHIER.
it_custhier_x = IT_CUSTHIER.
TRY.
CALL METHOD CL_SALV_TABLE=>FACTORY
* EXPORTING
* LIST_DISPLAY = IF_SALV_C_BOOL_SAP=>FALSE
* R_CONTAINER =
* CONTAINER_NAME =
IMPORTING
R_SALV_TABLE = r_grid
CHANGING
T_TABLE = IT_CUSTHIER_X.
CATCH CX_SALV_MSG .
ENDTRY.
*... §3 Functions
*... §3.1 activate ALV generic Functions
data: lr_functions type ref to cl_salv_functions_list.
lr_functions = r_grid->get_functions( ).
lr_functions->set_default( abap_true ).
*... set the columns technical
data: lr_columns type ref to cl_salv_columns.
lr_columns = r_grid->get_columns( ).
lr_columns->set_optimize( abap_true ).
perform set_columns_technical using lr_columns.
r_grid->display( ).
lr_events = r_grid->get_event( ).
create object gr_events.
set handler gr_events->on_double_click for lr_events.
Edited by: Bob Ackerman on Sep 22, 2010 5:30 PM
Edited by: Bob Ackerman on Sep 22, 2010 5:35 PM
Edited by: Bob Ackerman on Sep 22, 2010 5:37 PM
Maybe you are looking for
-
[BIP Report] Could I use 'like' syntax inside if-then-else statement?
I have the following contents in my xml, I would like to show the amount of the ChargeAmount, only if the "Code" is starting from "WAF"in my table. <Transaction> <Account>A</Account> <ChargeAmount>200</ChargeAmount> <Code>WAF020</Code>
-
10.2.8/Shuffle/USB 1.1 Issues
-450 Sage iMac -USB 1.1 -OS X 10.2.8 -iTunes 6.0 Just purchased a 1G Shuffle for my daughter's Xmas gift. The manual stated that my Sage 450 or iTunes 6.0 will not recognize the iPod through the USB 1.1 port. It stated I need to have at least 10.3.6
-
I have photos on my phone that I can see but cannot get them to download to my computer.... Please help.
-
Macbook Pro Freezes When Connected to iPod Classic!
I have a mid 2010 Macbook Pro that is acting a little funky. Whenever I plug in my iPod Classic to add music everything works perfectly fine until I eject the iPod. My computer then basically freezes up (gives the rainbow spinwheel of death) and it w
-
Is there a way to predict the AppStore link
I want to include a send to friend function in my installed application what would include a link to itself on the AppStore. Is there a way to predict ahead of time what the AppStore link will be.