cancel
Showing results for 
Search instead for 
Did you mean: 

How to open the Internal Reconciliation Screen in SAP B1 for a particular BP

leon_laikan
Participant
0 Kudos

Hi,

To manually reconcile a BP account, I have to open the Internal Reconciliation screen in SAP B1.

I can do this from the SAP Menu:

     Modules -> Business Partners -> Internal Reconciliations -> Reconciliation

Then I select the BP I need.

See the picture below.

By enabling System Information, I find that this form has the following coordinates:

   Form = 120060805 Item = 12000039  Pane = 0 etc

The particular BP Code is LV10003.

------

I wish to know whether, by using SDK I can open the Internal Reconciliation screen for a specified BP.

We certainly need to specify the Form ID and the BP Code.

How can this be done?

Thanks

Leon Lai

------------

Accepted Solutions (1)

Accepted Solutions (1)

maik_delly
Active Contributor
0 Kudos

Hi Leon,

I don't think there is an "easy" way to accomplish waht you are trying.

What you can do :

Simulate UI behaviour ( open BP  -> press link -> press button on account balance form)

regards,

Maik

leon_laikan
Participant
0 Kudos

Hi Maik,

Thanks a lot for your reply. I will try to use your idea. It will not be easy as you say.But..let's try.

Let me propose some way to implement it.

I'll use the foll. code to open the Business Partner Master Data Screen (see pic):

  SBO_Application.ActivateMenuItem("2561")

Suppose I have a grid (or matrix) in which all BP Codes are listed.

Say, on a given row, I have LV10003 as code.

Can I use Sendkey to send LV10003 to the screen?

How can I do that? I cannot use Ctrl+C and Ctrl+V here?

Maybe I will have to decompose the code into individual characters and send them one by one?

Do you have an idea?

Then I'll use Sendkey to Send {ENTER}.

Once I have opened the BP Master for LV10003, I can complete the remaining steps you suggested (by manual clicking ... that's not too much a problem! ... unless there's a way to mechanize)

Best Regards

Leon Lai

---------------

maik_delly
Active Contributor
0 Kudos

Hi Leon,

just use :


SBO_Application.OpenForm(SAPbouiCOM.BoFormObjectEnum.fo_BusinessPartner, "", myCardCode);

to open the BP of your choice.

regards,

Maik

leon_laikan
Participant
0 Kudos

Hi Maik

Your code is magic!

Works wonderfully!

Won't need Sendkey!

Best Regards

Leon Lai

----------------------

PS

On second thoughts, do you still think it is impossible to open directly the Reconciliation screen with a BP code attached?

Answers (0)