Create BP with mandatory fields ( BAPI )

Hi All,
How can I create BPs with minimum number of fields.
please refer..
Create BP with minimum fields ( BAPI )
Thanks in Advance, Sudeep..

Hi All,
How can I create BPs with minimum number of fields.
please refer..
Create BP with minimum fields ( BAPI )
Thanks in Advance, Sudeep..

Similar Messages

  • How to create Rules with Flex Field mapping in the bpm worklist

    I Have created a flex field label and was able to map to the flex field attributes .
    But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
    Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
    Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
    Any pointers or suggestion is highly appreciated .

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • Manually created submit buttons & mandatory fields

    Hi,
    I included a Submit & an Email button in some of my forms.  I've set them up as Regular buttons and coded them myself to do what I want eg:
    if(xfa.host.messageBox("Please save this form before emailing or data will be lost","Save Form",1,1))
        app.execMenuItem("SaveAs");
    var sEmail = form1.Pg2.PtESF.Mgremail.rawValue;
    var sSubject = ("Permit to Train Request by " + form1.Pg1.PtASF.FirstNameFld.rawValue + " " + form1.Pg1.PtASF.LastNameFld.rawValue);
    var sBody = "Please approve the Permit to Train Request as attached.";
    event.target.submitForm({cURL:"mailto: "+ sEmail +"?subject=" + sSubject +"&body=" + sBody,cSubmitAs:"PDF",cCharset:"utf-8"});
    If I set them up as Submit buttons, they don't try to run the script more than once.  I assumed this was because I had the code built in with the Submit option and it ran that as well as my own code.
    So I changed the button to be a Regular button and then it worked perfectly - except for one thing.
    It no longer validated the mandatory fields.
    Can anyone tell me what's built into the Submit button (that I can't see), that I need to reproduce in my script for my regular button?
    Thanks,
    Peta

    Hi,
    The Submit buttons validate the from behind the scenes.
    You can use execValidate() in an if statement, and if passes then execute script.
    See an example here for execValidate():
    http://assure.ly/hM2A5y (see last button)
    http://assure.ly/flbjXB
    Both of the above examples use validationState and cancelAction so are targeted to Acrobat/Reader version 9.1. Please note that execValidate() can be used in earlier versions:
    http://assure.ly/lZhrSS
    http://assure.ly/dYQFb4
    Hope that helps,
    Niall

  • Radio buttons in dynpro with mandatory field

    I have two radio buttons in a group and a field that should be mandatory when one (the first one) is checked.
    So when the other is checked it should not be mandatory.
    The problem is that when I check the second the field is mandatory until I have put something in the field. In that moment, the field is not mandatory. What I want is to make the field not mandatory when the second is checked so the status of the field was changed to not required in that moment not when I put something in it.
    Thank you

    Hi Maria,
    I think you have two possibility.
    One is to check the "mandatory field" by programming and not with the attribute in the dynpro.
    The second way is making a loop at screen in the PBO and depend on with radio button is checked modify the required field of screen table for the field of your interest .
    I hope this can help you.
    bye
    enzo

  • Panel Tab issue with mandatory fields

    So i have a requirement where i have Jsff page with paneltab and 2 showdetail, on one show detail i further ave panel tab with 5 show detail.
    when i commit data on one tab its asking for other tab Mandatory fields and commitng the all tab data.
    I did immediated=true on all tab, but it didnt help.
    Can someone please help me onthis.
    Thnks
    RJ

    Jaspal
    Correct i have two level of tabs
    Tab1 Tab2
    under tab 2
    Tab21,Tab22,Tab23,Tab24,Tab25
    Tab21-tab25 have there own Taskflows which used differnt VO(based on diff EO) and 1-2 tab will have Trasient VO
    So Tab 1 has Updatable VO with some mandatory Fields. When i come to screen i saw two tabs Tab1 and Tab2
    I clcik on Tab 2 i saw Tab 21-25...When i commit some data on Tab21, its asking for mandatory fields of Tab1
    I hope i am clear..let me know if you need some other info
    Thanks for help
    RJ

  • Default Back Button ( F3 ) with mandatory fields ( module pool program )

    Guys,
    I'm editing another persons dialog program and as mentioned in the subject line, there are mandatory fields. WIthout them being filled, I cannot use the back button to exit the program as it prompts me to first fill the mandatory fields.
    How can I get past this?
    I did a /h for debug mode and pressed Back but it did not even show the debugger.
    Regards,
    Kevin

    <b>Use AT exit-command.</b>
    MODULE mod [ AT {EXIT-COMMAND|CURSOR-SELECTION} ]
               [ ON {CHAIN-INPUT|CHAIN-REQUEST} ]
               [ SWITCH switch ].
    Extras:
    1. ... AT EXIT-COMMAND
    Effect
    The statement MODULE of the dynpro flow logic calls the dialog module mod of the ABAP program. You can use MODULE either as a keyword or as an addition of statement FIELD. When using it as an addition, the call of the dialog module depends on conditions for the screen fields.
    As a keyword, the statement calls the dialog module mod of the respective ABAP program. At the event PAI, you can use the additions AT and ON to specify conditions for the call of the dialog module.
    At the event PBO, you can call any dialog module defined in the ABAP program with the addition OUTPUT. At the events PAI, POH and POV, you can call any dialog module defined with the addition INPUT or without any addition. If the dialog module mod does not exist in the ABAP program, an untreatable exception is triggered. After processing a dialog module in the ABAP program, processing of the dynpro flow logic is resumed after the position of the call, unless the screen processing is completed within the dialog module.
    You can use MODULE as a keyword only at the events PBO and PAI. At the events POH and POV, you can use MODULE only as an addition to the FIELD statement.
    Note
    Do not mix up the MODULE statement of the dynpro flow logic with the identically called statement MODULE for defining dialog modules in the ABAP program.
    Addition 1
    ... AT EXIT-COMMAND
    Effect
    Addition AT EXIT-COMMAND at the event PAI causes module mod to be called exactly if:
    The function used to trigger event PAI has function type "E"
    Into the input field of the standard toolbar, the user entered a character string starting with "E" and confirmed it using ENTER.
    The dialog module is called before the automatic input checks defined in the system or in the ABAP Dictionary and independent of its position in the event block. The only screen field transported to the ABAP program is the OK field. If the function that triggered the PAI event does not fulfill any of the above prerequisites, the MODULE statement is not executed.
    If several MODULE statements have the AT EXIT COMMAND addition, only the first one is executed. If no MODULE statement has the addition AT EXIT COMMAND, a normal PAI processing is executed: The predefined input checks are executed and then the PAI event block is processed sequentially. Provided the screen processing is not terminated in the dialog module mod, after the return from the dialog module, the complete PAI processing is executed. You must not use the addition AT EXIT COMMAND in connection with the statement FIELD.
    Note
    The function type of a function is determined in the Screen Painter or Menu Painter. Usually those functions of the user interface are defined with function type "E" that are assigned to the icons Back, Exit and Cancel in the standard toolbar of the GUI status. Therefore, the called dialog module should terminate the screen processing and allow security checks, if required.

  • While creating info record mandatory fields are disable .

    hi all,
    while creating info record some  mandatory fields are disable (valid to) in condition what i can do to procede further?
    how i fill data in that  field?

    Hello,
    I think that is set as a mandatrory field. You can give any values in days here. Enter 1 or 2 and proceed.
    Prase

  • How to validate incoming messages with mandatory field coming as null/empty

    Hi,
    I want to validate the incoming messages received by the file adpater.
    1. Need to check that all the mandatory fields(minoccurs=1) has values, else it should return fault. But what happening now is even though the mandatory fields are empty/null, file is being read by the file adapter and not getting faulted.
    2. I have tried using the Validate Activity/Assign Activity but this is a business fault and not sytem fault, hence no faults are auto generated.
    3. We are presently using the if/switch activity and putting the conditions manually in order to validate the mandatory fields and hence it is throwing the business faults explicitly.
    4. But if there is 200 fields mandatory out of 500 fields schema, then we need to hardocde manually all 200 fields. Please advise me if this is possible in any dynamic way.
    Thanks
    Edited by: 902781 on 15.mar.2012 07:33

    Dear vijay,
    This is my xsd::
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="exampleElement">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    *<xsd:element name="element1" type="xsd:string" minOccurs="0"*
    nillable="false"/>
    *<xsd:element name="element2" type="xsd:int" minOccurs="0"*
    nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I tried the above xsd as well as
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="exampleElement">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    *<xsd:element name="element1" type="xsd:string" minOccurs="1"*
    nillable="false"/>
    *<xsd:element name="element2" type="xsd:int" minOccurs="1"*
    nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    But instance is getting completed even though the mandatory string field(element 1) is empty/null like:
    <element1></element1>
    What I feel is, string will accept all the values whether it is int, date, long and in the same way it is accepting null character.
    Please let me know if you have any solutions to overcome this.
    Thanks again.

  • Create infotype with PM01+ field lenght in table

    hello my HR friends, a friend of mine create an infotype with tcode PM01 so far everthing is ok but when she finished, i found an error and neither i or she knows how to solve it.
    Picture of infotype: http://img197.imageshack.us/img197/8236/infotype1.jpg
    and problem is, in field that have the rectangle, this field have this possible values:
    http://img529.imageshack.us/img529/1887/infotype2.jpg
    the problem is if a choose the first possible value, field stays like this:
    http://img836.imageshack.us/img836/4494/infotype3.jpg and then when im going to save the system says that content doesn't exist in the table that is feeding that textbox.
    Do anyone knows how to solve this problem or the solution is to put that possible values shorter or put text box bigger.
    regards and thanks in advance for the help.
    Mário

    Instead of INT use DEC or NUMC data types.
    To know why INT cannot be used try searching with Hardware Restriction in terms of general computing.

  • How to create variant with  variable field

    i want ot creat a variant ..when selected  will  fill up the  last date of the  previous month in one  of the fields.This  will be the variant the user will  using always.I can't code in intialization part Because they have given the variant name. and don't want to see any initail value before entering the values

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • Create InfoType with decimal field

    Hi,
    I would like to create an InfoType with some numeric, char and currency type in the structure
    Then  I run PM01, create the structure
    http://img119.imageshack.us/my.php?image=ps9080ze4.jpg
    activate it and go back to PM01 but when I click on GENERATE button, il get the following message :
    msg type error : The infotype must not include an integer type or floating point no.field
    I dont realy understand why this error occurs and why an IT couldn't have integer type in his structure...
    Any idea ?
    Thanks,
    Ant.

    Instead of INT use DEC or NUMC data types.
    To know why INT cannot be used try searching with Hardware Restriction in terms of general computing.

  • Material Create Batch Management Mandatory Field

    Hi all,
    I would like to create material but the batch management fields in several views. Has it relation with, material type or material group or plant? And how can i disable this property for one of our plant ?
    Regards,

    >
    techmaster wrote:
    > Hi all,
    > I would like to create material but the batch management fields in several views. Has it relation with, material type or material group or plant? And how can i disable this property for one of our plant ?
    >
    > Regards,
    Batch management check once enabled, doesnot need to be enabled again in other view, its automatically enabled as they are all linked together and yes you can disable it for one plant.
    In OMSR, look up for field MARC-XCHPF which is for batch management and change the field reference to display and save
    Edited by: Afshad Irani on Apr 27, 2010 7:39 PM

  • Create Query with New Field combined with Existing InfoCube Data (BW 3.5)

    Hi Everyone!
    How would you recommend I handle the following situation?
    I have a custom InfoCube (which I will call ZCUBE) that has been deployed to production. The business would like a new query that combines Current Standard Price along with data currently stored in ZCUBE.
    Now, Current Standard Price is uniquely identified by the Material and Plant to which it is associated. These InfoObjects (Material and Plant) are characteristics of ZCUBE.
    I am strugglig since the business will not allow any changes in the design of the InfoCube (i.e. add any new characteristics/key figures).
    Is there a way to combine the two data sets? I attempted to use a Multi-Provider using ZCube and a custom ODS, but had no luck since the characteristics were so different. (ZCUBE has almost 50 characteristics defined)
    I also have tried adding the attribute Standard Price to InfoObject Plant Material (0MAT_PLANT) but that was not helpful since 0MAT_PLANT is not included in ZCUBE.
    From what I can tell I should create an InfoSet using ZCUBE and potentially a new ODS, but that isn't going to work since you can create InfoSets using InfoCubes in BW 3.5.
    So... I am at a loss now. Any assistance would be appreciated!
    Thanks-
    Nathalie

    Thank you very much for your responses!
    I went ahead and created a custom ODS (Z_ODS) that contained the keys Material and Plant and had the data field Standard Price. I then created a Multi-Provider to sit on top of the custom cube and the custom ODS. Unfortunately, I am not getting the correct response since the Multi-Provider returns a union of the two infoproviders.
    Z_ODS
    0Material (key)
    0Plant (key)
    Standard Price
    Z_Cube
    0Material (char)
    0Plant (char)
    Char1 (char)
    Char2 (char)
    Char3 (char)
    0FiscalYear
    Key1....
    MultiCube
    0Material = 0Material
    0Plant = 0Plant
    Char1
    0FiscalYear
    Standard Price
    Key 1
    If I run a query just using Material and Plant in the return, the Standard Price and Key1 are returned correctly. If I include Fiscal Year in the query, the standard price is returned in a row associated to a blank Fiscal Year. See example below.
    Query 1
    Plant1   Material1   StandardPrice1   Key1
    Plant2   Material2   StandardPrice2   Key2
    Query 2
    FiscalYear2009   Plant1   Material1   #(blank StandardPrice)   Key1
    FiscalYear2009   Plant2   Material2   #(blank StandardPrice)   Key2
    FiscalYear# (blank) Plant1   Material1   StandardPrice1 #(Blank Key1)
    FiscalYear# (blank) Plant2   Material2   StandardPrice2 #(Blank Key2)
    I know I should be using an InfoSet, but we are on BW 3.5... so I can't include a cube in an InfoSet.
    I believe that the solution will be to add all relevant characteristics to the custom ODS... but that is going to be a much bigger challenge then originally expected. Please let me know if I am missing something... a silver bullet would be much appreciated
    Thanks everyone!
    Nathalie

  • Form validation error with mandatory fields and signature field

    Hello,
    I have seen that many other users are facing this issue, and they partialy do solve it with some workarounds. However, none of them applies to my case.
    I have a dynamic form (can be registration form for example) where user fills in bunch of fields. Some of them are mandatory.
    When user signs the form, I get our favourite validation error popups that filed this and this did not validate. (I think that the signature is not valid too once I get these errors).
    Workaround would be to set all fileds in the form as optional, however, the presign and postsign events work only in A9 and I need the form to be compatible with ver. 8 too.
    I also need to make sure, that they are not set to optional, if the signing fails, user clicks on cancel etc...
    Any ideas how to acomplish such a scenario?
    Thanks
    J.

    solved by myself.
    You have to install and configure the reader rights credentials mentioned in note 736902

  • Create material with reference using BAPI

    Hi
    I need to create material using refrence to another material for all material Views. Can I use BAPI_MATERIAL_SAVEREPLICA.
    Which parameter I need to fill for reference materia
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 12, 2011 3:18 PM

    Hi Goutam,
    You can use the BAPI BAPI_MATERIAL_SAVEDATA, which will create/update the material. You can pass the reference material in the filed BAPI_MARA-PL_REF_MAT. And you can pass reference material for all view like this.

Maybe you are looking for

  • Fill array with file names

    What am I missing?  I've got alerts that should pop up if it works and if it fails but instead it does nothing, I'm sure its possible to create an array that is made up of all the file names of a folder.  In the past I've had to enter all the values

  • Error: Can't write: C:\windows\system32\Macromed\Flash\Flash10e.ocx

    When i install Flash 10, there was a error message showing "Can't write: C:\windows\system32\Macromed\Flash\Flash10e.ocx". I chose to ignore, installation can be completed but i still can't view any Flash file. I tried every steps showing in  Adobe F

  • Problem creating pdf from multiple files

    Hello, I'm running Windows XP SP3 with Adobe Acrobat Standard 8.2.1.  When I try to create a one pdf from multiple files in Adobe Standard 8.2.1 the application just closes.  The two files I'm trying to combine into 1 pdf file are word files.   I'm a

  • Change DSN connection at runtime in CR2010?

    Hello, I'm using CR2010 to attempt to run reports created in Crystal 8.0 using a DSN (MS Sql).  This works fine if attempting to run a report that was created against the target DSN but if trying to change to a different DSN at runtime  I get an erro

  • How to pass session variables via the URL in CF10?

    Hi I have a client with some old Flash functionality (AS2). The SWF allows the user to upload an image. However a new session is being started when the upload script is called. I have added the CFID, CFTOKEN and JSESSIONID to the URL as I did in the