Limiting Authorization of one of many UDF in marketing documents

Hi
I have created a Additional Authorization Creator for limiting the user from changing the values of  UDF Field and its working fine,  but the issue is i need to block only one UDF which i have created.
For Eg.
There are some 5 UDF (Header Level UDF) in a marketing document, namely
UDF 1 - Transport Name
UDF 2 - Transport Type
UDF 3 - Vehicle Number
UDF 4 - Driver Number
UDF 5 - Driver Name
I need to block only the UDF 5 from changing and the other UDF's can be changed.
The Additional Authorization Creator which i created block's me from changing all the five UDF Values instead of only that UDF 5 .
What could be reason?  Should i need to give any  Form Number like what i give  63771 which is for Form Settings?

Hi
you can open the document , open the user defined field
go to tools---customization tools ---settings
you will see the list of UDF you can just select which UDF you want to update
you can mark 4 UDF as active and the 5-th UDF as not active but visible
shachar

Similar Messages

  • How to update UDF from marketing documents to Journal Entry UDF

    Hi Experts,
    I have a UDF in the marketing documents and I want to save the value to Journal Entry UDF.
    Regards,
    Jummie

    Hello Jummie,
    If I understand correctly, the scenario is that copy the value of UDF from marketing document to the UDF its target JE from when the marketing document is created.
    if so, just listen to FormDataAdd Event for the marketing document, copy the value of udf when document is created.
    Here is the sample code.
    Private Sub FormDataEventHandler( _
        ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, _
        ByRef BubbleEvent As Boolean) Handles oApp.FormDataEvent
            'You may add the target documents, 133 - A/R invoice.
            'Before action = true, start the transation
            If BusinessObjectInfo.FormTypeEx = "133" _
                    And BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD _
                    And BusinessObjectInfo.BeforeAction = True Then
                oCompany.StartTransaction()
                'BubbleEvent = False
            End If
            'Before Action = false,
            'Update product item tree
            'Succeed, commit, otherwise rollback
            If BusinessObjectInfo.FormTypeEx = "133" _
            And (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD) Then
                If BusinessObjectInfo.BeforeAction = False And BusinessObjectInfo.ActionSuccess Then
                    Dim objectKey As String = String.Empty
                    oCompany.GetNewObjectCode(objectKey)
                    MsgBox(BusinessObjectInfo.Type)
                    Dim oInvoice As SAPbobsCOM.Documents = Nothing
                    oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
                    If oInvoice.GetByKey(CInt(objectKey)) Then
                        'Retrieve the UDF value in documents
                        Dim udfValueInDoc As String = oInvoice.UserFields.Fields.Item("***").Value
                        Dim oJE As SAPbobsCOM.JournalEntries = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
                        'Retrieve the JE for the document
                        oJE.GetByKey(CInt(oInvoice.JournalMemo))
                        Dim succeeded = True
                        'add you code to copy the UDF from document into JE
                        If succeeded Then
                            'update the production tree succesfully,
                            oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
                        Else
                            oCompany.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
                        End If
                    End If
                End If
            End If
        End Sub
    Regards, Yatsea

  • How to implement one to many relationship between two Document Line Table

    Hi,
    I want to implement the following relationship into user defined tables:
    Example Situation:
    There are tables A, B and C.
    For one record of Table A, there could be multiple records in table B.
    For one record of Table B, there could be multiple records in table C.
    i.e. A(1) -> B(n) [One to many relationship]
         B(1) -> C(n) [One to many relationship]
    finally: A(1) -> B(n) -> C(n)
    How can I achieve this? If I make Table A as Document and table B & C as Document Line and then make them UDO, will it work? Kindly suggest me a solution.
    Regards,
    Sudeshna.

    Hi,
    I think that the database representation is exactly what you ask for. 3 tables, A, B, C. A should have a UDF that is linked to B table, and B should have a UDF that is linked to C table.
    You should manage the database transactions, and the UI to support all this stuff.
    Regards,
    IBai Peñ

  • Using UDF in Marketing documents

    Dear All,
    I made two UDF in Marketing docs rows and the same rows in Accounting - Journal transaction rows
    The goal is: Every time when the user creates a marketing docs, I'd like to insert the corresponding data to accounting. What should I do for this? Could this be automatically somehow? Is it a simple way to capture all of the events which modifies the journal entries?

    well,
    i would do it so:
    use et_VALIDATE and/or et_LOST_FOCUS in the matrix and make one procedure for all documents.
    to be sure the code only works for your documents filter it like
    if (pval.FormType = 139 or pval.Formtype = 133 or ...) then
    anyway, it will be very tricky, because you will get troubles when more documents are opened
    regards
    David

  • UDFs in Marketting Documents

    Hi,
    When I add an UDF in the Marketting Documents -> Row/Title it appears in all the marketting related documents.
    How can I add it only for say AR Invoice.
    I tried defining Category for the user defined fields. But then I will have to do it for all the documents one by one seperately as this category definitions are not available when I go to the next document type.
    How shall I handle this ?
    Thanx in advance.
    With Regards,
    Ram.

    Hi Ram,
    The UDF is correctly designed to apply to apply to all marketing documents in the event that say you start using the field in a sales quotation the informations will automatically carry forward to the sales orders, an automatically created purchase order and A/R Invoice etc.
    For your issue you simply need to adjust the form settings in all documents where you will not be using the field.
    It's a little work but just the way it is!
    Jake

  • UDF In Marketing Document At Title Level - Display/Activate

    Can you display an UDF in a Marketing Document and if so how do you make it visible and active?  I see how to do this for the rows but not the title.

    Go to menu - View - User Field.  Or simply CtrlShiftU.
    It will be visible and active by default unless you manually uncheck the boxes under setting.
    Thanks,
    Gordon

  • Hi all visible false udf in marketing document

    hi all,
    i want to visible false udf in the marketing document.but field not show in the forms object.
    how is possible.

    thanks to replr but i haven't got udf in the active form event.
    If pVal.FormType = "142" Then 'Purchase Order Form
                    If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD And BubbleEvent = True And FLAG = False Then
                                       oFormAPOrder = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                            'Form = SBO_Application.Forms.ActiveForm
                            Dim oItem As SAPbouiCOM.Item
                            oItem = oForm.Items.Item("U_UIN")
                            oItem.Visible = False
    end if
    end if
    i read in forum that u have to catch form with -142 then u get the udf of the form.
    but i tried my problem not solved.
    Regards
    Rajkumar

  • UDF in marketing documents

    Hi Experts,
    The UDFs and FMS which are working fine in A/R INV, not working in Sales ORder (Whenever trying to attach FMS, it shows internal error occurred)

    Hi,
    Most FMS if structured correctly should work across all marketing documents as the table structures are the same.
    The FMS's will not work however, if you are including table names in the queries, e.g. $\[ORDR.CardCode\] instead of $\[$-4.CardCode\] or $\[RDR1.ItemCode.0\] instead of $\[$38.1.0\]
    If you are unsure how to replace the table names with the form references, simply change the table names in your query, save it with a different name and apply that query to the different screen.
    There are some instances where using the table name is necessary, for example if you need to pick up header level UDFs $\[ORDR.U_UDF\].
    If you are a SAP partner or customer, there is a useful e-learning session in the education section that will help you.
    Post your query here if you have further problems.
    Regards,
    Adrian

  • Image UDF on Marketing Documents for Signature

    Hi,
    I'm using SAP B1 2007A (PL48) with B1DE 1.4
    SCENARIO:
    For certain Marketing Document Forms (AR Invoice, Sales Order etc) , I need to capture a physical signature via an ePad and save the resulting jpeg with the Marketing Document.
    I've created a UDF on the Marketing Documents Title of type Image.
    I've added a button to the form (for example AR Invoice) which lets the user capture a signature and saves it to a file.
    QUESTION:
    How can I programatically load the saved jpg file to the Image UDF?
    Please advise.

    Hi Ben,
    Unfortunately, because you are doing this on a system form it isn't easy. The PictureBox control is what you need to set the picture but I gave it a quick test and although I can create an instance of the PictureBox control and set it to an image UDF field, any value I set to the Picture property is not saved to the UDF.
    An alternative approach:
    1) Create a separate UDT. In this table you'll need columns for DocType and DocEntry (so you can link a record back to a marketing document) and an Image UDF.
    2) Create a simple form that just has a PictureBox control on it. Bind the control to the image UDF on your table.
    3) Add a button (in the form load event) to each of the marketing documents that need a signature.
    4) Trap the event of the user clicking on the button in the marketing document form and open your new form. Use conditions in the DBDataSource to show the correct signature image.
    To import the scanned image you'll need to do the following:
    1) Copy the image file to the Pictures folder (as set in the General Settings path tab).
    2) Add an entry to the UDT for the correct document type and entry. For the image UDF you should set just the image file name and not the full path.
    Hope that all makes sense!
    Kind Regards,
    Owen

  • Discount Groups - Items.  How to get the Buy One Get One Free discount in the Marketing Document

    Hi Experts,
    Can anyone help on this one please?...
    Under Stock Management -> Price Lists -> Special Prices -> Discount Groups -> Items -> I have selected a specific BP and then have selected a specific Item Code.  I have stated the Paid Qty as '4' and the Free Qty as '1'.
    The option 'Do Not Apply Discount Groups' is not ticked on the BP or the Item Master Data.
    There are no Special Prices for this Item for the BP.  Nor are there any period and volume discounts.
    Can anyone think of a reason why in the Sales Order I can never get the discount when putting in '3' in the Qty column on the SO please?
    Many thanks,
    Caroline

    Hi Gordon,
    Thanks for your email, and sorry for the confusion!
    I believe that when I enter '5' into the sales order the discount should come up as the Paid Qty is '4' and the Free Qty is '1'.
    Either way I can never get the discount into the Sales Order...
    Can you help please?  I was wondering if I had missed a setting somewhere or something...
    Thanks,
    Caroline

  • Batch Nos and UDFs in Marketing Documents.

    Dear Experts,
    I am adding some documents like Purchase Invoice, Sales INv..etc, in SAP B1 using DI,  Now the problem is I am adding some Batch information like Batch Nos, Batch Quantity etc. Now in the same table OBTN, I want to fill up some values in the UDF. How do i do this as  oPurchaseInvoice.Lines.BatchNumbers.UserFields.Fields.Item("U_lsp").Value is not possible.
    Thanks in advance,
    Vasu Natari.

    Vasu,
    Unfortunatelly the UserFields collection of BacthNumbers is not implemented in  DI API.
    You may try:
    1. Create a Purchase invoice over SAP B1 GU using bacthes.
    2. Enter Defining bacthes screen and fill one the UDFs
    3. Issue the Purchase invoice
    4. save the last issued Purchase Invoice as xml via DI API,using GetAsXml method
    5. Analyze the XML File, and check how the UFD-s are handled in xml
    You will see the following in the bacthes area
    if you prepare your Puchase Invoice as XML File, and load it from xml, you can manage the User Defined Fields in Batches.
    Regards
    János

  • One to many subqueries?

    Hi,all
    I have two tables:
    CREATE TABLE UserInfoTable (
    loginId VARCHAR(32) CONSTRAINT pk_userLoginId
    PRIMARY KEY,
    regionId NUMBER(12),
    accountId NUMBER(12) NOT NULL)
    CREATE TABLE AccountTable
    accountId NUMBER(12) NOT NULL PRIMARY KEY)
    i have established the two master tables on the master site,but
    when i create snapshot as:
    CREATE SNAPSHOT test.AccountTable ON PREBUILT TABLE
    REFRESH FORCE
    START WITH to_date('20/12/2001 07:39:49 am','dd-Mon-yyyy
    HH:MI:SS am')
    NEXT /*1:Hr*/ sysdate + 1/(30*24)
    FOR UPDATE
    AS select * from [email protected] A where
    exists (select 1 from [email protected] B
    where A.accountId = B.accountId and B.regionId = 2)
    i got the following error:
    ORA-12013:updatable snapshots must be simple enough to do
    fast refresh!
    i have create snapshot log on userinfotable.accountId and
    userinfotable.regionid on master site.but if i get rid of the
    above "FOR UPDATE",then it works well.
    this subquery is one to many subqueries?
    the document of oracle 9i said:
    Note: The materialized view site must have a compatibility level
    of 9.0.0 or higher because fast refresh of materialized views
    with one to many subqueries was not supported prior to release
    9.0.0 of Oracle. The compatibility level is controlled by the
    COMPATIBLE initialization parameter.
    i use Oracle enterprise edition 8.1.7.so it can't do updatable
    snapshots while using one to many subqueries?
    Anybody can help me?i have wandered on this problem serveral
    days.
    thanks in advance!

    .. do you know if there are firewalls that can implement one-to-many nat ? tipically one private ip statically natted to many public ip .. checkpoint, fortigate ..

  • Final user's can not see the data due to limited authorization.

    We have created a InfoSet with three info Objects, 0Account, 0Costcenter and 0COMP_CODE. 0Costcenter have an attribute retail location  0RT_LOCATIO.
    0RT_LOCATIO is an authorization relevant object. We as consultants can execute the infoset properly, but final user's with limited authorizations can not see the data because of authorization failier
    We hae several options to solve the issue, deleselect the auth. flag in the infoobject; delete the infoobject from the attributes of the cost center or create an authorization object and assign it to the final user's profile. But we don't want to go that way.
    My question is, is there any way to avoid including this attribute in the infoset definition? We are not using it in the query and we don't need it, so if we could delete it from the infoset (in the same way you add or delete infoobjects from an Infocube) without changing the cost center aster data, we will have our problem solved.
    Does anyone how to do this (if possible)?
    Thanks in advance!

    Just do two things to find the authorization check failed for that user.
    1. Execute SU53 output and find out the authoirzation check failed. If yes, please send that to BASIS Team.
    2. Next one, switch on the authorization trace in ST01 and ask that user to see that data. if the user is failed with authorization issue. switch off the trace in ST01 and find out the issue.
    Do this way, if it is not successful you can go for any other alternate way.
    Hope this would help you.

  • RE:Placing a file in one of many directories at run time

    Hi all,I posted a question yesterday evening with subject name as "Placing a file in one of many directories at run time".
    The link for that qestion is as follows:
    [Placing a file in one of many directories at run time;
    For that question I got a UDF as a reply.The UDF is as follows
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String strDirectory = "Dir1"
    // here write your condition for dynamic Directory
    conf.put(key,strDirectory);
    return  strDirectory;
    Im having an double if condition in my scenario as follows:
    if (Integer.parseInt(TableName[0])==8 || Integer.parseInt(TableName[0])==10 || Integer.parseInt(TableName[0])==12 )
    if(CountryCode.equals("SG") || CountryCode.equals("MY") || CountryCode.equals("PH") || CountryCode.equals("TH") || CountryCode.equals("ID"))
    Now my question is  where to insert last two statements of UDF(conf.put(key,strDirectory);
    return  strDirectory;).
    Should I use both in if condition or any one in if condition.
    Can any one help me out in this case.
    Thanks in advance,
    Regards,
    Prajwal Kumar

    Hi Naluvala
    You can do this. It is pretty simple
    bstractTrace trace = container.getTrace();
    trace.addInfo("In Dynamic Configuration...............................:");
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    String ourSourceFileName = conf.get(key);
    trace.addInfo("Key Filename:"+ourSourceFileName);
    String valueOld = "/XD1_interfaces/messages/inbound/ref_payments";
    trace.addInfo("Key valueOld:"+valueOld);
    conf.put(key1,valueOld);
    return  ourSourceFileName; 
    Regards
    Abhishek
    *Please reward points if helpful***

  • One to Many Chat Client!

    Hi,
    I had been trying to implement One to Many Chat functionality in one of my Flex Apps. After banging my head at so many places I finally came to know about Adobe LCCS and It seems to be doing the trick very well. However, I am facing some roadblocks in implementing this on my server. Would be really great if any of the experts out here can guide me in the appropriate direction.
    Actually I am trying to make a platform where our agents will be answering to the queries of our end users in a real time. So in that case, I am planning to create a separate room for each of the agents. (We don't really need to create rooms dynamically as the number of agents is limited). Now after the end users have selected their preferred agent, I want them to be able to chat with that particular agent only. However, one agent should be able to talk to multiple end users at the same time.
    I tried to use the simple chat component and that is working very smoothly. However I am facing problems with the default drop down menu that comes with it. I want the following to conditions to be satisfied...
    1. If an agent logs in, he should be able to see all the users in the drop down menu, select the user and respond to his query with a private message. The current Simple Chat application does exactly the same. And we are fine till this point.
    2. If an end user logs in, he should be able to see only the agent in that drop down menu and in fact the drop down menu should be disabled for him.
    Tried to explore the things in the documentation and tutorials but I could not really figure out a way to do this. Is there a way to do it without really playing around with the source code.
    Thanks a lot in advance.
    Luck.

    Ok
    First of all can either of you reach the tset accounts ?
    http://www.ralphjohnsuk.dsl.pipex.com/ContactTesters.html
    At the PC end have they
    1) Tuned the app
    this is now accessed from the MY AIM menu but when you get to the properties the instructions are then the same.
    2) Open the XP firewall to the AIM application. This allows ports 1024 to 5000 in the XP Service PAck 2 firewall to be open.
    3) Set the same in her modem and other firewall ?
    6:52 PM Wednesday; April 12, 2006

Maybe you are looking for

  • Product Non-Support

    I was asked today by HP to rate my experience with HP customer "support." Here's what I wrote: "HP could start by providing a product that works. The HP Pavilion 15 Notebook PC (Serial number: edited Serial by Moderator| Product number: J3X81AV) I pu

  • Problem in getting HR data .... in declaring Infotype 9205

    i want to save some HR data using an FM so i am calling FM HR_infotype_operation in my method this require a 4 char infotyp as exporting parameter which I have to declare using INFOTYPES statement inside the method the issue is the environment is not

  • HTTP_XI_IDOC SCenario Error

    Hi all, I am getting the Error in SXMB_MONI as "Message has Error Status on outbound side".Till today morning it was working fine.Now what happened to it we could not found out.I am trying to publish data over HTTP as Aync comm.It is reaching to XI a

  • Magic trackpad cursor position trouble

    I'm finding that quite often after I position the cursor in a text field (like, say, anywhere in a text editor like TextWrangler or in xcode, or in the URL field of a browser, and then I start typing, the characters appear at the previous cursor posi

  • Mac OS X Version 10.6.8  videos are black on all websites

    Does anyone know what I can check to figure out why all videos are just black.  Can no longer play videos -- on any website or youtube.  Used to work fine.  Is there a setting maybe that was accidentally turned off from the keyboard? Any suggestions?