Hi Sigrid, is there a detailed document on what each custom FM does and the guideline to use it?
For example /WINSHTLQ/WFM_MAT_EXTEND
Original Message:
Sent: 10-14-2024 14:54
From: Sigrid Kok
Subject: Useful list of BAPI for Material Creation/Update and BP Creation/Update via Winshuttle?
Hi Nart,
We add custom Function Modules for a few reasons:
- we remote-enable FM's which are not remote-enabled by default, and thus can be called from Direct
- a FM doesn't exist for that functionality
- by customer request
Hope that helps,
Sigrid
------------------------------
Sigrid Kok
Precisely Software Inc.
Original Message:
Sent: 07-18-2024 00:56
From: Nart Paksamut
Subject: Useful list of BAPI for Material Creation/Update and BP Creation/Update via Winshuttle?
Hi Sigrid, thank you :)
Regarding on point 1. Could you please advise what's the different between the value in 'BAPI name'?
I see that there are 2 list for BAPI_MATERIAL_SAVEDATA with the 'BAPI name' of NfmStandardMaterial and StandardMaterial.
1.

2.

------------------------------
Best Regards,
Nart
Original Message:
Sent: 06-20-2024 18:26
From: Sigrid Kok
Subject: Useful list of BAPI for Material Creation/Update and BP Creation/Update via Winshuttle?
Hi Nart
I'm fond of saying BAPIs are older than dirt, which is an overstatement, but they have been around a very long time and don't really change much.
The recording Jayasri shared is still very relevant.
From your list:
1.Material creation/update (MM01, MM02) - Jayasri shared BAPI_MATERIAL_SAVEDATA, which is correct. You can recreate and extend materials with it, and it works in both ECC and S4.
2.BP creation (customer,supplier,contact person) (BP) - in S4 there are not many BAPIs. The ones with BUPA, as Jayasri pointed out. You can also search for some threads on the community where I talk about the rFM RFC_CVI_EI_INBOUND_MAIN, which was part of the migration cockpit, to create BPs.
3.Update Customer Text (BP) - We've already had a thread on this topic.
4.Create Sales List Price Condition ZP01/ZP02 (VK11, VK12) - VK11 and VK12 are recordable, so I haven't looked for a BAPI for this one. I typically do a Google search to find them.
5.Contract creation/update (ME31K, ME32K) - BAPI_CONTRACT_CREATE will create purchasing contracts. There is also BAPI_CONTRACT_CHANGE and BAPI_CONTRACT_GETDETAIL.
6.Material Determination (VB11, VB12) - ditto to #4
7.Customer Material Info Records (VD51, VD52) - ditto to #4.
8.Purchase Info Records (ME11, ME12) - I haven't found one for this.
Hope that fills some of the gaps. If you find good BAPIs/rFMs for some of the above, please share with the community. :)
Best Regards,
Sigrid
------------------------------
Sigrid Kok
Precisely Software Inc.
Original Message:
Sent: 06-19-2024 02:35
From: Nart Paksamut
Subject: Useful list of BAPI for Material Creation/Update and BP Creation/Update via Winshuttle?
Hi Jayasri,
Thank you. I have gone through these, but they are pretty outdated (2021). Is there a more up-to-date guide?
------------------------------
Best Regards,
Nart
Original Message:
Sent: 06-17-2024 09:06
From: Jayasri Varyani
Subject: Useful list of BAPI for Material Creation/Update and BP Creation/Update via Winshuttle?
If you have not already seen these training videos, I highly recommend spending some time learning about DIRECT here: https://preciselyu.precisely.com/studio-do-more-with-studio-sap-with-bapis
------------------------------
Jayasri Varyani
SE
Precisely Software Inc.
Original Message:
Sent: 06-17-2024 08:54
From: Jayasri Varyani
Subject: Useful list of BAPI for Material Creation/Update and BP Creation/Update via Winshuttle?
For Material Creation, Updates and Extensions, the best one is BAPI_MATERIAL_SAVEDATA
There is an example in the Template library to add units of measure - https://community.precisely.com/viewdocument/add-or-update-alternate-units-of-me?CommunityKey=e1f0c200-ca7e-46e7-b5c7-01855e5120c7&tab=librarydocuments
Business Partner BAPIs usually start with BAPI_BUPA* ...Below is a snapshot from SE37 search.

------------------------------
Jayasri Varyani
SE
Precisely Software Inc.
Original Message:
Sent: 06-17-2024 00:00
From: Nart Paksamut
Subject: Useful list of BAPI for Material Creation/Update and BP Creation/Update via Winshuttle?
Hi,
I am learning how to use BAPI via Winshuttle. Could you please advise which BAPI are useful for Material Creation/Update and BP Creation/Update?
Normal/GUI most used script that I have:
1.Material creation/update (MM01, MM02)
2.BP creation (customer,supplier,contact person) (BP)
3.Update Customer Text (BP)
4.Create Sales List Price Condition ZP01/ZP02 (VK11, VK12)
5.Contract creation/update (ME31K, ME32K)
6.Material Determination (VB11, VB12)
7.Customer Material Info Records (VD51, VD52)
8.Purchase Info Records (ME11, ME12)
------------------------------
Best Regards,
Nart
------------------------------