ABAP OO - Get workitem ID

Hello,
I'm migrating BOR tasks to ABAP OO (some compatibility issue arose) using a task with a class/method. The method is static like the BOR method was instance independent.
Inside my method I need to retrieve the workitem ID. In BOR method I used the macro swc_get_element to retrieve the workitem object and then the workitem ID. How do I do the same thing in a class method?
I tried using the IF_SWF_IFS_PARAMETER_CONTAINER but it is only usable in instance methods. Does the method need to be instance based?
Thanks.

Hello,
Curious, I'm able to bind the task id (&_WORKITEM.WORKITEMID) to a method in the task builder.
Perhaps try to acces to the task via SWDD instead of directly going to PFTC.
Or try to put the value manually. If you have a look at SWI2_FREQ, at an item level, the field &_WORKITEM.WORKITEMID has the workitem id and not the workflow id.
Olivier

Similar Messages

  • What is the first step of an abaper after getting the FDS

    what is the first step of an abaper after getting the Functional Document ?what we have to do? how to analyze it , and how to face such interview questions on FDS TDS . any resource available.

    Hi,
    After getting the FDS , first understand the functionality of the requirment or take the help of the functional consultant and then start preparing TS ( TEchnical Specification) and do coding  and get your doe reveirewed and prepare test cases and do testign in sand box and quality environment and after having got the confrimation that the requirment is met then port it to production.
    Regards,
    Irfan
    Note: Please award helpful answers.

  • Workflow initiator does not get workitems when PR Approve rejects.

    Hi,
    Workflow initiators does not get workitems when PR Approve rejects.Is there any thing missing in that .
    Please let me know .
    Regards,
    Gurprit Bhatia
    Edited by: GURPRIT BHATIA on Jan 28, 2009 8:38 AM

    Hi GB,
    In order that the WF initiator gets workitems on PR rejection, you need to assign method 'InfoReleaseRejected' (BO BUS2009) to a task in the PR rejection flow of your WF. If this is done, then check if you have assigned WF Initiator as the Agent in that task.
    Hope this helps.
    Thanks,
    Ajay

  • Where does an abap program get stored after save?

    Where does an abap program get stored after save? ...plzz tell
    Edited by: Alvaro Tejada Galindo on Feb 18, 2008 11:28 AM

    this program download the code to presentation server
    Analyse this code.
    CHECK IT IN DEBUGGING
    REPORT zdownload_source MESSAGE-ID zabap.
    TABLES: trdir.
    SELECT-OPTIONS: repo FOR trdir-name.
    PARAMETERS: path(60) TYPE c DEFAULT 'C:\programs\'.
    DATA: BEGIN OF tabsource OCCURS 10,
          source(72) TYPE c,
          END OF tabsource.
    DATA: BEGIN OF tabtext OCCURS 50,
          tab LIKE textpool      ,
          END OF tabtext.
    DATA: BEGIN OF tabrdir OCCURS 100,
          rdir LIKE trdir,
          END OF tabrdir.
    DATA: filename LIKE rlgrap-filename,
          mode TYPE c VALUE ' ',
          rdirrows TYPE i,
          sourcerows TYPE i,
          rc TYPE i,
          length TYPE i.
    FIELD-SYMBOLS: <p>.
    DATA: ok TYPE i VALUE 0,
          fail TYPE i VALUE 1.
    AT SELECTION-SCREEN.
      DATA: i TYPE i.
      DESCRIBE TABLE repo LINES i.
      IF i <= 0.
        SET CURSOR FIELD repo.
        MESSAGE i001 WITH 'se message class'.
      ENDIF.
    START-OF-SELECTION.
      CONDENSE path NO-GAPS.
      length = strlen( path ).
      SUBTRACT 1 FROM length.
      ASSIGN path+length(1) TO <p>.
      IF <p> <> '\'.
        ADD 1 TO length.
        ASSIGN path+length TO <p>.
        <p> = '\'.
      ENDIF.
      SELECT * FROM trdir
              INTO TABLE tabrdir
              WHERE name IN repo.
      DESCRIBE TABLE tabrdir LINES rdirrows.
      CHECK rdirrows > 0.
      LOOP AT tabrdir.
        MOVE tabrdir TO trdir.
        PERFORM download_sourse USING rc.
        CHECK rc = ok.
    *    PERFORM download_textpool USING rc.
      ENDLOOP.
      write :/ sy-dbcnt , ' number of programs downloaded'.
    *&      Form  download_sourse
    *       text
    *      -->P_RC  text
    FORM download_sourse USING  rc.
      rc = fail.
      CLEAR: tabsource, filename.
      REFRESH: tabsource.
      READ REPORT trdir-name INTO tabsource.
      DESCRIBE TABLE tabsource LINES sourcerows.
      CHECK sourcerows > 0.
      CALL FUNCTION 'STRING_CONCATENATE_3'
        EXPORTING
          string1         = PATH
          string2         = TRDIR-NAME
          string3         = '.ABA'
       IMPORTING
         string          = FILENAME
       EXCEPTIONS
         too_small       = 1
    *   OTHERS          = 2
      IF sy-subrc <> 0.
    WRITE: 'AAAA'.
      ENDIF.
      CONDENSE filename NO-GAPS.
      PERFORM download TABLES tabsource USING filename rc.
    ENDFORM.                    " download_sourse
    *&      Form  download_textpool
    *       text
    *      -->P_RC  text
    FORM download_textpool USING    p_rc.
      rc = fail.
      CLEAR: tabtext, filename.
      REFRESH: tabtext.
      READ TEXTPOOL trdir-name INTO tabtext LANGUAGE sy-langu.
      DESCRIBE TABLE tabtext LINES sourcerows.
      CHECK sourcerows > 0.
      CALL FUNCTION 'STRING_CONCATENATE_3'
        EXPORTING
          string1         = path
          string2         = trdir-name
          string3         = '.TXT'
       IMPORTING
         string          = filename
       EXCEPTIONS
         too_small       = 1
    *   OTHERS          = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      PERFORM download TABLES tabtext USING filename rc.
    ENDFORM.                    " download_textpool
    *&      Form  download
    *       text
    *      -->P_TABTEXT  text
    *      -->P_FILENAME  text
    *      -->P_RC  text
    FORM download TABLES   tabtext
                          USING filename
                           rc.
      rc = fail.
      CALL FUNCTION 'WS_DOWNLOAD'
       EXPORTING
    *     BIN_FILESIZE                  = ' '
    *     CODEPAGE                      = ' '
         FILENAME                      = filename
         FILETYPE                      = 'ASC'
         MODE                          = 'MODE'
    *     WK1_N_FORMAT                  = ' '
    *     WK1_N_SIZE                    = ' '
    *     WK1_T_FORMAT                  = ' '
    *     WK1_T_SIZE                    = ' '
    *     COL_SELECT                    = ' '
    *     COL_SELECTMASK                = ' '
    *     NO_AUTH_CHECK                 = ' '
    *   IMPORTING
    *     FILELENGTH                    =
        TABLES
          data_tab                      = TABTEXT
    *     FIELDNAMES                    =
    *   EXCEPTIONS
    *     FILE_OPEN_ERROR               = 1
    *     FILE_WRITE_ERROR              = 2
    *     INVALID_FILESIZE              = 3
    *     INVALID_TYPE                  = 4
    *     NO_BATCH                      = 5
    *     UNKNOWN_ERROR                 = 6
    *     INVALID_TABLE_WIDTH           = 7
    *     GUI_REFUSE_FILETRANSFER       = 8
    *     CUSTOMER_ERROR                = 9
    *     OTHERS                        = 10
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF sy-subrc <> 0.
        WRITE: / sy-subrc, ' message declare '.
      ENDIF.
      rc = sy-subrc.
    ENDFORM.                    " download
    regards.
    santhosh reddy
    <REMOVED BY MODERATOR>
    Edited by: Santhosh Reddy on Feb 13, 2008 6:48 PM
    Edited by: Alvaro Tejada Galindo on Feb 18, 2008 12:00 PM

  • Active substitute maintained for a user is not getting workitems for approv

    Hi,
    Active substitute maintained for a user is not getting workitems for approval.Earlier he was getting
    but now a days he is not getting.
    Roles wise also , i checked, it is proper.
    Please advise me on this.
    Regards,
    Niti

    Hi Check Table HRUS_D2 for the user id and cross check it with the users pa record and IT 105.
    Also check the email address maintained in su01. And further you can check with the org attrib forward??? is maintained.
    I hope this helps.
    Saj

  • Get Workitem container data in ABAP OO

    Hello!
    I have some problem in workflow by using ABAP OO.
    I have  a class whith method display in current workitem.
    In this method how can get container data like wiid etc.?

    In this case you could only use, what's either available in the work item container or what the business object (here: WORKITEM) provides.
    As you need a whole bunch of information, it will be best to read it from the database within the .Display-Method, but I would suggest, that you use the structure/table SWWWIHEAD (which is mostly similar to SWWLHEAD structure).
    You'd do it this way:
    METHOD Display.
       DATA: l_workitem_header     TYPE swwwihead.
       SELECT SINGLE * FROM swwwihead
                       INTO l_workitem_header
                       WHERE wi_id = i_wi_id.
       IF sy-subrc <> 0.
          "Something is wrong here, as the work item is not valid
          "... do some exception handling there or end method with message,
          "such as MESSAGE S....
          EXIT.
       ENDIF.
       "... Detailed data of current workitem is now
       "... in struct l_workitem_header
    ENDMETHOD.

  • How to get workitem id in ABAP-Webdynpro application

    Hai All,
    When a user clicks on a work item in universal worklist, a ABAP-Webdynpro screen is called. I want to pass the workitem number to this ABAP-Webdynpro application. 
    Please let me know how to pass this.
    Thanks & Regards,
    H.K.Hayath Basha.

    Hai Kari,
    Thanks for the link, i am looking into it.
    Hai Naresh,
    Where should I give this link,
    http://abc.com:8001/sap/bc/webdynpro/sap/ztest? param1= Val
    What I have done is,
    In SWFVISU transaction I maintained the following entry,
    Task = TS99000208
    Visualization Type = WD_ABAP
    Visualization Parameter  Visualization Parameter value
    APPLICATION            =  ZWD_OFFICIAL_012
    NAMESPACE            =  SAP
    and registered this task in in universal worklist.
    Where the specify the code you mentioned. 
    Thanks & Regards,
    H.K.Hayath Basha.

  • How to get workitem ID parameter in BSP application in UWL?

    Hello All,
    okay, it's been a long day and i stuck with this seemingly simple problem - how to get a workitem id in my BSP application when calling from UWL.
    Points are guaranteed to all who post an answer.
    i got MVC BSP iview is configured to be called for my task in SWFVISU, all re-registered and seem fine. Correct BSP is being called when i execute the workitem from UWL, but wi_id is not passed there.
    What am i missing?
    Thanks!

    Hi Serge
    How you solved it .I have same issue  please let me know.
    Thanks

  • ABAP MAPPING : Getting An Error

    hi all
    i am using a scenario where i am sending data from r/3(prog)>xi>R/3(RFC).
    in between i am using ABAP MAPPING
    i am getting an error:
    ERROR:  "" MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.StringIndexOutOfBoundsException: String index out of range: -7: com.sap.aii.af.rfc.afcommunication.RfcAFWException: java.lang.StringIndexOutOfBoundsException: String index out of range: -7""
    the ABAP MAPPING which i am using:
    METHOD IF_MAPPING~EXECUTE.
      BREAK-POINT.
      * initialize iXML
      TYPE-POOLS: IXML.
      TYPE-POOLS: IXML.
      DATA: L_IXML TYPE REF TO IF_IXML.
    *creating the Interface by calling the create method in class C_IXML
      CALL METHOD CL_IXML=>CREATE
    EXPORTING
       TYPE   = 0
        RECEIVING
          RVAL   = L_IXML.
    create stream factory
      DATA: STREAMFACTORY TYPE REF TO IF_IXML_STREAM_FACTORY.
      CALL METHOD L_IXML->CREATE_STREAM_FACTORY
        RECEIVING
          RVAL = STREAMFACTORY.
    create input stream
      DATA: ISTREAM TYPE REF TO IF_IXML_ISTREAM.
      CALL METHOD STREAMFACTORY->CREATE_ISTREAM_XSTRING
        EXPORTING
          STRING = SOURCE
        RECEIVING
          RVAL   = ISTREAM.
    *This iXML factory can create an empty XML document object named IDOCUMENT.
    initialize input document
      DATA:  IDOCUMENT TYPE REF TO IF_IXML_DOCUMENT.
      CALL METHOD L_IXML->CREATE_DOCUMENT
        RECEIVING
          RVAL = IDOCUMENT.
    parse input document
      DATA: IPARSER TYPE REF TO IF_IXML_PARSER.
      CALL METHOD L_IXML->CREATE_PARSER
        EXPORTING
          DOCUMENT       = IDOCUMENT
          ISTREAM        = ISTREAM
          STREAM_FACTORY = STREAMFACTORY
        RECEIVING
          RVAL           = IPARSER.
      IPARSER->PARSE( ).
      DATA: ROOT TYPE REF TO IF_IXML_ELEMENT.
    get message content of tag
      DATA: INCODE  TYPE REF TO IF_IXML_NODE_COLLECTION,
            INCODE1 TYPE REF TO IF_IXML_NODE_COLLECTION,
            INCODE2 TYPE REF TO IF_IXML_NODE_COLLECTION,
            INCODE0  TYPE REF TO IF_IXML_NODE_COLLECTION.
      CALL METHOD IDOCUMENT->GET_ELEMENTS_BY_TAG_NAME
        EXPORTING
         DEPTH     = 0
          NAME      = 'MANDT'
         NAMESPACE = ''
        RECEIVING
          RVAL      = INCODE0 .
      CALL METHOD IDOCUMENT->GET_ELEMENTS_BY_TAG_NAME
      EXPORTING
         DEPTH     = 0
        NAME      = 'EMPNO'
         NAMESPACE = ''
      RECEIVING
        RVAL      = INCODE.
      CALL METHOD IDOCUMENT->GET_ELEMENTS_BY_TAG_NAME
    EXPORTING
         DEPTH     = 0
    NAME      = 'EMPNAME'
         NAMESPACE = ''
    RECEIVING
    RVAL      = INCODE1.
      CALL METHOD IDOCUMENT->GET_ELEMENTS_BY_TAG_NAME
    EXPORTING
         DEPTH     = 0
    NAME      = 'DEPARTMENTNAME'
         NAMESPACE = ''
    RECEIVING
    RVAL      = INCODE2.
      DATA: URI TYPE STRING.
      URI = 'urn:sap-com:document:sap:rfc:functions'.
    * build up output document =============================================
    create output document
      DATA: ODOCUMENT TYPE REF TO IF_IXML_DOCUMENT.
      CALL METHOD L_IXML->CREATE_DOCUMENT
        RECEIVING
          RVAL = ODOCUMENT.
      DATA: RET_VALUE TYPE I.
    *At this point you can add the nodes (elements, attributes) into the document. First you have to declare the root element node.
      DATA: L_ELEMENT_ROOT TYPE REF TO IF_IXML_ELEMENT.
      CALL METHOD ODOCUMENT->CREATE_ELEMENT_NS
        EXPORTING
          NAME   = 'ZTEST1'
          PREFIX = 'ns1'
          URI    = 'urn:sap-com:document:sap:rfc:functions'
        RECEIVING
          RVAL   = L_ELEMENT_ROOT.
      DATA: L_ELEMENT_NODE TYPE REF TO IF_IXML_ELEMENT.
      CALL METHOD ODOCUMENT->CREATE_SIMPLE_ELEMENT
        EXPORTING
          NAME      = 'ZTEST1'
         NAMESPACE = 'xmlns ns1 urn:sap-com:document:sap:rfc:functions'
          PARENT     = ODOCUMENT
       VALUE     = '?xml version="1.0" encoding="UTF-8"?'
        RECEIVING
          RVAL      = L_ELEMENT_ROOT.
      DATA: ATTRIBUTE TYPE REF TO IF_IXML_ATTRIBUTE.
      CALL METHOD ODOCUMENT->CREATE_ATTRIBUTE_NS
        EXPORTING
          NAME   = 'ZTEST1'
          PREFIX = 'xmlns'" ns1="urn:sap-com:document:sap:rfc:functions"'
          URI    = 'urn:sap-com:document:sap:rfc:functions'
        RECEIVING
          RVAL   = ATTRIBUTE.
      RET_VALUE = ODOCUMENT->SET_NAMESPACE_PREFIX(
    PREFIX = 'ns1').
      CALL METHOD ATTRIBUTE->SET_VALUE
        EXPORTING
          VALUE = URI
        RECEIVING
          RVAL  = RET_VALUE.
      CALL METHOD L_ELEMENT_ROOT->SET_ATTRIBUTE_NODE_NS
        EXPORTING
          NEW_ATTR = ATTRIBUTE
        RECEIVING
          RVAL     = RET_VALUE.
      DATA: NODE_LIST_COLLECTION TYPE REF TO IF_IXML_NODE_COLLECTION.
    add node to the output document
      DATA: OUTCODE0 TYPE REF TO IF_IXML_NODE.
      DATA: OUTCODE  TYPE REF TO IF_IXML_NODE.
      DATA: OUTCODE1 TYPE REF TO IF_IXML_NODE.
      DATA: OUTCODE2 TYPE REF TO IF_IXML_NODE.
      DATA: INDEX1 TYPE SY-INDEX.
      DATA: INDEX TYPE SY-INDEX.
      DATA IRC TYPE I.
      CALL METHOD IDOCUMENT->GET_ELEMENTS_BY_TAG_NAME
        EXPORTING
       DEPTH     = 0
          NAME      = 'MANDT'
       NAMESPACE = ''
        RECEIVING
          RVAL      =  NODE_LIST_COLLECTION.
      DATA: LENGTH TYPE I.
      CALL METHOD NODE_LIST_COLLECTION->GET_LENGTH
        RECEIVING
          RVAL = LENGTH.
      WHILE INDEX < LENGTH.
        CALL METHOD IDOCUMENT->CREATE_SIMPLE_ELEMENT
          EXPORTING
            NAME      = 'DATA'
       NAMESPACE = ''
            PARENT     = L_ELEMENT_ROOT
       VALUE     =
          RECEIVING
            RVAL      =  L_ELEMENT_NODE .
        CALL METHOD INCODE0->GET_ITEM
          EXPORTING
            INDEX = INDEX
          RECEIVING
            RVAL  = OUTCODE0.
        CALL METHOD INCODE->GET_ITEM
          EXPORTING
            INDEX = INDEX
          RECEIVING
            RVAL  = OUTCODE.
        CALL METHOD INCODE1->GET_ITEM
          EXPORTING
            INDEX = INDEX
          RECEIVING
            RVAL  = OUTCODE1.
        CALL METHOD INCODE2->GET_ITEM
          EXPORTING
            INDEX = INDEX
          RECEIVING
            RVAL  = OUTCODE2.
        CALL METHOD L_ELEMENT_NODE->APPEND_CHILD
          EXPORTING
            NEW_CHILD = OUTCODE0
          RECEIVING
            RVAL      = IRC.
        CALL METHOD L_ELEMENT_NODE->APPEND_CHILD
          EXPORTING
            NEW_CHILD = OUTCODE
          RECEIVING
            RVAL      = IRC.
        CALL METHOD L_ELEMENT_NODE->APPEND_CHILD
          EXPORTING
            NEW_CHILD = OUTCODE1
          RECEIVING
            RVAL      = IRC.
        CALL METHOD L_ELEMENT_NODE->APPEND_CHILD
          EXPORTING
            NEW_CHILD = OUTCODE2
          RECEIVING
            RVAL      = IRC.
        ADD 1 TO INDEX.
      ENDWHILE.
    render document ======================================================
    create output stream
      DATA: OSTREAM TYPE REF TO IF_IXML_OSTREAM.
      CALL METHOD STREAMFACTORY->CREATE_OSTREAM_XSTRING
        EXPORTING
          STRING = RESULT
        RECEIVING
          RVAL   = OSTREAM.
    DATA: IPARSER TYPE REF TO IF_IXML_PARSER.
      CALL METHOD L_IXML->CREATE_PARSER
        EXPORTING
          DOCUMENT       = ODOCUMENT
          ISTREAM        = ISTREAM
          STREAM_FACTORY = STREAMFACTORY
        RECEIVING
          RVAL           = IPARSER.
      IPARSER->PARSE( ).
    create renderer
      DATA: RENDERER TYPE REF TO IF_IXML_RENDERER.
      CALL METHOD L_IXML->CREATE_RENDERER
        EXPORTING
          DOCUMENT = ODOCUMENT
          OSTREAM  = OSTREAM
        RECEIVING
          RVAL     = RENDERER.
      IRC = RENDERER->RENDER( ).
    ENDMETHOD.
    plz help me out ASAP
    thnks
    kalyan

    hi
        all
    now the situation is that i am able to send the data to R/3,
    But in RWB-->MessageMonitoring ->version>Message Contents i am getting a error :
    *XML Parsing Error: not well-formed
    Location: http://aipid:50000/mdt/messagecontentservlet?attachment=0
    Line Number 1, Column 176:*
    <?xml version="1.0"?><ns1:ZTEST1 xmlns:ns1="urn:sap-com:document:sap:rfc:functions"><DATA><MANDT>210</MANDT><EMPNO>000000000023</EMPNO><EMPNAME>C</EMPNAME></DATA></ns1:ZTEST1 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
    it is not converted into XML ,the underline is the error which it is showing.
    it would be great if any one can figure it out what might be the cause of this error
    thanks
    kalyan

  • Get WorkItem attributes

    I have a workflow and would like write a rule to get the Workitem Id. How can this be done?

    but some command looks does not work like
    using the getObjectRef( ) method in com.waveset.ui.FormUtil class
    <invoke name='getObjectRef' class='com.waveset.ui.FormUtil'>
    the error message
    XPRESS <invoke> exception:
    Couldn't find method getObjectRef(null) in class com.waveset.ui.FormUtil ==> java.lang.NoSuchMethodException: com.waveset.ui.FormUtil.getObjectRef(null)

  • How to  get Workitem ID of workflow

    Hi all,
    i need to get the Workitem ID of workflow in my extended BOR method for some manipulation. how to achieve this. Please help, its urgent.
    Regards ,
    Gaurav.

    Hello,
    Perhaps this can help:
    http://help.sap.com/saphelp_nw04/helpdata/en/ad/ebe5cc1d75aa43a2871717d76f475d/content.htm
    If you want to know the table name, turn on tracing (ST05) when accessing the MIME types.
    regards
    Rick Bakker
    Hanabi Technology

  • How to get Workitem ID

    Hi,
    I want to know the instance of Runnign workflow means whether it is running or completed or In Process. so that i am using FM SWP_WF_INSTANCE_HEADER_READ.
    For the above FM WorkItem ID is required, but i am not able to find FM or table(I hav eObject Key and Object type) to get WI ID.
    Could anyone let me help to resolve this issue..
    Harkesh Dang

    Insert this code within your method before the FM call:
    swc_get_element container 'WorkItemID' zzw_id
    ( data: zzw_id like swwwihead-wi_id)
    You should be able to debug the container for the exact name of the workitem id.
    Regards,
    Peter Hang

  • Get workitem parent by transaction

    Hi,
    Is there a way to retrieve the field swwwihead-top_wi_id from a transaction?
    I've a lot of workitem from SWI1 and i'd like to get the parent(top-wi_id) for each of them(without developing a report).
    Thanks in advance

    Hello Tony,
    I believe the column titled "Workflow ID" in SWI1 is what you're looking for.
    Cheers,
    Mike

  • Batch ABAP uses GET PARAMETER of the user

    Dear all,
    I have the following curious effect when I start an ABAP in Batch. There are some selection criteria with a GET PARAMETER which are blocked in the variant. In dialog everything works fine. In batch mode the variant in SM37 is also correct. Example code :
    select-options:
        p_land1  for kna1-land1 memory id lan, 
        p_kunnr  for kna1-kunnr memory id kun.
    But when I switch on the ALV display of the selection the empty fields connected to a GET PARAMETER now have the values of GET PARAMETER of the user who runs the ABAP and the data base selctions get wrong !
    I tried to scan OSS but there is either too much information or not the right one.
    SAP is ECC6.0 and ABAP/Basis is on 70014
    Thank you for your help
    Rabanus Diehl

    I finally decided to open an OSS call and the result is that there is an inconsistency in the handling of SPA/GPA parameters in batch mode. Those parameters which are on the main screen will not be filled by GPA mechanism but those on Subscreens will be filled !
    SAP considers it illogic as well, but they hesitate to correct the error, because batch jobs at customers may be influenced.
    My impression is that, if someone has recognized this illogic behaviour at all, he has switched off the GPA handling in his program, which is my workaround as well. But I doubt that there were many people recognizing this problem.
    So if someone stumbled over it, please feel free to comment.
    Best regards
    Rabanus Diehl

  • Run payroll simulation in ABAP and get the payroll result in ABAP

    Dear Expert,
    Is there anyway I can simulate the payroll for a particular payperiod and employee in ABAP and then get the pay result for it in ABAP?
    Please help
    Best Regards,
    WF

    I doubt it. If you run payroll in simulation mode then no clusters gets created. This means no physical commit on DB takes places once results are generated. On the other hand capturing the results in flow is not probably achieveable too. This would mean interfering in payroll inner calucation or capturing them at the end (once results are dispalyed). You can of course send them to spool but importing its content to ABAP would be meaningless as the output is in tree form.
    So in my opinion there is no such way.
    Regards
    Marcin

Maybe you are looking for

  • Serial number profile

    I have create a profile for production orders as optional and the equipment as not required which is: MMSL     Maintain goods receipt and issue doc.     02     01 PPAU     Serial numbers in PP order     02     01 PPRL     PP order release     02     

  • Interactive PDF / Email marketing

    I have a 20 page newsletter that I'm sending out through an eblast. I have several paragraphs in the eblast summarizing exciting points in the newsletter. What I'm trying to do is where it says "read more on page 14" in the eblast, have a link that t

  • Using Places in iPhoto with aperture photos

    If we have a picture in aperture with the City and Country Name attribute filleds, this picture in iphoto will not have the info. So, iPhoto no uses the EXIF City and Country Name fields. are there any solution to use the exif info filled in apeture

  • T400 screen is dark

    I believe after much research that my inverter has gone bad, orangish screen that goes dark 90% of the time.  Works fine hooked up to a monitor. My question is that looking on ebay there appears to be two different styles of inverter.  One that is a

  • Monitor my dogs with iSight and Mac

    First, I'm a novice at all forms of electronic media but learning fast. I've moved to Scotland with my two dogs who must now live in the kitchen-laundry room during the day while I'm at work. I want to set up my mac powerbook G4 with Tiger OS and an