web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Apps + SAP Conne...
Power Apps
Answered

Power Apps + SAP Connector BAPI + Approvals

(0) ShareShare
ReportReport
Posted on by 12

Hi All,

I am new to PowerApps and designed one app to post document (BAPI_ACC_DOCUMENT_POST) data back into SAP. 

here are some steps I followed:

I have few mandatory fields to be entered on screen like : 

Company code, Cost center, Customer and required details in Gallery and post to SAP using BAPI through power automate. 

For Each Combo box .i.e. Company code, cost center, customer it trigger power automate flow to bring data to power app . I have written on select method for this combo boxes. There are total 6-7 combo boxes available. 

Once I enter All my details on power app , I can post the document into SAP. 

 

Now my tough part is to handle approvals. There are 2 level approvers . 

1. Manager

2. Officer

 

1.Requestor fill the form and submit the form. It should navigate to manager with form Disabled including all data entered by requestor . once Manager review the data he can approve or reject. Here difficult part is, I don't have unique key to use in Deep linking while sending mail to Manager. how he can see the submitted form in disabled mode with all the filled data from the manager email ? 

 

2. once Manager approved the form, For officer, Form should be disabled except only posting date should be enabled along with one button called Post to SAP. once he enter posting date & Click Post to SAP button , it call the power automate flow and post the document. 

 

Please try to help me to achieve 1 & 2. Note : I have implemented all my app in single screen. 

 

Thanks,

Deepu.

 

 

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey! Why dont you create an approval through Power Automate? It should be easier. 

    You create the item in SP (only my advice), send the approval with the link to the item, and manager can approve

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

  • Deepu961856 Profile Picture
    12 on at

    @Nogueira1306 

    Thank you for your response.  

    can you please elaborate more on the steps .. 

    Currently I am sending email from power automate Send Mail v2 but if I open the link from it , it is opening blank form. 

    let me know the steps to achieve ? 

    I can understand from your reply that I need to store my form data in share point list and use the list item in email? Is my understanding correct ? 

     

  • Verified answer
    Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    1. Create a list in SP (use the same fields + 1 "Status". Status should be a choice: Approved, Pending, Not approved)
    2. Add the form to your app and remove the Status Card

    3. Use PA automate to create and wait for a teams approval.

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

  • Deepu961856 Profile Picture
    12 on at

    @Nogueira1306 

    Thank you for your quick response. 

     

    1. Create a list in SP (use the same fields + 1 "Status". Status should be a choice: Approved, Pending, Not approved)

    --- I create list in SP and update the list with my all required info.
    2. Add the form to your app and remove the Status Card

    --- I am missing your point here. Do you telling me that add SP list to for new screen in my existing app ? 

    lets assume 3 people submitted the form and 3 requestors has 3 different managers . 

    Once I connect my SP list to new screen in the same app, it show all the data from the list. how can I generate unique link from PA automate while sending teams approval ?

    3. Use PA automate to create and wait for a teams approval

    --- I understand this.

  • Deepu961856 Profile Picture
    12 on at

    Hi @Nogueira1306 

    Followed same approach as of now. Thank you for your inputs.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard