Workflow method problem`

Hi,
  In my workflow i want to call one report in bor object i want to create method can any body tell me what are the attributes of method that i have to create or any other solutions

am getting the error when object type ->
Implemented ----"
Object type components have higher release level than object type"
First you have to Implement the Objectype Components , I mean you have to first come from Bottom to TOP 
EDIT->Change Release Status> Object Type Components ---> To be Implmented (from Bottom to Top) Except the Object type
Now Click on the Business Object and the again
EDIT->Change Release Status> Object Type---> To Be IMplemented
Now once you have IMplemented every thing you  need to Release them
From Top to BOttom
Click on the Business Object and the again
EDIT->Change Release Status> Object Type---> To Be Released
On Key fields and methods
EDIT->Change Release Status> Object Type Components ---> To be Released
And after this you have to generate
this is how you have to implement and release and GEnerate the BO

Similar Messages

  • Flash  workflow method

    I have a few questions about Adobe Flash and i'm hoping you
    guys could help me
    out.
    One of my assignments is to find a better way to develop and
    structurize Flash applications
    (animations/motion graphics/ websites).
    I'd like to know if there is a way to give more structure in
    a Flash project (kind of a like a workflow method)? That both
    designers and developers can work faster on a single flash project,
    making flash documents/projects better organised (in the library as
    well as the timeline/layers and the names of movie clips, buttons
    and graphics). I searched on the Adobe site, lots of blogs and
    forums. I have found a lot of information so far, but i'm still not
    certain
    about some things, so that's why i posted this.
    Thanks in advance for any info!
    greetings

    Hi,
    There currently isn't a generally available way to extend Builder's design view.  It is something that we've considered adding as a feature, though, so I'd be glad to hear more about how you would use this.  Drop me a note directly and we can discuss.  It's buntel at adobe dot com.
    Thanks!
    Tim

  • Calling report program to my workflow method

    hi friends
        I have writen the logic to find the email id for travel admin now i want to call this  REPORT program to my workflow method. How can i do that. I know how to do that in function module but i want to try with report program. How to get the import and export parameter in the report program. I know there is some thing called memory id export but i dont no how to do that. Can any one show with sample code.
    Regards
    vijay

    Hi Vijay,
    You can make use of the following sample code.
    BEGIN_METHOD ' ' CHANGING CONTAINER.
    export itab to memory id 'PQR'.
    submit zMM_R_BUDJETDISP AND RETURN."exporting list to memory and return.
    END_METHOD.
    In your program you can use
    import itab from memory ID 'PQR'.
    Here Itab is a internal table.
    Similarly you can define single data elements as well.
    you can use this syntax to import, export parameters.
    let me know if you have any queries.
    Regards,
    Raj

  • BufferedReader's readLine() method problem (REPOST)

    Hello,
    If anyone can help me out I would not have to struggle :)
    Here is the thing. I have a file like this:
    1 srjetnuaazcebsqfbzerhxfbdfcbxyvihswlygzsfvjleengcftwvxcjriwdohjisnzppipiwpnniui yjpeppaezftgjfviwxunu
    2 ekjghqflatrcdteurofahxoiyvrwhvaxjgcuvkkpondsqhedxylxyjizflfbgusoizogbffgwnswohe njixwufcdlbjlkoqevqdy
    3 stfhcbslgcrywwrgbsqdkcxfbizvniyookceonscwugixgrxvvkxiqezltsiwhhepqusjdlkhadvkzg iefgarenbxnxtxnqdqpfh
    4 dcuefkdrkoovjwdrqbpgoirruutphuiobqweknxhboyktxzcczgekrlbfsbfuygjpheydiwaasxifph tldawxsfepotkgqqsivur
    5 fpfrspbuhangkeugfuwexsgivetovkoyloddgofdcajwwlrocgjrhonsrfrfxozvgohwoytycfjoycr xdhnhxyitkeqynedrbroh
    6 hgzqqsfgnotfepywbpccrosxborslqtkanyffrwknjapnzjnesjlkbbsckbyvgrxujqyocpcpctsqyz apcinhjyysxsdwfjugndr
    7 pltzealtrklzrugxdcskndqyvsrzncitqvjcnndeqossyrifzvbqovtdzsixjlizsbxwutgqipuxfid xyoktwupsuqbqgnxdfbze
    8 avpxfjgwpxnzfsfosgsryhpyaezigrqsxsgdvwdbwovhcchrijbitvbcvltrgvadogokaennwpjjpku uttidlnqftdnzqpqafels
    9 oyvztgletdwdtibshpzeuqryvulnubrqtgxwizfsdzqlgxvsebhslnovphgehfigbjyyqsirqcwflbn bnrflotpqytqzbgnkeyrk
    10 unvryrnlqucuydrasyzyiclnjvospzdoviqchdhasxzffblwsewikzbznyegrqtjvxfxfjenvrboofb xfsynlxhyuvqprqbvoruk
    and my java programs is like this:
    public String searchForAString(String fileName, int lineNumber)
    File fileObject = new File(fileName);
    String finalString ="";
    String record = "";
    int line;
    try
    FileInputStream fileInputStreamObject = new FileInputStream(fileObject);
    BufferedInputStream bufferedInputStreamObject = new BufferedInputStream(fileInputStreamObject);
    //DataInputStream dataInputStreamObject = new DataInputStream(bufferedInputStreamObject);
    BufferedReader bufferedReaderObject = new BufferedReader(new InputStreamReader(bufferedInputStreamObject));
    //System.out.println(bufferedReaderObject.readLine());
    //System.out.println("_____________________");
    while((bufferedReaderObject.readLine()) != null)
    System.out.println(bufferedReaderObject.readLine());
    Last System.out.println statement only displays second, forth, sixth, eigth, tenth and null lines. Why not every line? Any ideas? Thanks!
    Re: BufferedReader's readLine() method problem.
    Author: EagleEye101 Feb 18, 2005 8:48 PM (reply 1 of 1)
    You do relize that when you call the in.readLine() in your loop conditional and in your loop body it reads in diffrent lines. Try this:
    public String searchForAString(String fileName, int lineNumber)
    File fileObject = new File(fileName);
    String finalString ="";
    String record = "";
    int line;
    try
    FileInputStream fileInputStreamObject = new FileInputStream(fileObject);
    BufferedInputStream bufferedInputStreamObject = new BufferedInputStream(fileInputStreamObject);
    //DataInputStream dataInputStreamObject = new DataInputStream(bufferedInputStreamObject);
    BufferedReader bufferedReaderObject = new BufferedReader(new InputStreamReader(bufferedInputStreamObject));
    //System.out.println(bufferedReaderObject.readLine());
    //System.out.println("_____________________");
    String s = bufferedReaderObject.readLine();
    while(s != null)
    System.out.println(bufferedReaderObject.readLine());
    s = bufferedReaderObject.readLine();
    Every time you call the readLine method, it does read a diffrent line. Java does not know you want to read the same line twice.
    Tried it, did not work. I need to go through each line of the file I have. Any ideas?

    solution should be in your other thread.
    Please do not repeat threads--it really bugs the people here, just some 'nettiquite' --I don't mean to be a grouch.
    --later.  : )                                                                                                                                                                                                                                                                                                                                                       

  • Workflow and problems with labels

    Hello!
    I've been testing out some things in Edge and I've noticed a few things that I've been trying to find some documentation and information about, I would greatly appreciate any enlightenment on the following observations:
    Frame labels do not work for me - both with files created from scratch in Edge and ones made of existing HTML + CSS files. I tried the in app lesson on looping the counter and the 'Play from (loop)' doesn't work, I thought it might have been because of an error in the instructions telling users to play from a frame label that exists at the same point in the timeline where there is a 'stop' trigger but even offsetting the 'loop' label would not work. The final sample file works as intended when previewed.
    I tried a few tests with new files consisting of really basic stuff - one symbol with an 'on-click' > play from (go/start/in/one/etc) and another symbol simply animated on the x and y axis with an animation to the opacity with a stop trigger placed on the timeline and tested with the play from label placed both at the same time as the stop trigger and offset after the trigger - neither works it has no effect when clicked. (I know about what scripts to do on completion to get it to play from the start) Interestingly play from (milliseconds*) *0.125/1001/2000000 etc does work for me but this is not ideal as it is far more useful to be able to play from labels.
    Animating existing HTML - I've got a simple html page set up consisting of a container div with a number of other divs inside which I have been animating in Edge. The Edge file is set up so the container CSS overflow is hidden. Now can someone please clarify if the following method of workflow is a mistake on my part, limitation in HTML+DOM, bugs in edge or combination/none of those things?
    Workflow - bring in the html file to edge do simple animated opacity etc on the various elements start adding keyframes and labels etc - the label problems as above.  Now my intent is to have each of the div's in the container be clicked on and bring in the next one - in the same place in the viewport. I've noticed that when changing various elements visibility after tweaking animation to look good and then subsiquently setting on-off keyframes for visibility it would suddenly cause all elements lower in the DOM to move position and suddenly have what looked like keyframes for y axis position/transform? Is this bad practice to use the on-off visibility for elements? It meant that what should be a really simple and quick 10 second animation took about 3 hours to make, should we be not using the on-off keyframes for showing/hiding buttons that are in divs that sit on top of each other? Should i set up z-index values for all elements in the CSS files? (I saw a reference to you can assign z-index values in the 'elements' panel but I can only see 'arrange' - is this a different term for z-index?)
    I'm a long time user of flash, maya, after effects, digital fusion, combustion, and many other timeline based software tools - it is fairly intuitive to me picking up new systems but the issues with on-off visibility and keyframes below in the timeline really was a very frustrating workflow. I'm used to changing and editing the whole animation on the timeline seeing what works and doesn't - deleting layers, changing timings etc, i found this way of working really slow due to changes to elements position when ones above in the flow were turned on or off. Please do suggest what I should change in my approach to using edge as compared to other animation tools as it looked great on preview but I'm a bit frustrated in using the release. Is this a bug in my release?
    Where is the help and reference files for Edge? - is this screen shot it? -
    I can't find any info on basic definitions of the tools and options anywhere, and can't find much on anything to do with using edge in production with existing HTML documents, please send me some links if you have them. I've seen the edge javascript API thing but is there anything else?
    Cheers.
    Here is the approximate code of the page for reference - I actually got the file working in the end but using 'play from (miliseconds)' instead of play from (label) and much frustration slowly editing the timeline and elements visible/hidden status and redoing animation on elements below in the timeline to get them placed correctly.
    HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Master Document with base styles</title>
    <link href="css/master_styles.css" rel="stylesheet" type="text/css" />
    <!--<link href="css/ipadV.css" rel="stylesheet" media="only screen and (min-device-width:  768px) and (max-device-width: 1024px) and (orientation: portrait)" />
    <link href="css/ipadH.css" rel="stylesheet" media="only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)" />
    <link href="css/iphoneV.css" rel="stylesheet" media="only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: portrait)" />
    <link href="css/iphoneH.css" rel="stylesheet" media="only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation: landscape)" /> (Commented out for testing on desktop)-->
    <link rel="stylesheet" media="only screen and (min-width: 320px) and (max-width: 480px)" href="css/mobile.css" />
    <link rel="stylesheet" media="only screen and (min-width: 768px) and (max-width: 1024px)" href="css/tablet.css" />
    <link href="css/desktop.css" rel="stylesheet" media="only screen and (min-width: 1025px) and (max-width: 3000px)" />
    <style type="text/css">
    <!--
    a:visited {
        color: #00FF00;
    a:hover {
        color: #FF0000;
    a:active {
        color: #0033FF;
    -->
    </style>
    </head>
    <body>
    <div id="container">
             <!-- start Level 1-->
                <div id="mainContent">
                    <div id="mainlogo">
                    </div>
                </div>
                <div id="firstButton">
                      <div id="Abutton1">
                      <p><img src="img/a_72_off.png" width="72" height="72" /></p>
                     </div>
                </div>
                <div id="transition1">
                       <p>Wipe transition 1</p>
                </div>
                <div id="secondButton">
                        <div id="Abutton2">
                       <p><img src="img/a_72_off.png" width="72" height="72" /></p>
                       </div>
                </div>
                <div id="secondContent">
                    <div id="Abutton3">
                    <p><img src="img/a_72_off.png" width="72" height="72" /></p>
                    </div>
                <div id="text1">
                      <h1>Heading </h1>
                      <p>Byline</p>
                    </div>
                 </div>
      <div id="transition2">
        <p>Transition 2 - TBC</p>
    </div>
          <div id="thirdContent">
          <div id="lastbutton">
            <p><img src="img/end_icon_crop.png" width="150" height="150" border="0" /></p>
          </div>
          <div id="text2">
            <h1>Heading</h1>
            <p>Byline</p>
          </div>
    </div>
        <div id="transition3">
            <h4>Small print</h4>
    </div>
    </div>
    </body>
    </html>
    CSS:
    (master_styles.css)
    @charset "utf-8";
    body {
        margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
        padding: 0;
        text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
        color: #19171B;
        font-family: AFBattersea;
        font-size: 100%;
    #container  { /* the main holder for all of the viewport content - an image frame */
        text-align: left;
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
    #mainContent  {
        z-index: -1;
    #firstButton {
    #transition1 {
        color: #FFF;
    #secondButton {
    #secondContent {
    #transition2 {
        color: #FFF;
        height: 100%;
    #thirdContent {
    #transition3 {
        color: #FFF;
    #mainlogo {
        background-repeat: no-repeat;
        background-position: center center;
        background-image: url(../img/960_off.png);
    #Abutton1 {
    #Abutton2 {
    #Abutton3 {
    #text1 {
    #text2 {
    #lastbutton {
    #text3 {
    (desktop.css) - I've not included the other css files referenced in the media queries as they only contain names of elements for this purpose
    @charset "utf-8";
    #container  { /* the main holder for all of the viewport content - an image frame */
        text-align: center;
        margin-top: 0;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
        height: 700px;
        width: 1024px;
    .mainContent  {
        height: 100%;
    #firstButton {
        height: 100%;
    #transition1 {
        height: 100%;
    #secondButton {
        height: 100%;
    #secondContent {
        height: 100%;
    #transition2 {
        height: 100%;
    #thirdContent {
        height: 100%;
    #transition3 {
        height: 100%;
    #mainlogo {
        background-image: url(../img/960_off.png);
        height: 72px;
        width: 960px;
        margin-top: 364px;
        margin-right: 36px;
        margin-left: 36px;
    #Abutton1 {
        height: 72px;
        width: 72px;
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
    #Abutton2 {
        height: 72px;
        width: 72px;
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
    #Abutton3 {
        height: 72px;
        width: 72px;
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
    #text1 {
        text-align: left;
        margin-top: 16px;
        margin-left: 320px;
    #text2 {
        text-align: left;
        margin-top: 16px;
        margin-right: 330px;
        margin-left: 360px;
    #text3 {
        text-align: center;
        text-indent: -192px;
        width: 320px;
    #lastbutton {
        margin-top: 364px;
        margin-right: auto;
        margin-left: auto;
        height: 150px;
        width: 150px;

    Hi,
    I wonder if it's related to the multilingual capability of BPM Object presentations.
    Could you:
    1. right mouse click the project in the Project Navigator tab.
    2. click "Project Preferences"
    3. click "Languages"
    Do you see multiple languages? Is English (or whatever language you're using inside Studio) the default?
    When you log into the WorkSpace, could you double check the language you are using (log in -> click "Settings" in the upper right corner) -> with the "Display" tab selected, is the language you chose as the default in Studio selected?
    I suspect the reason you see some but not all of the labels is because you have defined some of those labels in the language selected in the Workspace. You can add the addtional labels for the various languages you want to support if you:
    1. Open a presentation
    2. Click one of the labels
    3. In the properties tab on the right, click the field beside the "Display" property
    4. Click the button with the "..." on the right side of this field
    Hope this helps,
    Dan

  • Workflow triggering problems

    Hi all,
    I have a puchase order release workflow ,and have activated the triggering in tcode pftc,but the problem is ,every time I create a purchase order the workflow triggering gets deactivated and have to manually activate it after each Purchase Order creation or change.
    Does anyone have a clue as to what may cause this problem?
    Regards
    MM

    Hi Raja,
    Thank you for your reply.
    I tried changing the method but it still throws the same error. i dont think this error is related to the Task method , since it can also be a dummy method (as is the case with the leave approval workflow 12300111) .
    Any other helpful suggestions ??
    Thanks,
    Joe

  • RE: Workflow binding problem in Production system(urgent)

    Hi Experts,
    Currently we transported our workflows to production server. When one of the user tested our workflow it failed. On Analysis I could find that the data are not passed from method to task container  but method is working fine separately. Even I tried executing t-code 'SWU_OBUF' , but still not working.
    Pls let me know of the solution .
    Thanks,
    Bharath

    Check for linkages. Is the binding activated betwwen workflow to task container.
    Check whether values appear in task container or not.
    Then check for binding between task & method container. Is there any event linked with the task. Is the event linkage is activated.
    The problem might be resolved if all the linkages are correct.

  • Workflow initiator problem

    Hi friends,
    In my workflow, I have created one activity for reason for rejection and I am using task(TS20000139) for sending short message with reason and in binding I am passing wofkflow initiator(&_WF_INITIATOR&) to receiver(&RECEIVER&). But the problem is workflow initiator is not pickingup exact user name. If the username is 'STEVE' it is picking 'USSTEVE', because of this it is showing an error that user does not exists. If I remove that 'US' my problem will get solved. Plz suggest me.
    Regards,
    Steve.

    hi,
    when u create an activity step, double click on the step.
    in the "task" section, click on the dropdown, then click on create task option.
    this will take you to the task creation screen.
    ih the object method section, select object category as "BOR object type", object type as your BO name (eg: BUS2012), and method as the name of the method that you created in your BO.
    you can create your custom method in a custom BO.
    this can be done using transaction SWO1.
    enter the BO name and change button.
    click on the method and then click on the create button. then it will ask you to create with FM as template. click No.
    give a name to the method and dont forget to uncheck the "dialog" property of the method.
    save it.
    click on the newly created method and click on parameters button. specify the input and output parameter.
    again click on the newly created method and click on program. here you can perform the string operation.
    once all this is done click on the method. goto Edit -> change release status -> object type component -> to implemented.
    then click on the generate button. (red and white coloured button).

  • WDA - Workflow Integration Problem...

    Hi pple,
    Is there any standard SAP ABAP Web Dynpro Application which is integrated with Workflows?
    I mean, is there any Standard Workflow that calls ABAP Web Dynpro Application?
    Actually, I am able to call the ABAP WD Application using SWFVISU application, but the only problem is...HOW CAN I SEND DATA FROM WORKFLOW CONTAINER TO WD ABAP ?
    Did anyone get to work in this area? If so, can you help me in giving me an idea of how to do this.
    I am trying to get the Workitem number from UWL inside my WD Application, but I am unsuccessful...Did any one tried doing this...???
    I achieved the same in JAVA WD Applications using
    <b>Str_WI_ID = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("WI_ID").</b>
    This WDProtocolAdapter extracts the WI number from UWL inside my JAVA WD Application.
    Is there any such class in ABAP also which does the same?
    Regards,
    <i><b>Raja Sekhar</b></i>

    Hi Rajasekhar,
    The WDA program that you want to integrate with workflow has a window with input plug "DEFAULT". Add "WI_ID" as a parmeter to the handler method of the plug.
    You can now use that parameter directly in the handler method as the WID is passed as
    parameter from the UWL.
    Thanks,
    G.Jayaprakash

  • Another asynchronous workflow method question

    Hi all.
    Your previous post on this topic was great people!!
    Right now I have a problem with an asynchronous method, on concrete words, is the method from object BUS2081, method EDIT.
    I've created a task based on that method and I have put some terminating events on that task but looking at the WF log on runtime, the task is only waiting for some of the events and ignoring just the ones i need. I don't know what the problem is because i have configured the events exactly on the same way....any idea of what is happening?
    I've solved this incidence including some parallel branches awaitiing for the events, so I'm "faking" in some way the "asynchronous" task, but this is a cheap trick...
    Thank you and best regards.
    Ismael

    Hi Ismael,
    I have a quick question regarding the BUS2081 - EDIT method.
    I'm using the Edit method with terminating events as POST, Delete, Park and Complete.
    Assume I have workflowed the invoice for GR missing scenario once its is done I will try and Post the Invoice document if it still has errors (say Price mismatch)then I want to Repark the document using the ' Save park document' icon.
    As there will be errors I can't do 'Save as Completed'. 
    Here I can't Repark the document until I Complete it.....:( I don't know how to handle this situtation.
    Any advice is helpful.
    Thank you,
    Renu.

  • Workflow Binding Problem

    Hi All,
         I have to customize standard Leave Application workflow WS12300111. for that  i have copied  this workflow into  new Z-workflow. Actually i have to fetch some data from custom infotype before  sending this  leave to approver.
        Now this WS12300111 is  based on Class(CL_PT_REQ_WF_ATTRIBS) not on BO and  to fetch custom Infotype data I have created custom BO and written method inside this BO.
      The problem i am facing is i need to export a parameter from workflow container to my BO's method container and data type of that element is of Table Type (PTREQ_ITEMS_WF_TAB_FLAT) and in method it is not allowing me to create elements  with reference to this Table type (there is no Option to create element using ABAP Dictionary type As it is in Workflow container). If i define my method element using Line type if this PTREQ_ITEMS_WF_TAB_FLAT then it allows  me to create that  element (B'coz line types  are basically structures) But it gives me Datatype mismatch error in Binding from Task to Method...
       So is there any way to achieve this?? or  should I create a Z-Class as  subtype of standard Class CL_PT_REQ_WF_ATTRIBS and then write a new Method in this subtype Z-class to read  custom infotype. Is this the way to achieve the delegation functionality of BO in Class.

    Hi michell ongota 
        What your are trying to achieve with custom infotype. As far as i concern you can use employeet business object to get all the details. customize this busniess object and write your logic here or you can customize the class which you have mentioned. There is nothing like delegation for class. But i dont know in which method u will write the code. Since the leave request going to apply from portal dont do any customization of this class. Try to use the business object EMPLOYEET. I have done leave request workflows i never done any thing in this class.
    Regards
    vijay

  • Getting "SYSTEM ERROR" while generating a PDF in a Workflow method.

    Dear All,
    I'm getting a "SYSTEM ERROR" when I'm calling the below function module in a Workflow BO Method.
    CALL FUNCTION wa_funcnm
       EXPORTING
         /1bcdwb/docparams  = fp_docparams
         invoice                     = invoice
       IMPORTING
         /1bcdwb/formoutput = fp_formoutput
       EXCEPTIONS
         usage_error        = 1
         system_error       = 2
         internal_error     = 3
         OTHERS             = 4.
    The aim is to generate the PDF and store it in DMS. Please let me know, if I'm going wrong somewhere. Any kind of inputs would be sincerely appreciated.
    Regards,
    Tushar.

    Hi Tushar
    You need to the following parameters when calling FM. Background WF process cannot handle dailog.
    fp_outputparams-nodialog = 'X'.
    fp_outputparams-getpdf   = 'X'.
    Refer to Thread below
    Creating Attachments to Work Items or to User Decisions in Workflows
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
    i_name     = l_formname
        IMPORTING
    e_funcname = l_fm_name.
    *   E_INTERFACE_TYPE           =
    fp_outputparams-nodialog = 'X'.
    fp_outputparams-getpdf   = 'X'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
    ie_outputparams = fp_outputparams
    EXCEPTIONS
    cancel          = 1
    usage_error     = 2
          system_error    = 3
    internal_error  = 4
    OTHERS          = 5.
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN OTHERS.
    ENDCASE. " CASE sy-subrc
      ENDIF.
    fp_docparams-langu = 'X'.
    fp_docparams-country = 'US'.
      fp_docparams-fillable = 'X'.
      CALL FUNCTION l_fm_name
        EXPORTING
    /1bcdwb/docparams  = fp_docparams
    emp_info           = fs_per_info
        IMPORTING
    /1BCDWB/FORMOUTPUT = FP_FORMOUTPUT
    EXCEPTIONS
    usage_error        = 1
          system_error       = 2
    internal_error     = 3
    OTHERS             = 4.
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN OTHERS.
    ENDCASE. " CASE sy-subrc
      ENDIF.                               " IF sy-subrc <> 0
      CALL FUNCTION 'FP_JOB_CLOSE'
    *   IMPORTING
    * E_RESULT             = result
       EXCEPTIONS
    usage_error          = 1
    system_error         = 2
    internal_error       = 3
    OTHERS               = 4
      IF sy-subrc <> 0.
        CASE sy-subrc.
          WHEN OTHERS.
    ENDCASE. " CASE sy-subrc
      ENDIF.                               " IF sy-subrc <> 0.
    ENDFORM.                    " GET_FUNCTION_MODULE
    *& Form  CONVERT_PDF_BINARY
    FORM CONVERT_PDF_BINARY .
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
    BUFFER                = FP_FORMOUTPUT-pdf
    *   APPEND_TO_TABLE       = ' '
    * IMPORTING
    * OUTPUT_LENGTH         =
        TABLES
    BINARY_TAB            = t_att_content_hex .
    ENDFORM.                    " CONVERT_PDF_BINARY
    Regards
    Sandy

  • Using Calendar.set() method problem

    Hi all,
    First of all sorry to bother with such a trivial(?) matter but I cannot solve it by myself.
    I have a piece of code which I simply want to handle the current date with the GregorianCalendar object so that the date would be set to the Calendar.SUNDAY (of the current week). Simple enough?
    Code as follows:
    import java.util.*;
    import java.text.*;
    public class Foo
    public static void main(String[] args)
         Foo foo = new Foo();
         Date newdate = foo.bar();
    public Date bar()
         GregorianCalendar m_calendar = new GregorianCalendar(new Locale("fi","FI"));
         m_calendar.setFirstDayOfWeek(Calendar.MONDAY);
         Date newDate = null;
         try
              m_calendar.setTime(new Date());
              System.out.println("Calendar='" + m_calendar.toString() + "'");
              m_calendar.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);
              SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd");
              StringBuffer sb = new StringBuffer();
              sdf.format(m_calendar.getTime(), sb, new FieldPosition(0));
              System.out.println("Date in format (" + sdf.toPattern()          + ") = '" + sb.toString() + "'");
         catch(Exception e)
              e.printStackTrace();
         return m_calendar.getTime();
    This should work at least accoring to my understanding of the SDK documentation as follows with
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
    Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
    Calendar='java.util.GregorianCalendar[time=1054636838494,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Europe/Helsinki",offset=7200000,dstSavings=3600000,useDaylight=true,transitions=118,lastRule=java.util.SimpleTimeZone[id=Europe/Helsinki,offset=7200000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=2003,MONTH=5,WEEK_OF_YEAR=23,WEEK_OF_MONTH=1,DAY_OF_MONTH=3,DAY_OF_YEAR=154,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=1,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=40,SECOND=38,MILLISECOND=494,ZONE_OFFSET=7200000,DST_OFFSET=3600000]'
    Date in format (yyyy.MM.dd) = '2003.06.08'
    Which is the sunday of this week. But as I run the same code with:
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.06-020625-14:20)
    Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.06-JPSE_1.3.1.06_20020625 PA2.0, mixed mode)
    Calendar='java.util.GregorianCalendar[time=1054636630703,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=java.util.SimpleTimeZone[id=Europe/Helsinki,offset=7200000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2],firstDayOfWeek=2,minimalDaysInFirstWeek=4,ERA=1,YEAR=2003,MONTH=5,WEEK_OF_YEAR=23,WEEK_OF_MONTH=1,DAY_OF_MONTH=3,DAY_OF_YEAR=154,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=1,AM_PM=1,HOUR=1,HOUR_OF_DAY=13,MINUTE=37,SECOND=10,MILLISECOND=703,ZONE_OFFSET=7200000,DST_OFFSET=3600000]'
    Date in format (yyyy.MM.dd) = '2003.06.01'
    Which is sunday of the previous week and incorrect in my opinion. The latter result is run on HP-UX B.11.11 U 9000/800 and first on NT.
    Any ideas why this is happening? Thanks in advance!
    Greets, Janne

    Thanks for your answer!
    The problem is that I have to work with this older SDK version. :) But I got it solved by using the roll method with the following syntax:
    int delta = [dayToSet] - m_calendar.get(Calendar.DAY_OF_WEEK);
    in which the delta is of course the difference (negative or positive to the current day of the week)
    and then using the roll call:
    m_calendar.roll(Calendar.DAY_OF_WEEK, delta);
    which doesn't alter the current week. So this works if someone else has a similar problem with the version 1.3.1
    Greets, Janne

  • Enhance Method Problem

    I try to enhance a Method like described in this Thread...
    Re: Sending Email using the Outlook Client
    What I did so far...
    1) In Transaction "bsp_WD_CMPWB"  I choosed Component "BP_ADDR" and created a copy in our "Z_CRM" EnhancementSet
    2) I used the right Mousebutton to Enhance the "BP_ADDR/StandardAddress" View
    Two things had been automatically generated/created...
    - Table Contents BSPWD_CMP_C_REPL
    - Object ZL_BP_ADDR_STANDARDADDRES_CTXT
    3) I doubleclick on the enhanced View "BP_ADDR/StandardAddress"
        (-> In the "View Layout" node the StandardAddress.html is still using the Super Classes / Implementation Class CL_BP_ADDR_STANDARDADDRES_CN01 )
    4) If I go to Implemetation Class CL_BP_ADDR_STANDARDADDRESS_CN01
    5) Select method "GET_P_E_MAILSMT" (and look into the coding)
       The enhancement Functions there are not working for meu2026
       I tried the Button with the (Sprial / helix)
       and the Menu "Edit"-> "Enhancement Operations"
    Where is my error?! (I think I have to create a ZClass for the CL_BP_ADDR_STANDARDADDRES_CN01?!?!? But how to???)
    I will give all possible points for good answers
    Thanks for helpingu2026

    hi,
    Some times I also faced problems to create Zclass for standard ones. But you can do one trick to create Zclass.
    Try to create one dummy attribute in your context node, then it will creates  automatically Zclass for that node. Later you can delete that attribute.
    If you get any problems to create P-getter method, then copy the IF_BSP_WD_MODEL_SETTER_GETTER~_GET_P_XYZ template method and rename to GET_P_E_MAILSMT.
    regards
    Ismail

  • Multiple Payment Methods problem in F110 - Parameters

    <b>Prob : Wehn I enter more than one payment method in Parameters in F110 only the 1st Payment method entered is saved. The other payment method gets deleted automatically.</b>
    Following is already done :
    1. All the payment methods entered in F110 Parameters is already maintained in
    the vendor master.
    2. In FBZP - Payment Method for Country & Payment Method for Company Code
    is configured for all the payment methods.
    3. Also Invoices in FI (FB60) are posted for all the payment methods without any
    errors.
    4. Ranking order is maintained for each payment method & for the house bank
    used.
    5. Account determination is also maintained for all the payment methods for the
    respective house bank.
    6. The maximum amount is also maintained for all the payment methods under "Payment Methods for Comapany Code".
    Pl help to resolve this problem.

    hi,
    My problem is in the parameter stage 1st Screen.
    Also you cannot assign more than one Payment Method in the Print Variant.
    Also this variant is used only for printing. Its not called at the stage when I am entering the Payment Method in the 1st screen in the Parameter.
    I have somewhat found out what the problem is.
    I guess there is some change done in the standard SAP program, becuase if i type more than one payment method in the Parameter 1st screen and try to save it, it returns with a warning message "Only one Payment Method can be entered". This is a unique msg which has been written through a Z Program.
    Thanks.
    Bye.

Maybe you are looking for

  • Maximum Open Cursors Exceeded problem in XSQL

    Hi, We are processing an XSQL page by calling XSQLRequest.process() programatically within our application. Within the XSQL page there are several queries which involve multiple nested CURSOR expressions... when the query returns enough rows we are r

  • Printing problem with Photosmart C4180

    Hello, I'm trying to print invitations on my Photosmart C4180.  I have a custom size of 6.25" by 6.25".  The directions on the invitations say I should manually feed the paper.  I can't find out how to do that.  Do you have any suggestions?  thank yo

  • Kernel Error Panic

    I recently bought a new MacBook 2 months ago. About a month or so after receiving it I began to receive kernel errors (the gray box with all the different languages in it). I bought the MacBook with 1GB RAM and a friend installed another 1GB for me (

  • I have Windows 7, machine time is 9:00 AM Message says sent at 6:00 AM. How do I correct this?

    Am using gmail as my email account. Time stamp on messages sent is 3 hours behind computer time.

  • How to set uo WLAN on e61

    Hi all. I have the issue on the wlan working with e61. When going to the browser I choose "WLAN search" and then fill in the key and everything is ok. But when I try to set up a new access point for wlan and then go to the browser it doesn't work. Th