1 SP for multiple Marketing Form

Dear Experts..
Plz check this SP
*IF @transaction_type IN ('A', 'U')AND @object_type in ('22')
BEGIN
If exists (SELECT T0.DocEntry FROM opor T0 inner join ousr t1 on t0.docentry = t1.userid
where t0.docentry =@list_of_cols_val_tab_del AND t0.U_series is null  or t0.u_series = 'Primary' and T1.userid = '49')
Begin
SET @error = 1000001
SET @error_message = N'error in selecting Series'
End
END*
This is going well as needed. This SP is for blocking users to access unauthorized series. I need to block users for all marketing documents for series authorization . I was thinking that Can I make this SP for multiple Marketing Forms(objecttypes). But there was an issue that series code on every Marketing Forms is different.
Suppose if Primaty series code on OPOR is 147  then on ORDR same series code got change as 141. For this I created UDF for Series and set it on mandatory and set values same like series name (Primary, WA, WB).
or there is any other alternate for setting authorization on users series wise.
Plz suggest me if my query is possible for same. Otherwise I have to create SP for every form.
Regards,
Ravi

Hi Ravi.......
The object ID of Production Order is 202......
For more information of Object IDs please check this Path and Link......
C:\Program Files\SAP\SAP Business One SDK\Help\objects ID
http://wiki.sdn.sap.com/wiki/display/B1/SAPBusinessOneObjectsIDandMenuIDList
CFL object-Id of Production_order
Regards,
Rahul

Similar Messages

  • Single Spool for multiple smart forms

    Hi,
    I am doing Cheque Printing  My multiple smart form in single spool
    I Created Single spool for multiple smartforms and i can able to see all the smart forms in single spool
    While I am printing smart form from spool it is taking only first page.
    Any inputs how to slove this.
    Regards
    Azeez
    Edited by: Rasheed salman on Feb 3, 2010 7:41 AM

    Hi,
    You can call Open Spool and Close Spool function modules. Between these two fm you can call your smartforms. Just have a look the procedure below.
    Call function OPEN_SPOOL.
                 Call function SM1
                 Call function SM2
                 Call function SM3
    Call function CLOSE_SPOOL.
    Hope this will resolve your issue.
    Thanks,
    Abhijit

  • Forms Help for Multiple Use Forms

    I need some help on a forms question. I have created several forms that I wanted to use in Adobe Pro for email based review. I have been using the base forms, adding the information (these are budget forms)then saving the forms with a different name. The problem I have just run into is that I have several of the forms under review. When I open the "template" form, it asks if I want to merge the comments. Can anyone help in directing me on how to save these forms so I can use them?

    I believe the OP is talking about the "Merge Comments?" pop-up that i'm getting as well.
    I can't figure out how to stop it from prompting people to do this... it's causing quite a lot of confusion!!
    I attached a screen shot of it so we can get rid of any ambiguity =P
    Thanks,
    Alice

  • How to use single web form for multiple secure zone signup?

    I have multiple secure zones in my website. I want to sell membership of secure zones to users of my website. I want, users signup for multiple secure zone of their choice and submit payment. Is it possible if can you please explain a bit or refer me to an doc about it.
    Thanks a lot for your time,

    I realize this isn't likely, but do you know of a way to allow the user to select the secure zone to be registered (e.g. from a list of multiple secure zones or entering ID of one sz into a text input) from within a single web form? I wonder if this can be passed in through a parameter in the action URL or through a special system field.
    Thanks

  • Best Practice for re-usable forms in multiple Countries

    Dear experts,
    i'm seeking for suggestions about the best design which could help saving time on development for multiple forms i should produce for a multi-national client.
    In more details, the client is asking to create a number of forms in the SD area (Order advice, delivery note/Bill of Lading, Payment slips and in particular Billing outputs) for different Countries in North and South America.
    I'm striving to avoid creating separate forms for separate Countries, as ideally i'd want to create just one form per type (i.e. one form for Billing, one form for Delivery note...) and re-use the same forms for all Countries, where specific data should differ from one Country to the other.
    We've been working on similar topics in the past, adding some logic behind some texts which we've made "parametric", meaning different standard texts are printed in the same box depending on some organizational values (i.e. sales organization or company code), but we're looking for something "smarter", where having different pricing structures in different Ctries, for instance, might still work if those Conutries use the same billing form
    Is there any best practice you'd like to share with me with regards to this? Is there any new functionality SAP has delivered recently which helps in this direction?
    Many thanks to all who will want to reply to my weird question.
    Regards,
    Fabio

    Hi Scott.
    Storing two columns of spatial data is fine in SQL Server. And you are correct that there is no built-in reprojection in SQL Server, most folks do that as part of data loading. There was talk of porting parts of ogr2ogr to SQLCLR, but I don't think anyone
    did that.
    Cheers, Bob

  • How do I  save and re-use a fillable form once I have created it? It is a form i will use for multiple medcial clients I see, then print out and put in paper chart, and then do it again for another patient. - I just got Acrobat XI

    I've created a fillable form from a Word document, but how do I save and re-use a a fillable form once I have created it? It is a form I will use for multiple medical patients, printing out the filled in form to put in paper chart (no need to save filled out form), and then fill blank form again for another patient? - I just got acrobat X

    Thanks!
    That should also save the blank form for future re-use, right.?
    Can I also file the blank form in the file system, and then retrieve it as a blank form when I have a next patient need for it?
    Thanks
    Michael

  • Call for adobe form is going for dump for multiple users

    hi,
    i am calling an adobe form in a program i.e. for multiple users. now my problem is.....
    3 people are using same tcode to generate the adobe form output for different data. but when they click at a time on the button to generate the adobe output, then adobe form is coming for only one user and it is going for dump for other users.
    and this dump is coming because of exception "CX_FP_API_INTERNAL" in funtion module FP_FUNCTION_MODULE_NAME which i am using to get the function module name of the adobe form in my program.
    can u please give me some solution to rectify this issue....

    That's nothing!
    An engineer and I contacted Adobe technical support by phone to ensure the PC I was having custom built was configured to its optimum. They advised XP64 as the best operating environment. After that discussion we had to completely revise procurement, etc to get the bits and compatible XP64 compatible software, putting the build project back a few weeks as well, Imagine how I laughed when I found out on one of these forums that XP64 is the worst choice and totally unsupported by CS4!
    I have written to Shantanu Narayen, Adobe CEO and didn't even get an acknowledgement I raised this last week on the Adobe stand at BVE and was told they'd get someone to contact me asap but guess what, niet...! To be fair there has been one Adobe executive that recognises the problem and the damage poor customer support is causing the company; he has been as helpful as he can. Unfortunately, it seems the overall Adobe culture at the top is "get the money and run". If your problem goes beyond what's already on their web pages, tough luck!
    Regards,
    Graham

  • Generating for Multiple forms

    Hi all,
    How can i generate Object list report for multiple no of forms.
    for individual forms i can go to file-> Administration->Object list report in any FMB.
    since i have to generate the same thing for multiple fmb's...how is it possible..do we need to use some sort of batch program for the same...
    Please ask for any clarifications..
    thanks in advance...

    6i Forms, reports etc can be manually generated from a batch file which will loop through all files in the current directory:
    FMB to FMX
    FOR %%f IN (*.fmb) DO ifcmp60 module=%%f batch=YES logon=YES userid=username/password@db
    RDF to REP
    FOR %%f IN (*.rdf) DO rwcon60 stype=rdffile source=%%f dtype=repfile batch=YES userid=username/password@db
    We also use a similar method for converting libraries, menu's etc. If there's any interest I'll post up the details.
    Jayesh Kavia

  • Design forms for multiple users

    Dear sir
    I am developing new application for my company.I don't know how to desing the the tables for multiple users and how to give rights to users to access certain forms.This application will use in two differnet languages.
    how to switch one language to other languages
    give me some ideas
    thanks
    Dev

    ...how to desing the the tables for multiple users and how to give rights to users to access certain forms.
    There are several ways to do this. One way is to create different database accounts for each user, and give each user priviledges to the tables they need. (Your DBA may need to do this.) Then, when the users logs in, check who it is and call the appropriate form.
    how to switch one language to other languages
    This is a common question. See Experts Experience Required: Direction In 10g or search the forum for additional help.

  • Wrong payer value while creating PRO FORMA invoice for multiple delivery

    Hi experts,
    I am trying to create PRO FORMA Invoice for multiple deliveries thru VF01.
    The problem here is the payer value is copied as the value of payer for the first delivery to all invoices. All other fields are picked up properly.
    Please help me to idenify the problem. Also if I create the invoices thru VF04 the invoices the created with correct payer.
    Thanks in advance.

    Hi Ankur,
    Thanx for the input.
    Right now we have customized routine 909 for header level and std. routine 004 for item level.
    Code for routine 909 is
    FORM BEDINGUNG_PRUEFEN_909.
    SY-SUBRC = 0.
    Fakturasperre
    IF LIKP-FAKSK NE SPACE.
    SELECT SINGLE * FROM TVFSP WHERE FAKSP = LIKP-FAKSK
    AND FKART = TVFK-FKART.
    IF SY-SUBRC = 0.
    PERFORM VBFS_HINZUFUEGEN USING '000000' '014' SPACE SPACE SPACE.
    SY-SUBRC = 4.
    EXIT.
    ENDIF.
    SY-SUBRC = 0.
    ENDIF.
    break-point.
    SELECT * FROM VBFA WHERE VBELV = LIKP-VBELN.
    IF VBFA-VBTYP_N = 'U' .
    PERFORM VBFS_HINZUFUEGEN USING '000000' '148' LIKP-VBELN
    SPACE SPACE.
    SY-SUBRC = 4.
    Insert + Unicode/Upgrade Project
    STOP.
    LEAVE SCREEN.
    Insert - Unicode/Upgrade Project
    ENDIF.
    ENDSELECT.
    ENDFORM.
    can u please check n confirm if the wrong value is coming due to this code?
    Thank in advance.

  • Regarding Print of Single Form for multiple Transfer Order  ( LT03 )

    Hi All,
    When user creates Transfer Order and if transfer order items are more than 22 then split of Transfer Order occurrs and multiple TO's get created in system.  The standard prog. RLVSDR40 prints form for each TO's , however the requirment is to print only one form for multiple TO ( Actually TO Form containes info. abt delivery, but triggering point should be from TO creation ) .
    There is one prog. RLKOMM40 which is used for multiple processing,  whether this prog. will be useful for above requirement.  Or is there any exit available for above requirement .
    Thanks for help.

    Hi,
      is there any routines used in Copy controls from order - delivery .- re-check once.
    as your post, everything seems fine. I didnt see any reason for not creating single delivery.
    is it happening only with this customer or respective ship to's? if yes, something gone wrong in CMR - i.e. complete delivery / order combination etcc., ( just an assumption)
    Regards,
    ReazuddinMD

  • HCM Processes and Forms : Using single Form Scenario for Multiple Countries

    Hi ,
    I have a requirement to design a HCM P&F form ( Single Process, Single Form Scenario ) to support multiple countries.  Form fields should be visible/invisible based on the country ( derived from the login Manager).  please help me with the following questions.
    1. Is it right way to enable/disable the fields in the same form scenario for multiple countries ( Approx. 20-25 countries)
    2. Is there any limitation to no. of fields on the form? does the form performs well with multiple dynamic conditions?
    3. If yes, what is the best way to do this? through Java Script / Back end Generic Service?
    Thanks in Advance,
    VR.

    Hi VR,
    1. Is it right way to enable/disable the fields in the same form scenario for multiple countries ( Approx. 20-25 countries)
    -You can use same form scenario or process for multiple countries if you are using fields based on international structure HCMT_BSP_PA_XX_R*. If you intend to use country specific fields then you may like to use different form scenario for different countries.
    2. Is there any limitation to no. of fields on the form? does the form performs well with multiple dynamic conditions?
    - As such there is no limiation for the fields.Yes, form performs well with multiple rule configurations.
    3. If yes, what is the best way to do this? through Java Script / Back end Generic Service?
    I interpret you would like to derive & show fields based on same backend logic, in that case you should generic service.
    If you want to show fields based on manager's logon then you should also use authorization BAdi.
    Regards
    Pooja

  • Creating a template for multiple forms

         Is it possible to create a template to use in multiple forms
    Thanks
    Roger

    Hi Roger,
    FormsCentral does not currently support user-defined form templates. However, there are a couple of options available that you might find useful.
    To define/use a template for an entire form:
    1. Create a form that will act as your template.
    2. To create a new form based on that template simply click the "Duplicate" button in the My Forms dashboard.
    The new form will contain the same set of form items as the template form.
    To define/use a template for one or more form items that are common to many of your forms:
    1. Create a form containing the template form items.
    2. To use the fields in different forms you can:
         i. Open the template form.
         ii. Select the form item(s) and type Ctrl+C.
         iii. Create or open the target form.
         iv. Type Ctrl+V to paste form items into the target form.
    Regards,
    Brian

  • OIM 11g R2 PS1 error in App instances page due to multiple prcoess forms for a single RO

      By mistake I attached two process definitions to a single resource object (RO) and it in turn mapped two process forms to the single resource object.
    Now when I go to application instances page and do a searc, it shows the below error in the UI
    IAM-4067027 : An error occurred in findAppInstances and the cause of error is An error occurred in getParentFormInfo and the cause of error is Multiple process forms exist for Test_Emp_RO.. 
    I tried to assign a different RO and Form to the second process def in teh design console, but it throws SDK update failure error. How to resolve this error?  Any inputs are appreciated.

    Check the for duplicacy in OBJ_KEY column of the process defination. If duplicate values exit then set them to 'null'  and commit. Restart OIM if required

  • How to execute KISR for multiple cycles in one step?

    CO Experts,
    I have a business reqirement to reverse the previous month assessments into the next period. I am planning to use KISR, but I could not find any way to execute KISR for multiple cycles, similar to the RKGALKSU5
    program ? Is there any program available to makes possible the above ?
    Thanks and Regards
    Peter

    Hi Samir,
    Please feel free to take a look at Liaison Messenger EDD, www.liaisonsc.com
    Messenger EDD automates business form and report distribution and uses your existing SAP reports. The end user selects either a batch or a single document through your normal print process in SAP but now uses our Messenger EDD print driver and Messenger will then distribute the documents selected based on rules you set up at initial configuration.
    For example, through the single print selection:
    - Distribute Invoices to the customers preference (print, fax, or email) if email, it attaches a PDF of the document
    - Archive a copy to desired folder
    - Print a hard copy to attach to other paperwork
    - Attach a static or variable attachment like terms and conditions, marketing PDF, or supporting variable documents.
           * PDF creation is included with the product.
    Set up similar rules for Sales Orders, PO's, Statements or even shipping documents like Packing Slips, Picking Tickets, Bills of Lading and
    International docs, etc.
    Please reach me at [email protected] or 714.543.9877x201 if you have any questions or would like to view an on-line demonstration.
    Best Regards,
    Tom Nielsen
    Liaison Software

Maybe you are looking for

  • Iphone is only recognized in restore mode

    What would make iTunes for windows 7 recognize iPhone in recovery mode, but not to proceeded with restore, stopping on the "snow cane". Completely not recognize restored iPhone, not even by windows auto play.  iTunes diagnostics runs with everything

  • Loading XML in AS3

    OK, so I think I have the basics of loading XML in AS3. But I can't seem to access the info once it is loaded. I'm using the to load the .xml file: var myXML:XML = new XML(); var XML_URL:String = "music.xml"; var myXMLURL:URLRequest = new URLRequest(

  • When I try to open photos in photoshop they are black.

    I can no longer open anything in photoshop from Lightroom and if I just try to open a photo using the open dialogue it opens a black square.  Everything was working okay last night - tonight nothing works.  My operating system is Windows 8.  I have n

  • ESS Payslip Functionality

    Hello Community, Please assist a customer on the following questions: A) On ESS Paylist there is the link "Show Overview". When clicking on the link it will expand and provide a list with previous remuneration statements. Is it possible that this lin

  • Can't create new folder on ext HD

    I recently purchased a Toshiba 1TB ext HD which I have formated for compatibility with my Mac -Mac OS Extended (Journaled) I have read /write permissions for the drive The HD is recognised - on my desktop and I can save files to it but when I try to