E-Recruiting: Posting and Requisition relationship

Greetings,
My  question has a couple layers to it.  An internal audit dictates a review of job posting for a particular work location in a given time frame.
I have requisition (NB) IDs for that site.
First question: Is there a relationship between req (NB) and posting (NC)?  I need to identify the posting for each req ID that I have but was unable to do so through table 1001.  Is there a roundabout way to get to the NC object from NB?
Second question: Once I've identified posting (NC), how might I produce the text objects associated with each posting ID en masse.  Table 5121 points to text objects, but I do not know of how to get to them.  I would like to avoid having to go through the posting text individually through the front end.  I've seen a couple posts regarding this topic, but I'm uncertain of the mechanics discussed.  The posts I've seen are:
/community [original link is broken]
Description of requirements field in e recruitment
Thank you in advance for any assistance.
Regards,
Brad

REPORT  zrwe_0001.
*  Declarations
*-- Type Pools --------------------------------------------------------*
TYPE-POOLS:
  abap.
*-- Types -------------------------------------------------------------*
TYPES:
  BEGIN OF __ls_result,
    requ_key         TYPE hrobject,
    requ_header      TYPE rcf_requisition_header,
    post_key         TYPE hrobject,
    post_header      TYPE string,
    post_company     TYPE string,
    post_department  TYPE string,
    post_project     TYPE string,
    post_task        TYPE string,
    post_requirement TYPE string,
    pinst_guid       TYPE rcf_pinst_guid,
    pinst_start      TYPE rcf_posting_start_date,
    pinst_end        TYPE rcf_posting_end_date,
    pinst_chan       TYPE rcf_posting_channel,
    pinst_chan_txt   TYPE rcf_posting_channel_txt,
  END   OF __ls_result,
  __lt_result TYPE STANDARD TABLE OF __ls_result.
*-- Field symbols -
FIELD-SYMBOLS:
  <lv_any>      TYPE                   ANY.
*-- Variables -
DATA:
  lr_pins_hdl   TYPE REF TO            cl_hrrcf_posting_inst_bl,
  lv_plvar      TYPE                   plvar,
  lv_channel    TYPE                   rcf_posting_channel,
  lt_5122       TYPE STANDARD TABLE OF hrp5122,
  ls_5122       TYPE                   hrp5122,
  ls_requ       TYPE                   rcf_s_requisition_info_text,
  lt_result     TYPE                   __lt_result,
  ls_result     TYPE                   __ls_result,
  ls_chan       TYPE                   t77rcf_postchn_t,
  ln_count      TYPE                   i,
  lv_str_trick  TYPE                   string,
  lr_exc        TYPE REF TO            cx_hrrcf.
Selection Screen
*-- Selection Screen Definition -
SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-001.
SELECT-OPTIONS:
  o_chan FOR lv_channel.
PARAMETERS:
  p_from TYPE rcf_posting_start_date,
  p_to   TYPE rcf_posting_end_date.
SELECTION-SCREEN END   OF BLOCK b01.
*-- Selection Screen Processing -
AT SELECTION-SCREEN ON p_from.
  IF p_from IS INITIAL.
    MESSAGE e001(00) WITH 'Enter a from date'.
  ENDIF.
AT SELECTION-SCREEN ON p_to.
  IF p_to IS INITIAL.
    MESSAGE e001(00) WITH 'Enter a to date'.
  ELSEIF p_to LT p_from.
    MESSAGE e001(00) WITH 'To date has to be greater or equal from date'.
  ENDIF.
Processing
-- Init the runtime -
INITIALIZATION.
get handler class instance
  lr_pins_hdl = cl_hrrcf_posting_inst_bl=>get_instance( ).
get the active plan
  CALL FUNCTION 'RH_GET_PLVAR'
    EXPORTING
      no_message = abap_true
    IMPORTING
      plvar      = lv_plvar
    EXCEPTIONS
      OTHERS     = 0.
make a 1 space string
  lv_str_trick = ' a'.                                      "#EC NOTEXT
  lv_str_trick = lv_str_trick(1).
-- Processing -
START-OF-SELECTION.
get all publications which were really published (PUBLISHED_DOC <> 0)
and which were published in the date borders
  SELECT * FROM hrp5122 INTO TABLE lt_5122
    WHERE
      plvar           =  lv_plvar                             AND
      otype           =  cl_hrrcf_posting_bl=>c_otype_posting AND
      subty           =  '    '                               AND "#EC NOTEXT
      istat           =  '1'                                  AND "#EC NOTEXT
      endda           =  '99991231'                           AND "#EC NOTEXT
      posting_channel IN o_chan                               AND
      published_doc   <> '000000'                             AND "#EC NOTEXT
      start_date      <= p_to                                 AND
      end_date        >= p_from.
gather the posting texts and requisition information
  LOOP AT lt_5122 INTO ls_5122.
    CLEAR:
      ls_result,
      ls_chan.
  read the frozen doc
    TRY.
        ls_result-pinst_guid       = ls_5122-pinst_guid.
        ls_result-pinst_start      = ls_5122-start_date.
        ls_result-pinst_end        = ls_5122-end_date.
        ls_result-pinst_chan       = ls_5122-posting_channel.
        ls_result-post_key-plvar   = ls_5122-plvar.
        ls_result-post_key-otype   = ls_5122-otype.
        ls_result-post_key-objid   = ls_5122-objid.
        lr_pins_hdl->get_frozen_post_inst_data(
          EXPORTING
            p_pinst_guid               = ls_5122-pinst_guid
          IMPORTING
            p_post_header              = ls_result-post_header
            p_post_company_desc        = ls_result-post_company
            p_post_department_desc     = ls_result-post_department
            p_post_project_desc        = ls_result-post_project
            p_post_task_desc           = ls_result-post_task
            p_post_requirement_desc    = ls_result-post_requirement
            ps_requisition_info_text   = ls_requ ).
        ls_result-requ_key-plvar   = ls_requ-plvar.
        ls_result-requ_key-otype   = ls_requ-otype.
        ls_result-requ_key-objid   = ls_requ-objid.
        ls_result-requ_header      = ls_requ-header.
        " Channel Text
        cl_hrrcf_t77rcf_postchn=>read_description(
          EXPORTING
            langu            = sy-langu
            posting_channel  = ls_result-pinst_chan
          IMPORTING
            t77rcf_postchn_t = ls_chan ).
        ls_result-pinst_chan_txt   = ls_chan-description.
        APPEND ls_result TO lt_result.
      CATCH cx_hrrcf INTO lr_exc.
        cl_hrrcf_exception_handler=>write_exception_log( ex = lr_exc ).
    ENDTRY.
  ENDLOOP.
excel download
  " replace all Tabs and CT/LF or the excel will be messed up
  LOOP AT lt_result INTO ls_result.
    ln_count = 1.
    WHILE 1 = 1.
      ASSIGN COMPONENT ln_count OF STRUCTURE ls_result TO <lv_any>.
      IF sy-subrc NE 0.
        EXIT.
      ENDIF.
      REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>horizontal_tab
        IN <lv_any> WITH lv_str_trick.
      REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>cr_lf
        IN <lv_any> WITH lv_str_trick.
      REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>newline
        IN <lv_any> WITH lv_str_trick.
      ADD 1 TO ln_count.
    ENDWHILE.
    MODIFY lt_result FROM ls_result.
  ENDLOOP.
  cl_gui_frontend_services=>gui_download(
    EXPORTING
      filename                  = 'C:\myfile.csv'
      write_field_separator     = abap_true
    CHANGING
      data_tab                  = lt_result
    EXCEPTIONS
      OTHERS                    = 0 ).
simple list output
  LOOP AT lt_result INTO ls_result.
    WRITE: / 'Requisition:', ls_result-requ_header,
           / 'Posting    :', ls_result-post_header,
           / 'Channel    :', ls_result-pinst_chan_txt.
    SKIP.
    WRITE: / 'Company:', / ls_result-post_company. SKIP.
    WRITE: / 'Department:', / ls_result-post_department. SKIP.
    WRITE: / 'Project:', / ls_result-post_project. SKIP.
    WRITE: / 'Task:', / ls_result-post_task. SKIP.
    WRITE: / 'Requirement:', / ls_result-post_requirement. SKIP.
    ULINE. SKIP.
  ENDLOOP.

Similar Messages

  • Fectching posts and comments from Facebook

    Hello All,
    I found a step by step guide to connect to twitter from OEID by the below document
    http://www.oracle.com/webfolder/technetwork/tutorials/tutorial/Endeca%20Information%20Discovery/OAuth_Twitter.html
    Is there any guide similar to above to connect to Facebook, to fetch post and comments?
    It will be helpful if any one who has done the above connectivity to Facebook from integrator share the steps .
    Regards,
    Nagaraj.

    We too are looking for a way to import wordpress content into the apple blogs. I've found some WP to blojsam import utilities, but not sure if these would work... or if the apple blogs have any relationship to blojsam anymore.
    Any pointers would be appreciated (mysql table info etc.. ?)

  • Actual posting and standard cost

    Dear All,
    For tcode kb11n, kb15n, kb31n, kb21n, ksu5, ksv5, keu5, they are doing actual posting.
    But when come to product cost, cogs, they are all based on standard cost.
    May I know what is the relationship for the above where some are actual posting and some are based on standard.
    Thanks
    Moderator: Please, avoid asking basic questions and replicate locked threads. Upon next violation your user(s) might be banned

    Hi Srina,
    You can use Actual Cositng mainly to process Mateial Ledger, the result of actual costing also can be transffer to profitability analysis in month-end to be cheked and be compared.
    best regards, Takashi

  • Proxy Class and URL relationship

    Hi All,
    I wanted to know in which table does the relationship between an proxy class and the URL used to create it is stored ?...
    Thanks...
    Preetham S

    kindly avoid duplicate posting of the same question.
    its answered in
    Proxy Class and URL Relationship
    Raja

  • How to change category on open and closed PO and Requisition lines

    We realized a little late that our category definition needs change. But when we change the category definitions (including structure) how do we change the existing PO lines and Requisition lines to have the new categories? We checked for any APIs, but there are none. What other option do we have?

    changing the name of the home directory and the login name is not advisable. it can be done
    http://www.macworld.com/article/132693/2008/03/changeshortusername.html
    but a better way would be to make a new user account using system preferences->accounts. call it whatever you want. log into that and delete the old account. since you just got this computer you don't have any data on it yet, right?

  • Excise invoice posted and paid but stock is yet to removed from Warehouse

    Dear All,
    Please provide solution for given below issue,
    1.Invoicing was done in 09.09.2009 and excise invoice has also been posted and paid to Govt. but the material is still lying
       at our works as consignee was not having valid road permit.
    2.Now the consignee has been changed but sold to party is same and the road permit is also available
    3.Excise duty revised to 10.30% from 8.24% and the new price breakup has been provided by the customer as per new 
        duties/tax rates.
    Please suggest the best way to handel this issue.
    Regards
    AJIT K SINGH

    >
    AJIT K SINGH wrote:
    > Dear All,
    >
    > Please provide solution for given below issue,
    >
    > 1.Invoicing was done in 09.09.2009 and excise invoice has also been posted and paid to Govt. but the material is still lying
    >    at our works as consignee was not having valid road permit.
    > 2.Now the consignee has been changed but sold to party is same and the road permit is also available
    > 3.Excise duty revised to 10.30% from 8.24% and the new price breakup has been provided by the customer as per new 
    >     duties/tax rates.
    >
    > Please suggest the best way to handel this issue.
    >
    > Regards
    > AJIT K SINGH
    Take help of excise or tax consultant,based on their advice you can proceed further.
    Either you have to revere all postings from excise to sales order.
    Maintain new pricing in condition record.
    Complete sales cycle including sales invoice with new price.
    Create excise invoice.
    For excise duty payment seek help of excise or tax consultant

  • What is the link between PO and Requisition in database side

    hello friends,
    please can any one tell me that what is the link between PO and Requisition in database side. means after creating the requisition we will go for create the PO based on that requisition.
    want to know that what is the link between both in database side.
    Thanks in advance
    krish.

    Hi,
    The link is at distribution level, between:
    PO_DISTRIBUTIONS_ALL.REQ_DISTRIBUTION_ID
    and
    PO_REQ_DISTRIBUTIONS_ALL.DISTRIBUTION_ID
    Hope it helps.

  • Creating Planned orders and Requisitions for a particular MRP controller and for all the others only Requisition is to be created.

    Hi Experts,
    Currently we run Program 'RMMRP000' as a batch job to create Planned orders and requisitions.
    The client wants that Planned orders and Requisitions should be created for a particular MRP controller and for all the others only Requisition is to be created.
    I implemented Exit 'EXIT_SAPMM61X_001' in the following manner by passing MRP controller to user_key.
      IF mt61d-dispo <> user_key.
        no_planning = 'X'.
      ENDIF.
    But as you can see that this will not meet my client requirement.
    If any of you has worked on similar requirement / if any one knows that this is achievable or not,
    please share your inputs.

    Moved from SAP ERP Sales and Distribution (SAP SD) to ABAP Development
    G. Lakshmipathi

  • Types of special G/L transactions and their relationship to the GL

    Dear all,
    I don't understand about the difference between three types of special GL transaction ( Free offsetting entry, statistical offsetting entry, and Noted items ) and their relationship to the GL.
    Please tell me about accounting entries, accounting process per type and give me some detail examples per type to use in system SAP
    guide me step by step
    and tell me how to configure it
    Thank in advance
    Minh

    Hi,
    Please make Down Payment request and then make Down Payment then make Invoice and then clear the Down Payment. If any balance is left over make incoming payment through F-28 and here u need to select the downpayment document also.
    If no incoming payment is there u use F-03 and clear the documents manually.
    Regards
    balaji

  • Separate document no. for SD revision document and detagging relationship between invoice and SD document no.

    HI,
    Country specific settings for India - Business transactions enables SD revision vide table TE872_SDCTRL_IND.
    Whenever SD revision takes place system issue similar document no. as that of invoice and tagged it with XBLNR as per standard process.
    Now issue that if that invoice is reversed, subsequent SD also gets reversed.
    So business requires to have separate document no. for SD revision document and detagged relationship between invoice and SD document no.
    I have explored event R507, 0010, 0060 and R436 but couldn't find input structure where such separate document can be assigned.
    So can you provide hint which can assist in issue resolution?
    Regards,
    Paresh

    Check this thread, if this helps.
    [url] Link between MKPF table and EKKO or RBKP table [url]
    I've done this as well earlier to create a custom document flow for archived documents where from the EBELN i've found all the related documents. Hope this helps.

  • TDS DEDUCTING TWICE AT THE TIME OF ADVANCE POSTING AND AT THE TIME OF INVOg

    HI ALL
    I HAVE AN ISSUE TDS DEDUCTING TWICE AT THE TIME OF ADVANCE POSTING AND AT THE TIME OF INVOICE POSTING
    AT THE TIME OF ADVANCE POSTING F-48
    ENTRY IS
    VENDOR     DR     30000
    BANK          CR     2900
    TDS          CR     300
    AT THE TIME OF INVOICE POSTING-FB60
    THE ENTRY IS
    EXPENSE     DR     30000
    VENDOR     CR     29700
    TDS          CR     300
    SO TDS HAS BEEN DEDUCTED TWO TIMES
    AT THE TIME OF DOWN PAYMENT CLEARING u2013F-54
    THE INVOICE ENTRY SHOULD BE REVERSED AS
    VENDOR     DR     29700
    TDS          DR     300
    VENDOR SPL CR      30000
    BUT IT IS NOT REVERSING WHILE CLEARING DOWN PAYMENT AT F-54
    FOR THIS I MADE THE CONFIGURATION FOR DOWN PAYMENT IN WITH HOLDING TAX TYPE FOR PAYMENT.HERE I ACTIVATED u201CCENTRAL INVOICE PROu201D
    THOUGH IT IS NOT REVERSING THE ENTRY OF INVOICE POSTING AT THE TIME OF DOWN PAYMENT CLEARING AT F-54.
    SO WHAT COULD BE THE PROBLE . IF YOU KNOW PLEASE TELL ME THE SOLUTION
    I WILL BE GREATE THANKS TO YOU
    REGARDS
    RAM

    Hi All
    I Have an issue with TDS.
    At the time of down payment clearing th invoice amount is not reversing..what are the settings I need to check
    Actually
    At the time of Advance Posting the entry is----
    VENDOR     DR     30000
    BANK          CR     2900
    TDS          CR     300
    At the time of Invoice Posting  theentry is -
    EXPENSE     DR     30000
    VENDOR     CR     29700
    TDS          CR     300
    At the time of Down Payment Clearing  in t code F-54 the invoice entry should be reversed as -
    VENDOR     DR     29700
    TDS          DR     300
    VENDOR SPL CR      30000
    But system not reversing while clearing down payment in t code F-54 and the system posting entry is as----
    VENDOR DR 30000
    VENDOR SPL   30000
    So what is the mistaken has been done by me .If you any idea please let me know. I will be thankful to you.
    Thanks&Regards
    Ram

  • Purchase Order Allowed to Modify After Material Posting and Invoice

    Hi Experts,
    Why do SAP allows the scenario to change the Purchase Order once Material Document is posted and Invoice is Created unlik Sales Order? Do we have any business scenarios reagarding allowing the PO change?
    Thanks for the Clarification. Hopefully I will be enlightened by SAP's behavior in the Purchasing Process.

    Hi Cecilio,
    PO is changable even after GR and IR has been completed. If the invoice has been received or the goods have been paid for, and your intended change affects the price, the change will be ineffective.
    Please refer to the Online documentation, MM Purchasing -> Purchase Orders -> Changing, Cancelling, and Blocking Purchase Orders.
    Also if you want to delete the PO, when all the procurement process is finished, it must be possible to delete the PO item for archiving purpose for example.
    You can see the on-line help on that matter:
    "You cancel items in a purchase order by deleting them. Please note that an item may only be deleted if it is closed (that is
    to say , there is no outstanding quantity to be delivered or invoiced). Items are regarded as closed if, for example:
    · the ordered quantity (or more) has already been delivered
    · the ordered quantity has been invoiced in full
    · no related follow-on processes (such as reservations) are active
      in the stystem."
    Hope this can help
    Regards,
    Mauro

  • System allows GRs to be reversed after invoices have posted and clear

    Users have noticed that it is possible to post a GR, post and clear and Invoice, then reverse the GRs, which is an audibility problem. Previously (possibly before upgrade to ECC 6) this was not possible.Is there any configuration available to change this behavior, or  is it a standard SAP in ECC 6, or if there are unapplied OSS notes that would fix the issue.
    I checked transaction code OMBZ and the movement type 102, 106, 122, and 162 do not have a check on them.
    Is there another way of preventing the Goods Receipts to be reversed after invoices have been posted and cleared?
    Thanks,

    System allows GRs to be reversed after invoices have posted and clear
    Users have noticed that it is possible to post a GR, post and clear and Invoice, then reverse the GRs, which is an audibility problem. Previously (possibly before upgrade to ECC 6) this was not possible.Is there any configuration available to change this behavior, or is it a standard SAP in ECC 6, or if there are unapplied OSS notes that would fix the issue.
    I checked transaction code OMBZ and the movement type 102, 106, 122, and 162 do not have a check on them.
    I also checked the "GR based IV" in the PO item details, inoive tab and that is not checked.
    Invoice have been posted and cleared and now the GRs are reversing them, how to prevent this from happening. Is there a config. solution???
    Thanks,

  • Static and dynamic Relationships in PI 7.0

    Hi,
    We are trying to implement Static and Dynanic relationships in PI7.0 or PI7.1. I would like to know if any component in PI will support this functionality?
    Your Help is appreciated!!!

    HI Venkat
    What exactly you are trying to achieve let us know. This is not clear
    Both PI version have lots of similarity and even they can work together in a single environment. But whats your requirement based on that we can help you.
    Thanks
    Gaurav

  • Do any of you experience Im having with my ipad? I can't make a comment in Facebook for older posts and I can't open numerous comments from old posts of my friends. but everything works perfectly when I use laptop. is there problem between apple and FB?

    do any of you experience Im having with my ipad? I can't make a comment in Facebook for older posts and I can't open numerous comments from old posts of my friends. but everything works perfectly when I use my laptop(non-apple). is there problem between apple and FB?

    Facebook apparently has their site coded poorly for tablets with touch screens. Try using the Facebook app. It is not perfect either but it is better than view in a browser lately.

Maybe you are looking for