Finding workflows for a transaction
Hi All,
Is there any direct way to find out the workflows existing for a transaction??
( instead of switching on the trace in swels and running the transaction and again checking the event fired for that transaction )
pls. advise..thanks
Jack
Hi,
Check my answer to the same question in this post:
How to Find Business Objects for any Tranaction .
Kind regards, Rob Dielemans
Similar Messages
-
Standard Workflows for certain transactions
Hi Friends,
Can anyone please provide me the standard workflow templates for the following,
1. Expense report approval
2. Time report approval
3. Purchase requisition & purchase order approval
Warm Regards
SujithUse the workflow explorer (transaction SWDM) and search within the application area, that is how you, in general, will find workflow templates and single tasks.
Another way of finding it is by looking at the customizing for the application, where there is sometimes <b>very</b> useful information to be found in the documentation of the nodes. -
How to find TCodes for Config Transactions
Hi All,
How do I find the TCode for a Config Activitity node?
For example.
OX09 is for "Maintain Storage Location"
OB52 is for FI Period closing/opening
I know these from google search, but how do find tcodes for other IMG activity nodes?
Thanks in advance!Go to SPRO and in Menu Additional Information Click Display key and IMG activity then Sytem will show the SPRO Transaction along with path
Else Go to Particular Node say Create Purchasing Group and Right Click on Node and Select Display Technical Info and in ID tab the Last four Charecters wud be the Trxn code.
In SPRO-IMG screen Only Few Nodes will Show / have the Transaction codes. -
Urg : how to find form for standard transactions
Hi
How to find smart forms for standard transaction and how to call or change the existing form to another zform .how to implement the forms ..
give helpful hints.
thanks
sureshHi,
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
regards
Sudheer -
Hi ,
I have a scenarieo like in VA22 transaction,for 1 quotation,when the condition type for 1 item will change,and we will save it,the workflow should trigger.Please suggest me from where should i start.Hi Priya,
You have to find for which event is triggering. If found you can build the workflow.
If unable get, use the below link to trigger the event.
[Create event|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e06f2480-02de-2a10-72af-eed9a513a6c6] [CDHDR|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ddeba4-e780-2b10-7bb2-fc7a33efabbd]
Then create a workflow, with reference of this [sample workflow|https://wiki.sdn.sap.com/wiki/x/aYDUAw].
Regards,
Surjith -
To find exit for the transaction VF02?
Hi Experts,
I need help for this enhancement.
1. In case of Company Code - 2200
During VF02 (Billing document flow to accounting) : VBPA - PARVW value for "ZC" shall be filled in BSID-XREF1.
It means for company code 2200, during the process of transaction VF02, the partner function value for 'ZC' from table vbpa should be updated to the field xref1 in table bsid.
After finding the exit / badi, How do i need to modify it?
Regards,
Abdur RafiqueHi,
Check exits for VF02:
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX001 User exit header line in delivery to accounting
SDVFX002 User exit for A/R line in transfer to accounting
SDVFX003 User exit cash clearing in transfer to accounting
SDVFX004 User exit G/L line in transfer to accounting
SDVFX005 User exit reserves in transfer to accounting
SDVFX006 User exit tax line in transfer to accounting
SDVFX009 Billing doc. processing KIDONO (payment reference number)
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedure
J_3RSINV User Exits for Printing Billing Docs. using POR Procedure
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lists
V61A0001 Customer enhancement: Pricing
BADIs for VF02
SD_CIN_LV60AU02 BADI for billing
Method: EXCISE_INVOICE_CREATE - BADI billing
VOR_WA_FAKTURA Billing before Goods Issue -
How to find a BADI for a specific transaction?
Avjit,
just copy and paste belo program and run with any Tx.
report ZTEST.
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
*Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
*Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
*For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase.
Amit. -
Workflow for EHSH_D_PCP Transaction IN EHS
Hi All,
Please suggest, I need to trigger a workflow when the appointment is created in Planning cockpit(EHSH_D_PCP)
using Medical Practice calender.
There is a badi EHSH_MPC_INTEGRATION when is called when the appointment is created or the status of appointment is changed.
Please suggest how and where can I trigger the workflow,
This Badi is already implemented in the system and is not a multiple use Badi.
ThanksHi Puneeta,
First you have to check standard business object and event for your process. If it is not there by standard then only you have to create the custom BOR.
To check the standrd BO, switch the event trace in SWELS and create the appointment. Then do a check in SWEL.
If any business object and event is diplayed then you can use the BO.
If thereis no events found for your process, then follow the below steps.
1. create a custom business object and event with parameters.
2. Create a workflow and assign the event.
3. Make the event linkage in transaction SWEC.
4. Trigger the event from your BADI using FM SAP_WAPI_CREATE_EVENT.
Thanks,
Viji. -
Hello,
I need to know, if there is a workflow for FD32 transaction, i searched by events and i didn´t found nothing, I found only a BO BUS1010, but this the object there isn´t a event create, the program relating doesn´t have a BADI or a User-Exit.
Is there another way to make a workflow for this transaction?
Thanks,
RobertoHi Aran,
Create an Subtype for that bus object(BUS1010). Create your own Event. Link it to the Workflow Using Transaction SWE2 and SWEC(Change Documents). Delegate your Business Object to the Standard Bussiness Object. Use the Standard Business Object to trigger the Workflow. now in this Business Object U'll find the Event you have created.
Hope this might Help you.
Cheers,
Prashanth -
How to Find BADI for a particular FM
Dear Abapers,
How do I find a BADI for a Particular Function Module.
I did google and found three methods but none helped.
1) going to Transaction se37 to find your function module. Locate the function SXV_GET_CLIF_BY_NAME.
this doesnt help me because i dont want to find badi for a transaction.
2) got se24 and put a break point in the method of class cl_exithandler. I tried this didnt help.
3) taking the pacake name and going to se80 and enter it there, you see enhancements. I did this , found the package name of that FM which is WZRE. but there are lots of enhancements and badis. i cant find the related one with discription.
my FM is IDOC_INPUT_SINGLSETTRQS_CREATE. I really need help to find the correct badi for this.
any help is appreciated.
thanks.Hi,
To find a BADI for any enhancement follow these steps,
1) Put a brak point in method CL_EXITHANDLER=>GET_INSTANCE. This will give you the EXIT_NAME and the implementing class name of the BADI.
2) Remove IF_EX from the implementing class this provides you the BADI name.
Regards
Ram -
Finding Enhancement for a userexit
Hi All,
I am trying to find Enhancement name for the userexit USEREXIT_MOVE_FIELD_TO_VBAP and so far have tried all suggestions from the experts including, sample program code to find userexits for a transaction, SMOD, SE84 (thru package), etc., etc.. but without any success. Can someone please show me step by step how to find the Enhancement for this userexit. I would greatly appreciate it. Again, no tips, hints, pls. ..just the actual steps for the aforementioned userexit. Once we have this resolved, we could apply this to a lot more exits, which would be a big help as we need the Enhancement name in CMOD.
Thanks & Regards,
TonyThis is special type of the userexit form in the SD area. You will not find it in SMOD, CMOD etc.
You can find this FORM in the program MV45AFZZ.
You need an access key for this program if you are chaning it first time.
MV45AFZZ is the include which cotains all the userexit forms for order processing.
Regards,
Naimesh Patel -
Activation of standars workflow for Non PO based Invoices
Hi All,
Please advise me with the following at earliest.
I have activated the standard workflow for the transaction FV60, so that the work item will be generated in the approver inbox for the release amount. I have done the settings, but iam stuck up at the transaction OBWF, it says to assign the users to the position or the organizational unit. I have created the Posistion in transaction code PO13 (Posistion in Business work flow), could you please let me know how to assign users to this position.Hi,
For setting the organization object for each level using OBWF transaction, you have to select the entry in transaction OBWF (in which the WF Variant + Approval Path + Level+Amount will decide which agent to pick) and choose button "Details (OrgObject)".
Then in new window
1. choose button "Org object" of create (2nd button on tool bar) if already the org object is created and you just want to link. Then select JOB/Position/Organizational unit for which you want a linking. Then choose the org element by using the Search Term window. This will create the link for the level for which you wanted the user/user-group.
2. Choose button "Create org. unit" to create new org unit like Job or Position and then complete linking as specified in point -1.
You can test this by executing the function moudule "PRELIMINARY_POSTING_ACTOR1_DET" which is in the standard agent rule '00000139' which is linked to the standard task TS00007914.
Hope this will help you, but aswer for this is very late.
Regards,
Manju -
Function module to find list of workflows for a document
Hi
Is there any standard function module where I can get list of active workflows for a document ?
example : for business object FIPP I have a document number, fiscal yr and co code. I need to get like of workflow instances for it.
what we do in SWI6 or in display transaction - services for objects - workflow overview.
I need find function module as I need to call it in a user exit.
thanks
bhakti.Hi,
Concatenate the fields in the following order:
1. SourceCompanyCode
2. DocumentNo
3. FiscalYear
Use
CATID = 'BO'
TYPEID = 'FIPP'
INSTID = Concatenated value
in SWW_WI2OBJ to find TOP_WI_ID. Use this TOP_WI_ID as an input Parameter TOP_WI_ID of table SWWWIHEAD.
This will give you all workitems for your Document.
Regards
Gautam
Edited by: gautam maini on Jul 7, 2011 2:23 PM -
To Find Include for Enhancement for Particular Transaction
Hi Friends,
Could You Plz assist me...
How to find out the User Exit for Particular Transaction.
Like for ME23N, we have a Include RV64A701 OR for VA01, we have the include MV45AFZZ and so on for every Transaction, which we believe as the User Exits.
Plz let me know, How to find out these Includes apart knowing from Configuration Part.
Thanks AlotHi,
1. In the transaction go to : system->status-> <PROG. NAME>
2. after getting the program name go to SE37 , type EXIT<PROG NAME> and press F4 to get the list of function exits available.
once you get the exit you should also be able to find the include name using the where used list, just select the exit and click where used list.
rgds,
venu. -
How we can find BAPI's for a transactions?
hi
how we can find BAPI's for a transactions?
thanks in advancehi,
use this function module SXV_GET_CLIF_BY_NAME
function sxv_get_clif_by_name .
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(NAME)
*" VALUE(PREFIX) TYPE SEEX_CLIF_PREFIX
*" EXPORTING
*" VALUE(CLIF) TYPE SEOCLSNAME
call function 'SXV_ADD_PREFIX'
exporting
name = name
prefix = prefix
importing
new_name = clif.
endfunction.
debug the function module you will get name of bapi , badi used for transaction which ever operation you perform
it will call this function module and will give you name
regards
Deepak.
Maybe you are looking for
-
10.6.3 STILL does not fix this problem. I have been posting this problem since i upgraded to snow leopard. i am unable to empty the trash in the finder, if the trash contains a file that i sent as an attachment. i get a message saying "file in use".
-
How do I return my Iphone under warranty online?
I know it needs returning as I've spoken with people with the same problem but can't get to a store, so wanting to reutrn it by doing online. I just cant see how to do it?
-
RESTORED WINDOWS ,NOW HAVING ISSUES
HELLO folks, i had to reinstall windows on my comp, i thought I had backed up my itunes, at any rate i reinstalled i tunes, and when i connected my ipod it recognizes it but i can't add any songs to the ipod and how do i import my songs on ipod to it
-
DW BUG - empty new lines on file open
I can't find a patch or an option for this bug. Everytime I open a formated php script(with no empty spaces between code lines) it gets a new formatting with 2-3-5 empty new lines betwen my code lines, this causes that my scripts will become larger i
-
Bulck collect update data just hangs.
Any one see any problem with below anonymous block? Can any one direct me to optimize this code. Scenario have to update about 40 million rows to static value, I'm committing 1Million rows in one loop. The first 1 millions rows are getting updated ve