Skip to Content
Author's profile photo Former Member

File Open Dialog Box in SAP B1 application

Hi All,

i ‘m trying to open dialog box which give me the option to attach multiple files in sap b1 application.

i have two main problem:

1. when i’m runing my addon in debug mode on visual studio enviorment dialog box windows apears on top of sap application as require. but when i’m installing my new addon in sap b1 and run it dialog box apears behind of my sap application . my main code is :

MainCode.png

Hi,

Please repost above discussion at SDK forum for quick reply.

Thanks.

continue…..

i need to press alt+tab to present dialog box before sap b1 application but i want it to be on top from the begining (i tried to use form.TopMost command but itn didn’t help) exactly when happen when i’m runing my addon through visual studio enviorment.

2. when i’m trying to upload few times different files (press browse button each time to attach other files) the system some time “stuck”  for a few minutes and the acreen freeze. why it’s taking the dialog screen too much time until it’s pop up? The user get be crazy from it.

i will appreciate to get your answers regarding my two questions.

do you know how to reprot it in SDK Forum too?

This document was generated from the following discussion: File Open Dialog Box in SAP B1 application

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Kali Charan
      Kali Charan

      Hi, Heli Swissa


      I am also faced this type of problem.

      You want to attach a file from your local desktop this is your requirement

      Two options are avaiable as per my knowledge.

      1)Open dialog

      2)Is sap b1 core option.

          ie. Actaully in sap b1 different type of udf are avaiable like

             alphanumeric. , amount, price, and also one more type is also available .

            ie. attachemnt  u just create a fiel type of atachemnt.

           if u press the mouse on this filed automatically it will asks u upload the file...


      Author's profile photo Rasmus Wulff Jensen
      Rasmus Wulff Jensen

      A system with Open File Dialog that work all the time can be done like this:

      https://dl.dropboxusercontent.com/u/2294871/OpenFileDialog.cs

      Author's profile photo Former Member
      Former Member

      error 404 :/