BAPI for displaying stock
hi,
Is there a bapi/FM which gives us the stock of a material on a particular date.
Satish
Hi Satish,
Sorry, it will give the requirement... you can try the following ...
For Materials (MARD-MATNR) selected above, Plant (MARD-WERKS) = Input Plant and Storage Location (MARD-LGORT) NOT EQUAL TO RT01, determine all the un-restricted quantities (MARD-LABST) and Stock in Inspection (MARD-INSME). Sum up all the quantities. Let the sum be equal to ST.
For Posting date (MKPF-BUDAT) = current date, determine all the Material documents (MKPF-MBLNR).
For Documents (MSEG-MBLNR) determined above, Materials (MSEG-MATNR) selected above, Storage Location (MSEG- LGORT) NOT EQUAL RT01, Movement type (MSEG-BWART) NOT EQUAL to 321, Debit / Credit indicator (MSEG-SHKZG) = H pick up all the quantities (MSEG-MENGE). Sum up all the quantities. Let the sum be equal to H.
Similarly, For Documents (MSEG-MBLNR) determined above, Materials (MSEG-MATNR) selected above, Storage Location (MSEG- LGORT) NOT EQUAL RT01 Movement type (MSEG-BWART) NOT EQUAL to 321, Debit / Credit indicator (MSEG-SHKZG) = S pick up all the quantities (MSEG-MENGE). Sum up all the quantities. Let the sum be equal to S.
Then On date Stock (Un-restricted + QI) = ST + H S
Thanks and Regards,
Bharat Kumar Reddy.V
Similar Messages
-
LSMW BAPI for Initial Stock (561)
Hi all,
I've done LSMW for initial stock (movement type 561) using BAPI method:
Business object = BUS2017
Method = CREATEFROMDATA
Message Type = MBGMCR
Basic Type = MBGMCR03
LSMW works well but the result shows material document with only one item.
How can I generate material document from LSMW BAPI with many items within?
Thanks in advance.
PeerasitTry Another option as below
Make bdc for MB1C stock upload using movement type 561 by recording through transaction SHDB.
Regards,
Sandesh Sawant -
BAPI for displaying data of standard tables
Dear All,
Could anybody tell me the name for BAPI to display data in standard tables
i.e. import : table name and
fields
Output : table entries ( data in those tables )
thanks.........why dont u write ur own code for tht
in the selection screen take the name of table now use a field symbol to create an internal table of type tht table now use select query to get the data -
BAPI for Displaying all deliveries based on SalesArea
Dear Experts,
i want to display all the details of all deliveries based on SalesArea, but i couldn't found any BAPI for that, Plz tell me the BAPI name for my requirement
Thanks in advanceHi Eswara,
I hope you are fine.......
Even I need bapi which can read all delivery data.
In CRM I only have delivery number as follow up of sales order. so need to get all delivery data in CRM.
If there is any Bapi then we can call it remotely and get all data in CRM.
If you have any bapi please suggest.
Thanks in advance,
Dhanraj -
BAPI for displaying and updating table KOTG001?
Please suggest what BAPIs to use.
Henninghi ,
u dont have any bapis for updatign specific tables
bapis are generally used for updating a transaction i mean number of tables
where is the use of the tables u can search bapis in transaction bapi
and where are the tables used i guess in fi/co so u can search under them
regards
afzal -
BAPI for Equipment Stock Info Maintenance
Hello,
Transaction for maintenance of the Equipment master data (IE02) contains tab named "SerData" where it is possible to specify serial number and Stock information. I need to assign Sales Order No./ Position to the Equipment during it's creation. But the interface of the FM BAPI_EQUI_CREATE or BAPI_EQUI_CHANGE does not contain these parameters.
Is there a way I can do this using BAPI?
Points will be rewarded for help, of course.
Thank you in advance
Best regards,
MaksimSantosh,
We generate a large number of work orders using the OrderMaintain method of BAPI_ALM_ORDER_MAINTAIN. We have exposed it to a .NET front end through a web service and this seems to work well for us. As Pete said, your requirements are rather brief but if you look at this function module it might help you.
Note: This and other related BAPIs were first available in 4.7 and I think are standard beyond that but can't say for sure.
Bob Stanza -
Function module/BAPI for closing stock
Hi,
is there is any function module or BAPI available for calculating closing stock & openign stock of
material that should be match with MB5B transaction.
Thanks & Regards,
Anagha DeshmukhHi Anagha,
Did you get any solution for this ?
If you do please let me know becaues I am also having the same rquirement.
Thanks,
kalikonda. -
BAPI for displaying materian/description/Bin storage/ qty based on producti
Hii All,
please gv which bapi we use to display Bin storage, Material n qty based on production order number
its very urgentHi,
You can try with user exit MWMBAP02
<b>Reward points</b>
Regards -
BAPI for creation Stock transfer oder
Hello Gurus
Is there a BAPI to create a Stock transfer order( UB - within the company code )?
regards
mohammedHi,
You Use this BAPI_OUTB_DELIVERY_CREATE_STO and also check the BAPI_PO_CREATE1 with adding Logic check with your Abaper he may help you. -
BAPI for Getting details of outbound delivery or VL03N
Hi,
Can any one tell me whether there is a BAPI for display of outbound delivery.
Can any one help me?
thanks.Hi,
Why do you need BAPI for displaying the delivery?
Below 2 lines of code is enough.
SET PARAMETER ID 'VL' FIELD 'delivery number'.
CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
Thanks,
Vinod. -
I am using MK02 for loading partners for a vendor, but i have various problems when there are some partners created, does anybody knows any function for loading them?
thanks in advanceHai
BAPI_BUSPARTNER_CHANGE IS-H: BAPI BusPartner.Change - Change Business Partner
BAPI_BUSPARTNER_CREATE IS-H: BAPI BusPartner.Create - Create Business Partner
BAPI_ISUPARTNER_CHANGE BAPI for Changing Business Partner
BAPI_ISUPARTNER_CREATEFROMDATA BAPI for Creating a Business Partner
BAPI_ISUPARTNER_GETDETAIL BAPI for Displaying a Business Partner
BAPI_ISUPARTNER_GETLIST BAPI: generates list of business partners
Regards
Sreenivasulu P -
Bapi for MMBE or any stock report
Hello Gurus,
Can anybody know BAPI /Function module for displaying current material/plant stock (Batch managed/Non-batch managed)?
Also it should show material with stock types in storage locations.
Thanks
Anil KumarDear Anil,
You can check the functional modules for the package related to stock overview MMBE,using t Code SE37.
also check the reports,LX03 or LX04.
http://wiki.sdn.sap.com/wiki/display/ERPLO/SAP%20Standard%20Reports
Regards
Mangalraj.S -
Problem in BAPI for stock posting from quality inspection to unrestricted usage
Hi all,
I am using BAPI_GOODSMVT_CREATE for stock posting from quality inspection to unrestricted usage Stock against quality inspection lot(not by MB1B) using mvt type 321.The material doc gets created by the BAPI,but actual stock posting is not taking place ie.the stock doesn’t get reflected in QA33/32 and QA11 also .Can any one suggest what must be wrong?The inputs given are as follows:
GOODSMVT_HEADER:
PSTNG_DATE =30/07/2014, DOC_DATE = 30/07/2014, REF_DOC_NO = INSP LOT NO.
GOODSMVT_CODE:
GM_CODE: ‘04’ .
GOODSMVT_ITEM:
MATERIAL = MATERIAL NO
PLANT = PLANTCODE
STGE_LOC = ‘WIP’
BATCH = BATCHNO
MOVE_TYPE = ‘321’
ENTRY_QNT = 100
ENTRY_UOM = ‘EA’
ORDERID = Prd ord no.
After executing this I used BAPI_TRANSACTION_COMMIT also. I am able to see the posted qty in MMBE,but it is not reflecting in QA11/33/32.
Kindly help me.Hi Naveen,
Thanks for the reply. Even after using FM QAVE_PROCESS_AUTO_UD,when i execute
BAPI_GOODSMVT_CREATE, the same thing is happening.I am unable to see the stock deducted in QA33.
Is there any input in the goods mvt bapi where we can provide inspection lot no since i believe that the goods mvt has to get connected with the inspection lot. -
Hi Freinds,
I need to trigger the creation of a stock from a BAPI.
So in MIGO i am using movement type 501 and type as Others.
I could see a bapi BAPI_GOODSMVT_CREATE for that .But in the checktable for the tcodes t158g , i could not find MIGO.So i doubt if i can use this BAPI for the creation of a stock.
Please let me know if there is a BAPI for the creation of stocks.
Thanks and Regards,
AnoopHello,
Use the belwo bapi.
BAPI_WHSE_TO_CREATE_STOCK
Reward if helps.
Thanks,
Krishna -
BAPI's for Transaction Manager: Is there any BAPI for Stock Options
Hi gurus,
We are using almost every BAPI for Transaction Manager module at FSCM-Treasury & Risk Management (ECC 6.0).
We have forex swaps, forex forwards, forex spot deals, interest rate swaps, cross currency swaps, equity swaps, and we also have a stock options plan.
We need to use a BAPI to automatically create stock options, importing data from other stock options alreaedy created (manually, by the user) in the system.
Do you know if there is any specific functionality for this?
Thanks in advance and kind regards.
BorjaHi Borja,
if I understand you correct then you want to create a stock option like you can do it manually with the transaction FWZZ. Try the BAPI BAPI_FP_CREATEFROMDATA. With this function module it is possible to create different types of securities like listed options or futures too.
Regards
Robert
Maybe you are looking for
-
My ipod 4 when i plug it to my pc Windows 7 had worked fine for 8 months then one day i plug it in and a message came USB device not recognized, i tried reset network settings and nothing i did not install any software before this happend i called ap
-
How to move a virtual disk's physical allocation within a Storage Pool
I have a pool of 3x500GB where one the physical drives is having intermittent issues. Currently, there is only one parity Virtual Disk of 300GB Fixed across 3 columns. I want to replace the bad drive with a good one. The old way (pre-2012) was replac
-
User status for Service Issue{for particular Sales order} in CRM
Hi Experts, I've an issue related to the User status in CRM. I've a Sales Order and I'm creating a service issue for it in CRM. For the service issue number has some user status and I want to know from where it is coming. Is there any configuration i
-
MacBook Pro is charging but will not turn on
Hi! So my laptop has been dead for about a day. I recently plugged in the charger for it to charge. There is an orange light that is on when I plug it in, and there are the green dots on the left side to show that it is indeed charging. Although when
-
MX won't display CSS in Design View
I built a site for a client using CSS for the layout. The client wants to do her own updates with Dreamweaver MX. We've found that the layout does not show in Design View, so she's doing minor updates in code view (which she's comfortable with). A se