Skip to Content

BAPI to check if SAP Permit is issued

Hi All,

I have the below scenario, please guide if any standard bapi exists and if not- then how can i proceed to create a z bapi.

I want to create a notification for equipment from external system (hence, i found out that i need to use following bapi's- BAPI_ALM_NOTIF_CREATE and then BAPI_ALM_NOTIF_SAVE). If SAP Permit is issued and within validity then i dont want to create a notification else want to create a notification. Please guide how can we check SAP Permit in this case.

Thanking You All,

Regards

Ruchir

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 21, 2015 at 10:57 AM

    Hi,

    Try Functional moduleĀ  PM_SP_ISSUE_POST .

    Regards

    Vivek

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2015 at 11:48 AM

    Ruchir

    What object(s) do you want to check in SAP for permit assignments?

    Function module PERMITS_FOR_OBJECT looks promising, but you'd need to wrap in another RFC enabled function module.

    PeteA

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 29, 2015 at 04:35 AM

    I have WCD document -work clearance doc. and have status maintained for it- like ELP, CWP etc and approval provided..

    I want to check the approval status for same and provided it is within the valid date range.

    Please guide if any std bapi can help me for the same else please guide me with the table / fields so that i can create z bapi..

    Input like - equipment, date range.. it checks the status for approval.. and returns yes/no to the same.

    Add comment
    10|10000 characters needed characters exceeded