Process flow with BAPIs
Hi experts,
as we will try to built the Travel management in SAP CE, we want to trigger the whole travel management flow with BAPIs.
The following already works:
- Creation of trip BAPI_TRIP_CREATE_FROM_DATA
- Approval of trip via BAPI_TRIP_APPROVE
But now I don't know how to proceed.
As I've seen in PR05, the status has then be changed to settled.
Afterwards it can be sent to FI via transaction PRFI.
And then the posting in FI can be done in PRRW.
Is that flow correct?
What are the BAPIs to use for that?
Is it BAPI_ACC_TRAVEL_POST?
DoI also need BAPI_PAYROLLTRAVELEXPNSESPOST?
Could please somebody of you give me an example for calling those functions?
Unfortunately you have to specify a lot of parameters and I don't find much about it on SDN.
Is there a way to retrieve this data first using only personnel number and trip number?
Thanks in advance!
Hi Eddie,
For settling and posting the travel cost into the system, you can use t-code - PREC, PRFI and PRRW.
Best Regards,
Raj
Similar Messages
-
OMB05603 while deploying a process flow with OMB
Hi all,
I am trying to deploy a process flow with OMB. I tried with the repository owner and with a non-admistrative user, but I am getting the following error.
OMB05603: Deployment of Component 'PROCESS_FLOW_MODULE' with action 5 is not allowed.
Any help is appreciated.
Regards,
Sebastian
Code Extract
catch {
OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$plan_name'
puts "deployment plan created"
set objectList [OMBRETRIEVE COLLECTION '$col_name' GET ALL REFERENCES]
foreach object $objectList {
set objectType [lindex $object 0]
set objectName [lindex $object 1]
OMBALTER DEPLOYMENT_ACTION_PLAN '$plan_name' ADD ACTION '$objectName' \
SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE $objectType '$objectName'
puts "adding action for object $objectType $objectName"
}Hi Sebastian
I suspect this is because you are trying to deploy the process flow module.
The process flow package should be deployed - not the module and not the flow itself.
Cheers
David -
Process flow with configuration for online payment of vendors
Dear friends,
I need the process flow with configuration for online payment to vendors through rtgs or neft.
Please help me in this regard. One of my client wants to implement online payment process instead of cheque payment.
thanks and regards
satya1) Payments are initiated at the corporate SAP System using APP and converted into IDOC
Could you please tell me the steps in converting the app into idoc.
There are standard Idoc used for the same , for APP it would be PAYEXT, You need to use this Idoc type.
You define the EDI payment method and assign the program in FBZP (RFFOEDI1)which would created payment medium.
i believe in the app we will create the proposal and run the payment run, after payment proposal created what are the config steps involved in createing the payment run. for example for checque payment we will maintian variant for cheque printing.
The payment run config is done in FBZP, which would include definf check PM and assigning house bank sub gl etc.
2) PI at Client End receives the input through IDOC for the payments
Pl means? and how the client will recieve this idoc what is the set up has to be made?
PI(Process Integration) middleware which will send bank files from sap to bank and vice versa.
3) Bank PI receives the payment and converts the same RTGS/NEFT format
4) Payment Data is received at the Bank RTGS/ NEFT server for further processing
how the payment data will be recieved by bank what is the process?
This is again via PI or any thoird party tool which will send bank files to sap as Idoc, The idoc message type is FINSTA.
or this in SAP you will have to configure the following:
*House bank with partner profile
*Outbound parameters what is meant by outbound paramenters and how to create and where to maintian
*Inbound parameters what is meant by inbound paramenters and how to create and where to maintian
The outbound and Inbounmd idoc's are the one which we send(PAYEXT) and rec from bank(FINSTA). you create partner profile in WE20 and create partner profile once you create you assign outbound and inbound message types in there.
*EDI Compatible payment methods how to know about the compaitable payment methods
Please goto house bank FI12 and you will see this in there, assign the PM used.
*APP config i know the app config for cheque payment, for this scenairo any additional settings?
It would be pretty much same, you will have to define the PM used and Payment medium and remaining configuration in FBZP.
*Bank details in Vendor :
You will have to maintain the bank details of the vendor in vendor master. -
How to setup PCG Flow Rule Process flow with Business Event subscription
Hi,
How to setup PCG Flow Rule Process flow with Business Event subscription type?
When should Business Events be used?
The latest user guide does not provide ay information on this functionality of Flow rules.
ThanksYou should find it's usage noted in the new PCG user guide on page 3-26 under the heading "Configuring Workflow/Event Rules". This way you can have a Flow Rule call a business event component or a workflow. This would be kicked off within a process flow as one of the steps.
I hope that helps. -
Hello
In Warehouse Builder Browser I have one Process Flow with Status Busy. I have restarded the whole server and status is still Busy.
Through Oracle Workflow I try to Find Active Processes and there just is no one.
Why is my Process Flow still Busy and how do I stop it? (Maybe the there is an error in Warehouse Builder Browser, it is not busy?)
Best regards,
TinaJust logout and login into Warehouse Builder Browser again. It is not busy any more ;-).
/Tina -
Mapping audit_id in process flow with parameter
Hello!
I have a following request.
I would like to get AUDIT_EXECUTION_ID for certain Mapping in process flow and pass this ID to next mapping (all this with help of parameters I guess??) to get some data from AUDIT tables. How to do this?
OWB version 10.2.0.1
Thank you Gorazd
Edited by: gor on May 9, 2011 1:40 PMHi,
It is a bit complicated and technical.
Will give you a hint.
You need to install run_my_owb_stuff as a function, grant access, and create a public synonym.
Then within you have to add capturing of the execution_id as an additional custom parameter. (see below).
Once done. Add a Start parameter with same name to each Process Flow, and Bind it to any activity that you want to use the parameter with.
-- Override Parameters
dbms_output.put_line('Stage 3: Overriding Parameters');
-- override_system_input_params(l_audit_execution_id, p_system_params);
if p_task_type='PROCESS' then
-- GRI addition
l_custom_params := p_custom_params || ', p_execution_id=' || l_audit_execution_id;
override_custom_input_params(l_audit_execution_id, l_custom_params);
else
override_custom_input_params(l_audit_execution_id, p_custom_params);
end if;
-- override_custom_input_params(l_audit_execution_id, p_custom_params);
- Jojo -
Execute process flow with OMB*Plus
Hello,
somebody know how to execute a process flow designed with OWB 9.0.4.8.21 within OMB*Plus?
Thanks,
PedroCurrently it is not possible to execute Process Flows or Mappings from OMB. OMB is to be used mostly as a metadata manipulation and processing platform, not for run-time management.
What you could do is to put OMB metadata operation commands and runtime execution commands one after the other in a shell script and then run everything from this shell script (if this is what you are trying to do).
Regards:
Igor -
A/R process flow with notice of readiness for shipment
Hi,
I'm trying to implement the following A/R process flow:
- sales order
- xx% A/R down payment invoice
- notice of readiness for shipment
- incoming payment
- delivery
- A/R invoice (xx% down payment to be deducted here)
What's the best way to implement it?
Thanks
FabioHi,
no, it's something different. It is because we want to be paid before shipping anything.
In more detail:
- we request a certain amount of down payment after the order and before starting production
- we request final payment before we deliver goods
Thanks
Fabio -
Morning,
I was wondering if it was possible to create a form and set up an approval flow within the site so it goes to one person for approval and once they approve they click submit it passes to someone else to confirm further approval?
Thanks
GreigHi,
Approval process flow is not supported in Adobe FormsCentral. You may want to check Adobe Acrobat, or Adobe LiveCyle products.
Let me point you to the forums site: http://forums.adobe.com/index.jspa select Acrobat or LiveCyle at the drop down field.
Thanks,
Lucia -
Starting Process Flows with a database trigger
Hi all,
Is it possible to start a process flow using a trigger? I am using the sqlplus_exec_template.sql at the moment.
Thanks in advance,
Regards,
SebastianHi Javor,
Thanks for your reply. I am using version 10g . After embedding the process flow execution into a procedure, I am getting the following error.
Connecting to the database userx.
ORA-20001: Task not found - Please check the Task Type, Name and Location are correct.
ORA-06512: at "OWB_REPOS.WB_RT_API_EXEC", line 704
ORA-06512: at "userx.RUN_PF", line 27
ORA-06512: at line 2
Stage 1: Decoding Parameters
| location_name=MY_WORKFLOW
| task_type=PROCESSFLOW
| task_name=MY_PROCESS_FLOW
Stage 2: Opening Task
Process exited.
Disconnecting from the database userx.
Extract of the procedure (just like the template).
-- Initialize Return Code
exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
-- Run Task
exec_return_code := wb_rt_api_exec.run_task(LOCATION_NAME,TASK_TYPE,TASK_NAME,CUSTOM_PARAMS,SYSTEM_PARAMS,OEM_FRIENDLY,OWB_BACKGROUND);
Regards,
Sebastian -
Cisco ISE Process Flow with Active Directory
Hi guys,
Today I did a lab and see this note at Authentication Policy Interface. This note is:
Note: For authentications using PEAP, LEAP, EAP-FAST or RADIUS MSCHAP it is not possible to continue processing when authentication fails or user is not found. If continue option is selected in these cases, requests will be rejected.
Then I thought that the best way to configure authetication policy for Flex Auth: Dot1x (with Active Directory) > MAB (Internal Endpoint) > CWA (Guest and other user) will be using EAP-TLS authentication protocol.
Is this possible using another protocol instead of EAP-TLS (which is required client certificate has already been installed)? Would you mind helping me to reslove the problem? And the network authentication method at end user side will be?
Any help will be much appreciated.Please refer the Supported Authentication Protocols ( including PEAP ) , database and authentication types from below
http://www.cisco.com/c/en/us/td/docs/security/ise/1-2/user_guide/ise_user_guide/ise_auth_pol.html#pgfId-1266680 -
Schedule Process Flow with sysdate input parameter
Hi experts,
I'm facing a problem trying to run a schedule in a job,
The schedule is defined to run daily at 3am, and the job receive a sysdate parameter, when I start the schedule in the control center I put
TO_CHAR (TRUNC (SYSDATE), 'DD / MM / YYYY') , and the JOB runs fine with the correct date, but the next day the schedule runs with the date from yesterday, i.e the sysdate is not working.
Maybe I missing something here ?, or is there another way to pass a dinamyc parameter to a scheduled job.
I´m using OWB 11.2.0.1
Thanks.Chino -
Once you start the job, do you have to leave the "Job Details" window open in order for teh scheduled task to run?
thanks for the help ....
txb -
OMB Script - Run a process flow (OMBSTART) with input parameters.
I have a process flow with one input parameter : PF_SCHEMA_NAME. This is a string, literal value = false.
While running this from the OWB Control center UI, it prompts for value of parameter.
I need to execute this process flow using OMB script.
OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
This gives following error:
OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN 'OWF_LOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
RPE-01003: An infrastructure condition prevented the request from completing.
RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
ORA-06550: line 1, column 668:
PLS-00201: identifier 'ADVIEWPROD' must be declared
ORA-06550: line 1, column 626:
PL/SQL: Statement ignored
Completing Execution WMREPORT_INCR_DAILY_FCT_SIMPThanks David for your reply.
But your suggestion did not work. I am still getting the same error.
OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('"ADVIEWPROD"')
Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
RPE-01003: An infrastructure condition prevented the request from completing.
RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
ORA-06550: line 1, column 651:
PLS-00201: identifier 'ADVIEWPROD' must be declared
ORA-06550: line 1, column 608:
PL/SQL: Statement ignored
Completing Execution WMREPORT_INCR_DAILY_FCT_SIMP
Can you please help? -
How to specify the Process Flow Module with SQLPLUS_EXEC_TEMPLATE.SQL ?
Hi, we have a couple of process flow modules that have PF Packages and Process Flows with the same name.
E.g
PFMOD1 (Module)
FILELOAD (Package)
PF1 (Pf)
PFMOD2 (Module)
FILELOAD (Package)
PF1 (Pf)
Normally we can specify "FILELOAD/PF1" as a paramater to the procedure SQLPLUS_EXEC_TEMPLATE.SQL in order to initiate the running of an OWB process flow but how can the system distinguish between modules ?
Anyone done this ?
Thanks
PaulIf you deployed the packages to the same location then the second deployment replaced the result of the first one (actually a new version of the process flow was created). You can execute only the latest version...
Regards,
Robert -
Error in using External Process in the Process Flow
I Created a Process Flow with an external process to Move the file from one location to another location,
I gave the below parameters for the External Process
COMMAND: move
PARAMETER_LIST: ?F:\\FlatFiles\\in\\company.txt?F:\\FlatFiles\\error\\company.err
SUCCESS_THRESHOLD: 0
SCRIPT:
The environment is
Windows 2003
OWB 9.2.0.8
OWF Builder 2.6
When I deploy and execute using Deployment Manager, it gave me the below error
Starting Execution TEST
Starting Task TEST
Starting Task TEST:EXTERNALPROCESS
CreateProcess: move move F:\FlatFiles\in\company.txt F:\FlatFiles\error\company.err error=2
Completing Task TEST:EXTERNALPROCESS
Completing Task TEST
Completing Execution TEST
What am I missing something here?
Is my Parameters correct?
GIve me the link where I can find more on using External process.
Please...please...help me..
ShreeNikolai,
I have created a simple process flow which only calls the external process. The script is on the same host as the process flow is deployed to.
I have used two diffent values for the command parameter.
1. I placed the full path of the file in the command parameter and left the script parameter blank:
COMMAND: /edwftp/ppas/scripts/ClearPPAS.sh
PARAMETER_LIST:
SUCCESS_THRESHOLD: 0
SCRIPT:
2.I placed the bash command in the command parameter and the full path in the script parameter.
COMMAND: /usr/bin/sh
PARAMETER_LIST:
SUCCESS_THRESHOLD: 0
SCRIPT: /edwftp/ppas/scripts/ClearPPAS.sh
Both of these appear to work as they print out the statements inside the script but the files that are supposed to be removed still remain.
Starting Execution EXTER_FILE
Starting Task EXTER_FILE
Starting Task EXTER_FILE:EXTERNALPROCESS
Removing ActivatedAudit.dat...
Removing ActivatedCustomers.dat...
Removing ActiveAudit.dat...
Removing ActiveCustomers.dat...
Done!
Create the Activated Customers data file...
Create the Active Customers data file...
Done!
WARNING: Log file truncated - see RAB for further information.
/edwftp/ppas/scripts/ActivatedCustomers.sh: /edwftp/ppas/log/ActivatedCustomers.log: cannot create
/edwftp/ppas/scripts/ActiveCustomers.sh: /edwftp/ppas/log/ActiveCustomers.log: cannot create
WARNING: Log file truncated - see RAB for further information.
Completing Task EXTER_FILE:EXTERNALPROCESS
Completing Task EXTER_FILE
Completing Execution EXTER_FILE
The permissions on the /log direcotry are 775. The user I register the file location with owns this directory.
Can't think of anything else I have missed. I really appreciate your help :)
Ryan
Maybe you are looking for
-
Score just simply won't print anything When I look at a preview, it's blank Everything else on my mac prints no problem What's going on? Bev
-
ITunes Library sharing error -3259
Hi I am trying to share my iTunes library stored on my iMac (Leopard) with a mac mini (10.4.11). The library name appears in the shared list on the MacMini iTunes but when I click it, it doesn't open up, just hangs until I get an error message saying
-
Quicktime 7.6.4 error 43 saving file, why?
I have Windows XP on a Dell PC. I upgraded to Quicktime Pro, and all was working fine saving video files until I upgraded to 7.6.4. Now I get the following message; "We've run into errors while trying to save this movie. The file was not saved on dis
-
I have just bought a MacPro, turned it on, and can't get past the 'Welcome' screen! I've pressed Esc to get that highly irritating voice, turned it off and on again, but no way can I get past the Welcome. Any thoughts? What a mistake buying an Apple!
-
Dissapeared, missing Texas hold'em game from my Itune / Ipod?
I've looked through the forums but could not find an answer. I have noticed that the Texas poker game has disappeared form my Itunes and my Ipod. I am not sure when it occurred. Maybe when I updated to a newer version of Itunes or downloaded some new