APPLICANT NUMBER to be fetched MAIL ID, and Work Order related to PRPS/PROJ

Hi Everyone,
I am working on Project systems module, ABAP development, 
Please help in the below issue.
In table PRPS/PROJ, ASTNA and ASTNR is applicant number and Applicant.
For the Applicant number and applicant how can I find the mail id. For this even I dont find any check table.
And how Work Order (AUFNR) table is related to PRPS and PROJ tables
Please give me the key fields to match Work Order (AUFNR) to (WBS Element) PRPS and PROJ.
What are the key fields for PRPS/PROJ   ASTNA (applicant number) field to Mail id?
Please let me know, its very urgent.
Points will be rewarded for early response.
Thanks,

Thanks Nimish,
SELECT pbo.*   
       ,msib.inventory_item_id   
FROM XXMEL_PVS_BSH_ORDER pbo   
,    mtl_system_items_b msib   
WHERE 1=1   
AND msib.segment1 = pbo.material   
AND msib.organization_id = 26   
AND to_char(pbo.import_batch_id) IN (select regexp_substr (txt, '[^:]+', 1, level) data
                                      from (select v_import_batch txt
                                            from dual) t
                                      CONNECT BY level <= length (txt) - length (replace (txt, ':')) + 1);
The code worked fine, I just had to change the  '[^,]+' to '[^:]+' as the parameter that comes in from APEX is a : separated value '[^:].
Thanks
Chris

Similar Messages

  • Issue with Cost center in PO and Work Order

    Dear Expert,
    I am facing an issue with respect to cost center in Purchase Order and Work Order. The PO is made against a work order. There are two cost center associated with the work order. One is updated under u201CAdditional datau201D field and other is at u201Clocationu201D . So the cost center in PO should essentially be the same one mentioned under u2018locationu2019 field of work order. So the issue here is that while creating PO, the cost center is picked from the u201Cadditional datau201D field of work order not from u2018locationu2019 field of WO.
    Is there any exit available that needs to be implemented for overriding the cost center in PO or any other way of solving this problem?
    Thanks in advance.
    Thanks
    Deba

    Hi,
    I guess that there is already some user exit or enhancement in place, since this doesn't sound like standard SAP (picking the cost data from additional data, or even having it there).
    Mario

  • How are contract and service order related....urgent

    Hi all
    I am ABAP consultant...
    I am working on Service contract Cost Management threshold alert report...
    I want clear idea as to how are contract and service order related....
    BAsed on contract type and contract start and ,end date,sold to party....
    i need to get contract ,item , service order no: , and i have to calculate <b>INTERNAL ,EXTERNAL LABOUR, INTERNAL,EXTERNAL material COST</b>
    plz help me out...
    Thanks in advance,
    Madhavi.

    Dear Madhavi,
    http://www.erpgenie.com/abap/tables_sd.htm
    VBFA Sales Document Flow
    KONV Conditions for Transaction Data
    KONP Conditions for Items
    LIKP Delivery Header Data
    LIPS Delivery: Item data
    VBAK Sales Document: Header Data
    VBAP Sales Document: Item Data
    VBBE Sales Requirements: Individual Records
    VBEH Schedule line history
    VBEP Sales Document: Schedule Line Data
    VBLB Sales document: Release order data
    VBLK SD Document: Delivery Note Header
    VBPA Sales Document: Partner
    VBRK Billing: Header Data
    VBRP Billing: Item Data
    VBUK Sales Document: Header Status and Administrative Data
    VBUP Sales Document: Item Status
    VEKP Handling Unit - Header Table
    VEPO Packing: Handling Unit Item (Contents)
    VEPVG Delivery Due Index
    Also, go through:
    http://www.erpgenie.com/abap/tables.htm
    Regards,
    Naveen.

  • What are the costs we collect in maintenance order  and work order

    what are the costs we collect in maintenance order  and work order
    is work order and maintenance order differeent or same

    Usually the main costs of maintenance are the spare parts and labour. And these are the costs we would like to track per maintenance job from a maintenance management perspective. There could also be cases where other costs such as travel to place where the equipment is might be required to be collected in the maintenance order.
    In SAP there is no term called work order. But loosely the term is sometimes used for maintenance or service order. Probably even production orders also.
    thanks
    Bala

  • User status for Notification and Work order

    We generate Service Notification IW26. I have already configured user status like PMND (Planning order not done), AWOP (Awaiting ordered parts) etc. in the Work order a while ago. Now the user wants same User status to the Notification as well. I like to know from experts what is the value added to have the same user status for both Notification and Work Order?
    Do you have any suggestions?

    Hey Chandra,
    The customer intent behind this requirement must be to check in reporting / List Display Transaction about the Order Status. If they want to know looking at a Pending Notification List about the Order Status, you can always provide similar report using SAP Query Builder or with help of your Developer.
    Apart from that If the Requirement is to have these User Statuses in Notification itself, Please advice them that it will be extra activity while performing transaction.
    I dont see any other benefit of having User Statuses added to Notification as well.
    Do let me know if you have some more info on Why Customer is requesting this....
    Regards,
    Avi

  • Relation between Purchase Order and Work Order Tables

    Hi,
    I am trying to create a Func Module as following.
    Input : Purchase Order Number, Material Number and Item Number. (Either Item Number or Material Number shall be entered. Output a message if both are blank).
    Out put : PO Number, Line item Number, Status of the PO, Material Number / Equipment Number, Work Order Number, Work Center and Cost Center, Person responsible from Work Center.
    Is there any link between EKKO, EKPO and AUFK, AFPO?
    Can you please help me. or suggest if there is any other way I can do this.
    Thanks in advance.
    Hanuma

    Pls let me close this.

  • Payment Card Information with Material Groups and Work Orders

    When processing purchase transactions that were purchased using a payment card, standard functionality in SAP says the system automatically generates a parked document with authorized users allowed to post these documents. When these documents are being posted, does anyone know if the user can enter a material group and/or a work order number for reporting purposes?

    >
    Monique Stephens wrote:
    > Training is not the issue.  Material groups are a matter of personal preference.
    >
    > My main concern is if it would be a violation of SOX if the material group is changed from the original shopping cart on the PO itself.
    >
    >
    > Monique
    If your business is privately held then SOX does not apply to you. If your business has stock w/shareholders then it does.
    Correcting or making the material group more accurite is something that would be MORE SOX complient and not a violation.

  • Table Link between the Functional Location and work order

    Hi Gurus,
    I am stuck in a big problem and have to find a way to list down the work order with a specific user status in the system. I am trying to link it based on the functional location as the inputs will have to be functional location and the date. Can any one guide me with the tables to link these two???
    Thanks in advance
    Anoop

    Hi,
    Depending on your exact requirement, you might be able to select from view VIAUFKST_IFLOS. This would allow selection based on order, functional location and various dates. The field IPHAS will give you some system status information - value will indicate which status the order has reached. Example value = 3 indicates order is technically completed.
    To get the exact system status (or user status) you need to read the JEST table. Read this table by OBJNR. The object number will have the format OR005000123456 (where 5000123456 is the order number). It will be available in the order tables.
    Status values in JEST are in the internal format - example I0002 = REL. Check transaction BS23 to see the link. User status values will have the format E0002. If INACT flag is set in a jest record then that status value is not active. If you want to check for a specific status value then call function STATUS_READ.
    -Paul

  • Sales order and Production order relation

    i hav a requirement to display list of production order against each sales order....VBAP table has field AUFNR  but i do not find any entry in this field....
    is  there anyway to determine the production order number for the particular sales order......?

    Hi,
    Check Table AFPO
    KDAUF is the SO Number
    You can even check this link
    Production order and sales order can be made by using the KDAUF KDPOS fields of AUFK or AFPO and linking them to VBELN and POSNR of VBAP.
    Regards,
    Satish

  • Make item to create Purchase Requisition and Work Order

    I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? Thanks

    Ajith_Kz; Consultant wrote:
    I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? ThanksI guess it can't be done..when u say u created a purchase req?i was just wondering how did the system let u to create a POR when you say it is a make item?
    HTH
    Mahendra

  • Customizing catalog profiles in  notification and work orders

    Hi all,
    I have been trying to figure out two problems:
    1- I would like to add one more catalog code to notification; therefore, there will be object part, damage, cause and activity. I would like to make this like a picture posted below. Catalogs in tab is not feasible and easy to enter.
    2- Is it possible to show all catalogs (object-damage-cause-activity) in work order tab? There are only two catalogs and I would like to add two more.
    Regards,
    Selçuk - Maintenance Planner

    Hi Selcuk,
    1. This is a standard screen area (015), which can not be modified.
    So you need to go fro screen-Exit to have a screen area with Activity fields under this one. Obviously Coding will be done in PBO and PAI to input values of the Z-fields to the real activity fields of the table (VIQMMA).
    Screen-Exit in Enhancement QQMA0001 will help.
    2. Similarly, for Order issue too you need to take help of Enhancement (Screen-Exits) IWO10018.
    Both jobs will be deep technical jobs.
    I do not see alternative ways other than developments for these requirements.
    Regards
    Jogeswara Rao K

  • Delivery and Sales Order Relation

    Hello friends I need to show this data on report output.
    Delivery note # (LIKP-VBELN)
    Shipment # (if applicable) VTTK-TKNUM
    Material (LIPS-MATNR)
    Quantity (LIPS-LFIMG)
    Bill of Lading (LIKP-BOLNR)
    Means of TransType (LIKP-TRATY)
    Sales Order # (VBAK-VBELN)
    Sold to Party (VBAK-KUNNR)
    Customer PO # (VBAK-BSTNK)
    The selection criteria should be:
    Delivery note # (LIKP-VBELN)
    Sales Doc Type (VBAK-AUART)  Please default KB
    Created on (LIKP-ERDAT)
    Sold to Party (VBAK-KUNNR or LIKP-KUNAG…whatever you want)
    Sales Org (LIKP-VKORG)
    I am unable to find a link between LIKP and VBAK, please help me regarding the same.
    Thanks

    Hi
    Join the tables LIPS and VBAP as below
    LIPS-VGBEL = VBAP-VBELN  (VBAK-VBELN)
    LIPS-VGPOS = VBAP-POSNR.
    join the VBAKm VBAP with VBELN field and LIKP and LIPS with VBELN field
    To get the shipment number join LIKP-VBELN  = VTTP-VBELN
    VTTP is shipment Item and VTTK is shipment Header (both can be joined using TKNUM field)
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Needs to stop mail going through work-flow related to Leave of Absence & se

    While running transactions Pa20/pa30..if it runs for Leave of absence with 5 as reason & separation with 5 as reason then the mail is going to employess due to work-floas it goes to all other actions & reasons.But we want to stop it for above mentioned only.How can we change logic in work-flow for this

    0000 infotype(actions) run with any reason like separation or long term disabilitymeans
    in Actions infotype the both are reasons right are your sure whether these are Actions reasons or action type ?
    In that case identify the Code Related to MASSN which is is acton type feild name and action reason is MASSG
    and deactivate for those two action type that will suffice the requirement right

  • IDocs for Notification and Work Order messages to third party software

    Dear all,
    Our client have a third party software in which he intends to manage the Notifications for PM. Now he wants that, when the Notification is created into SAP, the Notification number from SAP to be sent to the third-party software. Also, from the WO created from the Notification, to the third party software have to be sent the WO number and the status of the WO and, each time the status of the WO is changed, the new status have to be sent to the third party software, until the status of the WO is TECO.
    Please, can you help me, I am totally uninitiated of the IDocs and I don't know if there are some standard IDocs that can be used for this and how to manage them.
    Thank you very much for your help.
    Kind regards,
    Sorin

    Hi Sorin, 
    There are idoc types INOTIF and IORDER available but please refer to SAP note 812542 which states that the recommended way of transferring the data to third party software is to make use of the available BAPIs. Please note, the mentioned idocs will not benefit from future developments, but they
    will still be  supported in their current state. 
    However, please refer to the existing PM BAPIs in transaction BAPI. Specifically BAPI_ALM_ORDER_GET_DETAIL and BAPI_ALM_NOTIF_GET_DETAIL can be used to read
    data from the order and notifications. This data can then be exported in a way that suits your requirements.
    I hope this helps,
    Siobhan

  • Purchase document and service order relation table

    Hi All,
    I am trying to enhance one datasource is there any relation we have for the purchase document and the service order?
    Could you please let  me know
    Thanks
    Srini

    EKPO and ESSR is the relation betqwwen the Purchase order and the service entry/orders.
    Regards
    Srini

Maybe you are looking for