Workflow for Vendor Creation through a portal.
Hi All Workflow Experts,
I have a scenario here.In my project vendor is created through a portal.On submit button from portal the workflow is to be triggered.I have to design the workflow process.So can you please guide me through what all should i consider while i design this workflow?
This is my first workflow assignment so if you explain in detail it will be a great help.
I will just pen down what all scenarios i can think of:
1.Start workflow after vendor creation or modification.
2.Check whether approver are maintained in Org structure through standard FMu2019s.
3.Check If approvers are maintained ?
4.If yes,approve or reject the vendor.
5.If no,get the agents from the custom table who can take an action on this.
This is what i can think of.
Please guide me.
Thanks in Advance,
Saket.
The corresponding BO related with the vendor creation or changing is LFA1 but this Business object doeanot have any events that are related to Create and Change , so try to create a ZLFA1 and add you own events or make use of delegation concept where you will create a delegation for LFA1.
For your first isssue
Start workflow after vendor creation or modification
EXIT_SAPMF02K_001 Vendors: User Exit for Checks prior to Saving is the user exit where in you can call the workflow when ever you change or create , because this user exit will trigger when ever you try to save the vendor. so i think you can make use of this user exit
For your second Issue
Check whether approver are maintained in Org structure through standard FMu2019s.
Make use of SWI_GET_USERS_OF_ORG_UNIT this fucntion mdoule to get the user of the ORG unit
or you can create a Rule(for determining the agents dynamically) to find the approvers.
Similar Messages
-
Enterprise Service for Vendor Creation
I would like to know whether there is any Enterprise Service for Vendor Creation in SAP. I have found out an Enterprise Service for the same -- SupplierERPCreateRequest_In. However this is an Asynchronous Enterprise Service.
I need to know wheter we can create Vendor in SAP through any Synchronous Enterprise Service ?
Thanks & Regards,
Ashwinni S. Kadam.Hi Ashwinni
I don't think there exist a synchronous enterprise service for the creation of vendors. Do you know if there is an enterprise service to do an update on a vendor? If an application is responsible for creating the vendors (like SAP MDM in a CMDM scenario) then the application of course can send updates on a vendor. Or is the scenario thought to be that you only create the inital vendor in MDM and then maintain it in for example SAP ECC?
Br
Göran
Edited by: Göran Westin on May 24, 2011 2:30 PM -
Mass vendor creation through LSMW
Hi,
Could you please let me know the mass vendor creation through LSMW also let me know the text file format?
Regards
NamaHi Chandrashekar
It is very easy to create the LSMW structure for the Vendor load, First thing you have to do is to get all the fields that the business wants to be inputed when you are XK01. Than create a LSMW recording and assign the recording to the structure.
I can guide you with the creation. I do have a PDF for LSMW which will be very helpful for guidance, But how do i share? -
SAP Workflow for vendor invoice is posting into past?
Dear experts
I have a heavy problems with the workflow for vendor invoices. The following example demonstrates it:
I have created a vendor invoice on 1st of December 2011.The responsible person has checked and released this invoice on 3rd January 2012. In Customizing it is setup that posting date will be overwritten with system date.
Does anybody has an idea why it is not posted in January 2012?
What does the workflow? It is posting that invoice with posting date 1st December 2011 not with 3rd January. If I have a closer look into the head of the SAP document the following parameters are shown: document date: 1st December, posting date: 1st December, entry date: 3rd January.
Does anybody has an idea why entry date is 3rd January?
Thanks in advance
UdoDear expert
It is not standard behavior for the posting date to overwrite the document date - at least its not something that I've ever come across. I'm wondering if there is a custom substitution on your system that is overwriting the document date . Check t-code OBBH. The substitution is most likely at the document header level.
Regards
Ajeesh.s -
Workflow for vendor down payment request
hi All,
i need to develop a workflow for vendor down payment request as there is no standard workflow available.
But not able to find any business object for it. Is there any standard business object available for it?
If no what are the steps that i should follow to create a business object for vendor down payment request?
plz guide me.
Thanks & Regards,
K.Perumalraj
SAP Workflow ConsultantBKPF is the business object
-
I've created a BCD program for vendor creation and I just realized that I now need to use multiple street address fields. When I run the XK01 transaction in SAP directly I can access those field by clicking on the more fields button and expanding the screen. When I use the BDC recorder function, the more fields button isn't available. Has anyone else experienced this and found a solution?
Thanks!
SybilLike this:
'X' 'SAPMF02K' '0105', "Create Vendor: Initial Screen
' ' 'RF02K-BUKRS' '0000',
' ' 'RF02K-KTOKK' 'Y000',
' ' 'USE_ZAV' 'X'. "<========
Rob
Message was edited by:
Rob Burbank -
Do we have any functionality of workflow for vendor master.
Thanks for your reply.
Dual control functionality we have already explained to the users. they are not convinced with that.
what users are looking at is the the purchase clerk will enter the purchasing related data in vendor master then the mail for approval will go the manager purchase. Upon approval, the accounting clerk will enter the company code date and for approval it will go to accounts manager. Once vendor master has been approved then only the transaction against this vendor should be possible.
Clerk creates vendor master> Manager Approves> then only vendor master is available for use in transaction.
this is the functionality the user is looking at.
Since I am a MM consultant does not know about work flow. If this kind of functionality is feasible in workflow then we can raise request in our company to arrange for a workflow consultant.
before that we need to be sure on that whether it is achievable or not.
Please confirm. -
Exposing MDM vendor information through the Portal
We are looking to expose certain MDM vendor information (such as; create, modify, etc) through the Portal and allow the users to update their information via the portal.
For example, vendor X will log onto the portal, they will only see their specific vendor details and will be able to modify their address, bank details, etc... through a number of iViews.
Please assume that we will be using the latest version of MDM (5.5 SP3?) and EP6.0 SP14.
My questions are:
- is there a business package that will provide us with that specific functionality?
- if not what is the best way (if it is actually possible) of exposing this functionality through the portal (I guess we would need to create a web dynpro component)?
Many thanksHi James,
We have business package for MDM SP3 with some built-in iviews, which was released in Nov/Dec 2005. They also have create/modify iviews.
But they don't have iViews to add to a qualified table. In your case for Bank details I don't think you can use the existing iviews.
Thanks
Subbu -
Need Sample Code for Vendor creation using JAVA API
Hi,
I have a scenario like Vendor creation using <b>Java API</b>.
1.I have Vendors (Main) Table.
2.I have <b>look up</b> tables like Account Group.
3.Also <b>Qualifier table</b>(Phone numbers) too.
Could you please give me the sample code which helps me to create Vendor records using Java API?
<b>I need Code samples which should cover all of the above scenario.</b>
<b>Marks will be given for the relevent answers.</b>
Best Regards
PK DevarajHi Devraj,
I hope the below code might solve all your problem:-
//Adding Qualified field
//Creating empty record in Qualifed table
//Adding No Qualifiers
Record qualified_record = RecordFactory.createEmptyRecord(new TableId(<TableId>));
try {
qualified_record.setFieldValue(new FieldId(<fieldId of NoQualifier), new StringValue(<StringValue>));//Adding No Qualifier
catch (IllegalArgumentException e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
catch (MdmValueTypeException e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
//Creating Record in Qualified table
CreateRecordCommand create_command = new CreateRecordCommand(connections);
create_command.setSession(sessionId);
create_command.setRecord(qualified_record);
try
create_command.execute();
catch(Exception e)
System.out.println(e.toString());
RecordId record_id = create_command.getRecord().getId();
//Adding the new record to Qualifed Lookup value and setting the Yes Qualifiers
QualifiedLookupValue lookup_value = new QualifiedLookupValue();
int link = lookup_value.createQualifiedLink(new QualifiedLinkValue(record_id));
//Adding Yes Qualifiers
lookup_value.setQualifierFieldValue(0 , new FieldId(<FieldID of Yes Qualifier>) , new StringValue(<StringValue>));
//Now adding LookUP values
//Fetch the RecordID of the value selected by user using the following function
public RecordId getRecordID(ConnectionPool connections , String sessionID , String value , String Fieldid , String tableid)
ResultDefinition rsd = new ResultDefinition(new TableId(tableid));
rsd.addSelectField(new FieldId(Fieldid));
StringValue [] val = new StringValue[1];
val[0] = new StringValue(value);
RetrieveRecordsByValueCommand val_command = new RetrieveRecordsByValueCommand(connections);
val_command.setSession(sessionID);
val_command.setResultDefinition(rsd);
val_command.setFieldId(new FieldId(Fieldid));
val_command.setFieldValues(val);
try
val_command.execute();
catch(Exception e)
RecordResultSet result_set = val_command.getRecords();
RecordId id = null;
if(result_set.getCount()>0)
for(int i = 0 ; i < result_set.getCount() ; i++)
id = result_set.getRecord(i).getId();
return id;
//Finally creating the record in Main table
com.sap.mdm.data.Record empty_record = RecordFactory.createEmptyRecord(new TableId("T1"));
try {
empty_record.setFieldValue(new FieldId(<FieldId of text field in Main table>),new StringValue(<StringValue>));
empty_record.setFieldValue(new FieldId(<FieldId of lookup field in Main table>), new LookupValue(<RecordID of the value retrieved using the above getRecordID function>));
empty_record.setFieldValue(new FieldId(<FieldId of Qualified field in Main table>), new QualifiedLookupValue(<lookup_value>));//QualifiedLookUp value Retrieved above
} catch (IllegalArgumentException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} catch (MdmValueTypeException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
//Actually creating the record in Main table
CreateRecordCommand create_main_command = new CreateRecordCommand(connections);
create_main_command.setSession(sessionId);
create_main_command.setRecord(empty_record);
try
create_main_command.execute();
catch(Exception e)
System.out.println(e.toString());
Thanks
Namrata -
Hi
I would like to implement the Work Flow for User Creation, i.e.whenever the admin creates the user id, it should go to manager for approval and after that it pwd should be delivered to the respective user.
Can any one guide me on how to implement the same. Also I would like to know the use of customisation under Set Approval Indicator in IMG settings.
Suitable points will be awarded.
Regards,
PKMHi,
Pls refer the foll link:
http://help.sap.com/saphelp_srm40/helpdata/en/5a/af5f0b85d011d2b42d006094b92d37/content.htm
BR,
Disha.
Pls reward points for useful answers. -
BDC program for vendor creation
i need to create a vendor with 8 line item of bank information through BDC and i was trying to write a program. but i'm having some problem with the code. how can i loop the program to enter 8 bank information line item for one vendor??
Use The below code
Just create a Variable and increment the value by 1 for the required bank line items in the Below screen for field LFBK-BANKN(05) here 5Line item are given while recording
Loop at Itab.
Prog dynpro dynbegin
SAPMF02K 0130 X
Fnam Fval
BDC_CURSOR LFBK-BANKN(05)
BDC_OKCODE =ENTR
LFBK-BANKS(01) IN
LFBK-BANKS(02) IN
LFBK-BANKS(03) IN
LFBK-BANKS(04) IN
LFBK-BANKS(05) IN
LFBK-BANKL(01) 16294004
LFBK-BANKL(02) VIJAYA
LFBK-BANKL(03) 00005363
LFBK-BANKL(04) 00810200003
LFBK-BANKL(05) 0510015
LFBK-BANKN(01) 12312
LFBK-BANKN(02) 12312
LFBK-BANKN(03) 12312
LFBK-BANKN(04) 12312
LFBK-BANKN(05) 12312
endloop. -
URGENT : Workflow for Vendor Bid
Hi all,
Hope everyone is doin fine out there..
We are having a workflow issue for the Vendor Bid...
We have activated the event linkage for the Vendor Bid..
WS79000010 (No approval required) and deleted all the start conditions for this bus. obj (BUS2202)..
The vendor as a bidder is able to submit his bid.. and once this bid is accepted the status is alwayz awaiting approval...
is there any way we can inactivate the awaiting approval...bcoz in BBP_PD i see for this vendor bid the awaiting approval is not marked inactive....
or do we have to maintain anything in the org structure..
Thankz in advance
Regards
Manoj A.Hi Yann,
SRM_SERVER 500 0008 SAPKIBKS08
we are in testing now.. we did not run into such problems on the dev system..
and in my inbox we get an error..
Workflow WS79000010 not activated
Not activated due to:
9999999999 E Workflow definition '' not in version ''
Further results of syntax check:
9999999999 I The container element Initiator is written, but not read or exported
0000000104 W Data may be lost in assignment between type 'CHAR255' and 'WFSYST-ACT_AGENT'
Correct the error either here in the local system or in source system
and then transport it again
appreciate someone looking into this..
not sure if this is a config issue..
Regards
Manoj -
Workflow For material Creation
Requriment is that : After creation of Material by End User Workflow Should be Triggered and Internal Mail Should be goes into the Superwiser Inbox (i.e in SWBP ) only Superwiser can see whos has created the Material .........
So if Anybody having the Steps for this Senario then Give me the Link
Regrads,
Sandeepthanks Sharath but this not problem which i am facing , my problem is that ,
enduser : Who is creating Material after creation of material his Role is finished . Now the Workflow is Triggered
superwiser : As soon as Worklfow is Triggered Mail comes to his Inbox Like " Material is created by abc ( end user ) .
I have develoed the workflow but the things is that after creation the material i myself geting the mail in my INBOX that " material is created " but fact is that that mail should goes to superwiser and this is not happened ?
I thing their is problem with agent assignment . i also try lot's of things but still my Problem is not solved if you have any screen shotes of Real time Senario then please guide me
regrads,
Sandeep -
UWL Workflow for Purchase creation and Requisition
Hello Friends,
Could you please help me on the following UWL configuration scenario?
1. Workflow process for purchase requisitions (create purchase requisition ME51N)
2. Workflow process for purchase orders (create purchase order ME21N)
For the above scenario, what need to be done in portal. I already established SSO, and other connectivity between portal 7.0 and SAP System.
For the above scenarios do we need to import any package into portal...like business packages?
Or will it work in UWL automatically? (I am not sure about this line...I am new to UWL)
Please help me on this.
Thanks,
VasanthHi
U need to register the system with portal
Registering the SAP ECC system that will provide work items to UWL. For example, registering the system on which Business Workflow runs
Each SAP system that will provide work items must be registered as follows.
1.Navigate to System Administration  System Configuration  Universal Worklist and Workflow  Universal Worklist - Administration.
2.Choose the New button.
3.In the dialog box:
In System Alias, enter the system alias.
In Connector Type, select WebFlowConnector.
4.Choose Save to store the current configuration object.
Register Work Item Types:
The work item registration process involves identifying each system by its alias, and then generating the XML description of how to process the work item types to be received by UWL from each system.
1.Choose System Administration  System Configuration  Universal Worklist & Workflow  Universal WorkList - Administration. The system displays the iView titled Registration for item types of Universal Worklist Webflow. The system displays a list of system aliases for which the work item types are not yet registered.
2.Select Register Item Types for New Systems Only button.
Register Item Types for All Systems button is selected to perform the registration for all configured systems. Register Item Types for New Systems Only button is selected to perform registration for systems whose XML processing description has not been downloaded before.
Regards
Krishna. -
Work flow activity for vendor creation
Hi
In standard do we have any control so that user cannot create vendor master unless it is approved by the authorised person.
I know for changing the existing we can put control in FK08.
But is it possible at creation level?
Thanks in advance,
Regards,
KumarDear Please post it in MM forum.
Maybe you are looking for
-
Running a Program in JDeveloper using Command Prompt
Hi, I downoladed Oracle JDeveloper 10g. I had written a simple java class called Echo. java. I want to run the file using command prompt. My JDK has the following path: F:\Sowmya My java file has the following path: F:\Sowmya\jdev\mywork\1\1\src\pkg1
-
FBICRC003A table entries for the GR/IR account
we had implemented intercompany a couple of months ago and now we are starting to see a GR/IR account in the customer column of the details section of the FBICR3 transaction. GR/R documents seem to build an inflated balance suggesting a duplication
-
Hi All, I am getting the same error message "The sum of the confirmed quantity exceeds the sum of stock items" Message no. VV040 And it is occurring in the pick TO confirmation stage against outbound delivery document for STO. There is 680 qty availa
-
Bills of material[BOM]
Dear all, hi, i have got a dought in bills of material, i shall be very much pleased if some one helps me out of this. using the transaction code CS01, i have created the 'BOM' for the material 'computer' giving the components as 'keypad' and 'CPU'.
-
Purchasing Info Record- Different Regular Vendor for different Plant
Dear Guru, I'm encounter a problem with PIR. I have this PIR 9001 (Vendor A) and 9002 (Vendor B) for material A, which i have extended to 2 different Pur.Org 0001 under company code 0001 and Pur.Org 0002 uner Company code 0002. For Pur.Org 0001, i se