Default certain fields in SRM PO, directly created by Purchaser without SC
Hi Experts,
I am new to SRM. At my project most POs would get created via approved SCs. However some are likely to be directly created in SRM system and replicated in ECC. For such cases, I am asked to default the REQUESTOR & RECIPIENT fields with the current user(sy-uname). There is a suggestion to use BAdI BBP_DOC_CHANGE.
Is this a correct one? Requirement is to default the requestor & receipient fields with sy-uname which mean, when a user starts the SRM PO create screen, he should see his user name to be readily filled in at REQUESTOR & RECEIPIENT fileds.
I would also highly appreciate if some one can point me to an example implementation for this above BAdI. I spotted some example meant for Shopping Cart. Working on the same lines with BBP_PO_CHANGE method and trying to default the above fields did not work. Please help me with some pointers in regards to the above requirement as well as the way to go with the BBP_PO_CHANGE badi method as I have further requirements with this method.
Thanks heaps guys.
Gaurav,
Let me give you some interesting background to this problem. We had this same requirement for a client. We were able to skip the step 'Present changes to creator' and create a step that triggers the event "Saved" for business object BUS2121. In fact that solution works if you have SRM 4.0 and you have not gone past support package 6. When we goto SP 7 it doesn't work and SAP has said they don't support this.
We have been looking for a solution to this for a while now and appreciate you responding with your solution. I have not tried it yet, but will do it ASAP. If you have any futher details about this solution could you post them?
Thanks!
Regards,
Paul
Similar Messages
-
Disable certain fields during the creation of SC using "create limit item"
Hi,
I have a requirement to disable certain fields from the role "SHOP" associated with the operational purchaser role. I would like to disable the fields "Unlimited check box", "Service Agent", " Invoice Only radio button", "Unknown account assignment radio button" from the screen I get during creation of SC using the option "Create Limit Item". Also i need to disable the option "Good / Service" entry box as we are using only free text items and donu2019t want this option to be seen in the screen when using the operational purchaser role.
Please advise how can I achieve this.
Regards
GGLHi,
I have a same requirement to disable certain fields from the Shopping Cart Limit Item. I would like to disable the fields "Service Agent", "Unknown account assignment radio button" from the Detail screen. during creation of SC using the option Limit Item . Also i need to make default Value "Known" and "Invoice Only". But this is in SRM 7.0. Notes You have mentioned supports only Release 5.5, But I am in Release 7.0. Any idea?
I appreciate your help
Thanks,
Monica -
Is there a way to create forms where certain fields would become required only if there was a certain choice made in a dropdown box in another field?
Yes but you will have to create some custom JavaScript to do this.
Also you should be aware that the "Required" property is only processed when the form is submitted to a scripted web page or "mailto:" process. -
Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again
Look to the right under "More Like This". Your issue has been discussed many many times. The error you are seeing is because you do not have enough free "contiguous" space on your hard drive. Read the other threads that address this issue to find how to solve the issue.
Or, put "The disk cannot be partitioned because some files cannot be moved" into the search box at the upper right of this page. -
Creating Customer fields in SRM 5.0
Hey everyone,
i need to create 3 Customer Fields in SRM 5.0 in the Shopping Cart. The Fields are to be showen in Cost assigment.
I allready did the Append Structures from SAP NOTE 672960 and my Fields are showen in the SC, unfortinaly not where i want them to be the are displayed in the Shopping Cart Info.
In Badi BBP_CUF_BADI_2 i tried changing the et_fields-structure_type to ACC but that didnt help.
Does anyone have an Idea or an Answer on how to postion the Customer Fields correctly?
And how do i change the Fields Info Text so the Field and the Headline of the Field are close to each other?
Thanks for all answers.
Tobias
Edited by: Tobias on Aug 24, 2010 3:45 PMHello Virender,
thanks for the answer, everything works so far.
I just have one more little problem. When ever the Requester selects a special Produktcategory in the SC the field Cost assigment has to be changed to ASSET. This i did in DOC_CHANGE_BADI , where i set the et_account value from CC to AS.
Then in the Shopping cart i see the cost assigment i wanted "ASSET" But now i get an Error Message that the Produktcategorie cant be booked to Cost Center ?!?! I tried debugging the Error and found the Message ID BBP_PD MESSAGE 047 and 822
Do you have any Idea why i get this Messages even though i have the right Values in ET_ACCOUNT.
Thanks Tobias -
Service Request - Default Owner field with Created By info
Can anyone help me to default "Owner" field in "Service Request" record type with same info of the "Created By",
Currently the owner field is provided with magnified glass option to select Owner and Save the Service Request.
Thanks, MaheshMahesh,
I am assuming that the login user is the creator of the record.
In that case, use the 'Owned By Id' field in the SR object. Post default it to LoginId()
Rgds,
Amit -
How can i assign value to the certain field in dynmic table ?
i have created a dynmic table .now i want to assign value to the certain field,how can i do that?
for eg,
<dyn_table> contains fields of name age ,now i want assign 'jack' to this internal talbe's field name ,Hi,
try this:
FIELD-SYMBOLS: <GT_ITAB> TYPE TABLE,
<GS_ITAB>,
<FS>, <FS1>.
DATA: GT_DATA TYPE REF TO DATA.
DATA: GS_DATA TYPE REF TO DATA.
START-OF-SELECTION.
CREATE DATA GT_DATA TYPE TABLE OF PA0002.
ASSIGN GT_DATA->* TO <GT_ITAB>.
CREATE DATA GS_DATA LIKE LINE OF <GT_ITAB>.
ASSIGN GS_DATA->* TO <GS_ITAB>.
ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
<FS> = 'Smith'.
ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS>.
<FS> = 'Paul'.
APPEND <GS_ITAB> TO <GT_ITAB>.
ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
<FS> = 'Jones'.
ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS>.
<FS> = 'Martin'.
APPEND <GS_ITAB> TO <GT_ITAB>.
LOOP AT <GT_ITAB> INTO <GS_ITAB>.
ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS1>.
WRITE: / <FS>, <FS1>.
ENDLOOP.
Regards, Dieter -
Can we remove the default status field from OIM
hi,
even when my i am not mapping any field to the OIM status field , it is taking Active as default value. i dont require that field so is it possible to remove the default status field of OIM.
i am using database GTC connector for trusted recon.User will always have a certain status like Active, Disabled etc, so even when you doesn't map it to any attribute the OIM solution calculates it with the help of the user's Start Date, End Date etc.
A user is bound to have a status.
Thanks
Sunny -
Unable to edit certain fields in order type RE comparing with OR
Dear friend,
When I am creating return order with order type 'RE', I find out there are certain fields that are not editable. However, this issue doesnt happen with standard order(order type 'OR'). please refer to the following snapshot:
where you can see fields such as 'intercom', 'payment term' is eidtiable in order type or, but not in RE. Anybody could tell me why? and what configuration control this screen layout? how to edit this? thanks!
Best Regards
T.PHi Peng,
do you face this only for you ID/few users or for every user these 2 fields are not editable ? you have to check this by asking your colleagues/users .
If it is problem with few users then they have done some authorization check here only for few users.
if it is for all, then as mentioned by Venugopal, some enhancement is done for this to make non editable these fields.
What to you want, do you want to make it editable fields or do you just want to know why it has done ?
Regards
Sundar -
How to create a field value as constant while creating eCATT scripts
Hello Guru's,
I am updating thousands of records using eCATT. How should i declare a field value as constant while creating a eCATT script it self, so that it automatically picks that value and update the records. I should not mention the field value in the upload file.
Full points for the answer,Dont parameterize the value that you would like to keep as constant. Pass the default value to that feild while reocrding .
-
How to restrict AS02 access to certain fields only
How to restrict AS02 (Asset Master Record) access to certain fields only. Currently when you assigned AS02 to a certain user, this will enable the user to change all the fields in the asset master record. Suppose i want only the user to restrict the access to certain field eg.NDJAR (Life in Yrs).
Thanks for your inputs.
Regards,
Roberthello,
basis has to assign the proper activity with object A_S_ANLKL. in this case they have to allow activity 03 only with combination of Cocode,asset class. see some more details below.
This authorization object is the first part of the object "asset master record."
The definition at this level determines whether the user is authorized to process data in a given company code. The activity type for the transaction is also defined here. This authorization object is used for master data transactions, for the display of value fields, and for reporting.
Defined Fields
The following fields are assigned to the authorization object
Asset class (specified by entering a value in the pop-up window)
Company code (specified by entering a value in the pop-up window)
Activity type - there are three different activity types:
01 = Create
02 = Change (including blocking and deleting)
03 = Display -
BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N
Hi,
I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
Please could anyone help me with this .
Regards,
Sushanth H.S.Hi!
User Exits in Transportation
In Transportation, there are enhancements that you can use with transaction CMOD.
For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
Business Add-Ins in the transports
Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
Customer-specific functions can be executed before the save time and after the database update.
The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
IN_UPDATE: BADI is called up after the database update.
Standard Settings
Creating a BADI method:
Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
Afterwards, go to the heading and activate the interface.
Regards
Tamá -
Custom field in SRM as a dropdown field with values stored in R/3
Hi all,
I need help with custom drop-down field in SRM 5.0 shopping cart. We need to create custom field called Location in SRM goods receipt transaction. And this location field will be a drop-down field that will be filled with values from locations stored in R/3. I would really appreciate if someone can help me achieve this.
Regds,
KimHi,
Just attach a custom search help to this field and then in the search help EXIT(RFC enabled Function module) write the logic to reterive the values from R/3.
BR,
Disha.
Pls reward points for useful answers. -
Can't add new image field in SRM MDM catalog
Dear Experts
I have added a new lookup[image] field in Catalog Item table.
The problem is I cant find it in my
MDM_SRM_UI_App>Customize Display tab>SRM-MDM Repository fields list
Can't we add custom fields to repository?
I also read this SAP Note 1028343 (Changes in repository not reflected in Catalog UI)
where it is said to restart the mdm connector for the changes to take place.
However the note is quite old. Is it still applicable?
Please share your ideas.
Thank you.
Regards
SwarnaDeepikaHi SwarnaDeepika
There is already Images and PDF lookup available for each record in Catalog items table. I am not sure how we can create a new images lookup
The below links explain the transport configuration process, this may help you identify custom fields in SRM-MDM Repository Fields list
https://wiki.sdn.sap.com/wiki/display/SAPMDM/OpenCatalogInterfaceinSRMMDMCatalog+2.0
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7246
Regards
Goutham Kanithi -
Exit to populate Vendor Batch field in Material tab while creating PO.
Hi Experts,
I need an exit to populate Vendor Batch field in Material tab while creating Purchase Order.
Regards,
Jayapal.
Message was edited by:
JayapalHI ,
Folllowing r the exits for po .
Enhancement/ Business Add-in Description
Enhancement
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Regards
Maybe you are looking for
-
JavaScript code frequently stops working in Firefox 2.0.0
== Issue == Firefox is having problems with certain web sites == Description == I have the following code in my JSP page. Based on some certain business logic I need to hide some toolbar buttons. <code>function displayToolbar() var oPageHeader = pare
-
Not sure if this is the correct forum to post this in, but any ways: I have bee able to make a link to a directory on an external hard drive that is connected directly to the pc with cmd. I wish to do the same to a directory on a mapped drive on the
-
Turning "OFF" flash mode in E71
How do i turn "OFF" flash while recording in video mode on my E71? please help.....thanks
-
Firmware Upgrade causes ipod touch to crash
I have a Sumsung NC20 with Windows 7. Whilst updating my ipod touch to firmware 3.1.3 my ipod was wiped clean of all music content and can no longer connect to itunes. my Itunes (latest version) says that the ipod cannot be validated. Accordingly, I
-
NW 7.4 as java disable dsr logs
hi all I testing perfomance of my custom JavaEE app . When i run test Netweaver generate many huge logs in /usr/sap/SID/J00/log/dsr/ In older versions of NW for deactivating uses Visual Administrator . But how deactivate this dsr logs in NW 7.4 (no