Function modules for open quantity
Hi Experts,
I am having requirement,i have to calculate the open quantity for particular item in the range of dates like 01/02/2008 to 28/02/2008 and 05/03/2008 to 05/04/2008(depending on the user input).
I have searched function modules:
MONTHS_BETWEEN_TWO_DATES
FIMA_DAYS_BETWEEN_TWO_DATES
Please suggest me,Which of this function modules suits for my requirement?
Is there any bapi for calculating open quantity for particular period of time?
Regards,
Bharath.
Hi ,
Open Qty of particular item ? is that PO or SO?...
regards
Prabhu
Similar Messages
-
Function Module for open Purchase Order & Sales Order?
Hi, commonly I read the data from tables and calculate the open quantity for sales order and purchase order, but I want to know, are there any standard function modules for getting the list of open "purchase order" and "sales order" respectively?
Thanks and Regards.hi Ren,
u can check all these bapi's related to salesorder
BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
BAPI_SALESORDER_CONFIRMDELVRY Sales Order: Confirmation of Delivery; Document Flow Update
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer
BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
May be this FM can help you
MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
Regards,
Naveen -
Function module for open sales order and open PO
hi all,
can anyone please tell me that is there any function module to get open sale order and also for open purchase order?
regards saurabh.Hi ,
In EKPO Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and Qty.
Both Tables having Purchase Document no , So Purchase Doucment no throguh u will get the Material and qty , Finally u Subract the both Material Qty's .
u will get the Open Po For particular Material.
If ur not getting ,Inform me .
Regards ,
Shankar GJ -
Function module for Open Sales Orders.
Can u any one tell me is there any standard function module to
retrieve OPEN-SALES orders. I tried to debug VA05 but not of use...
Thanks in advance,
Sanjay.hi
you can get open sales orders from vbuk and vbup
SELECT
A~VBELN
A~GBSTK
B~GBSTA FROM VBUK AS A
INNER JOIN VBUP AS B
ON AVBELN = BVBELN INTO TABLE T_OPENS
FOR ALL ENTRIES IN T_VBELN WHERE A~VBELN = T_VBELN-VBELN
AND A~GBSTK IN ('A','B')
AND B~GBSTA IN ('A','B').
in t_vebeln table is haveing sales orders by user selection you can get it like this
regards,
varma -
Function module for Opening Balance day wise
Hi,
I am preparing vendor ledger report for day wise .
For example : i/p fields are : Lifnr , Budat,Bukrs
O/p fields are : Opening balance ( Before the date of lifnr Closing balance ).
Debit
Credit
Closing Balance ( Opening balance + D/C).
For this Opening balance i require the function module .
Please help me .
Regards
Nandan.Hi,
My requirement is Vendor balance Report according to Posting date wise.
o/p fields are
blart budat augdt belnr openingbalance ClosingBalance Credit Debit
Credit is when schkz is 'H'.
Debit is when schkz is 'S'.
Closing Balance = Opening Balance + Credit / Debit
Regards
Nandan. -
FUnction Module For OPen Reservation
Dear All,
CAn you give me details of a fuction module which will return me details of open reservation items.
deepakHi ,
In EKPO Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and Qty.
Both Tables having Purchase Document no , So Purchase Doucment no throguh u will get the Material and qty , Finally u Subract the both Material Qty's .
u will get the Open Po For particular Material.
If ur not getting ,Inform me .
Regards ,
Shankar GJ -
Function module for GL account open items at a key date
Is there a function module for "GL account open items at a key date" similar to following for customer and vendor accounts?
BAPI_AR_ACC_GETOPENITEMS Customer account open items at a key date
BAPI_AP_ACC_GETOPENITEMS Vendor account open items at a key date
If not, please suggest any alternatives. I am looking to capture the output of FBL3N (GL account line item display) in a program.
Thank you in advance.
Prasanna Pujarihi,
please go through the below link i think it will help u.
http://sapfunctional.com/FI/GL/Balance.
Regard
Abhishek Tripathi -
Function Module for GL Open Items
Could any body from forum tell me that "there is any Function Module for General Ledge open Items".
Rgds,
Rajuuser exit F1040001 can be found in SMOD...and this is for
Reserve for bad debt - calculate percentages
This is only one available for FBL3N.
Regards,
Velumani -
Function Module for GL open Itmes
Could any body from forum tell me that "there is any Function Module for General Ledge open Items".
Rgds,
RajuTry the below FMs
BAPI_AR_ACC_GETOPENITEMS --> Customer account open items at a key date
BAPI_AP_ACC_GETOPENITEMS --> Vendor Account Open Items at a Key Date
Hope this helps.
Thanks
Balaji -
Function module for background jobs email
hi abaper's
i hace to create a function module for background jobs this function module have to send an email automatically when a background job is assigned or processed in background.
thnks n regards
pardeep kumarhi dear
open this site
https://weblogs.sdn.sap.com/pub/wlg/781. [original link is broken] [original link is broken] [original link is broken]
<removed by moderator>
Edited by: Mike Pokraka on Aug 8, 2008 12:48 PM -
Creation of function module for updating the ztable
Hi,
I am sending the requirement for ceation of function module for updating the ztable.
Requirement----
Table Updation rule (New record)
While creating a new record the calling function will export the following to the table handling function.
Table field Probable Values
ZORDERNO-------> Sales Delivery no in case of sales orderShipment no in case of transfer order
UNAME----
> User ID
ZORDTYPE----
> SALEOR in case of sales orderTRANSF in case of transfer order
ZREFDOCNO----
>Sales Order no in case of sales orderPurchase Order no in case of transfer order
ZREFDOCNO1----
>Delivery no in case of transfer order
The table handling function will calculate the following fields
Table field Probable Values
ZREQNO----
>Running serial number (incremented by 1 for each new record)
ZREQDAT -
>System date
ZREQTIME----
> System time
ZSTATUS----
>OPEN (for all new records)
Before inserting a new record the table handling function will always check if a previous record exists for the same order / shipment no. if record exists the function will not insert a new record.
Table Updation rule (Status Update)
While updating a record the calling function will export the following to the table handling function.
Table field Probable Values
ZORDERNO----
>Sales order no in case of sales orderShipment no in case of transfer order
ZSTATUS----
>CANCEL if cancellation successfulERROR if cancellation not possible (order already processed)
The table handling function will calculate the following fields
Table field Probable Values
ZSTATDAT----
>System date
ZSTATTIME----
> System timeDo you have to create/update new record in Ztable through Function Module ?
or you need to write FM only for validation?
Any how, you need to create a Program with Input values for the fields of Ztable, and for rest of fields the Value can be calculated based on input as per your requirement.
Let me know clearly what exactly u need ?
Regards,
Kiran -
Function Module for Opnning Balance
Hello All,
Is there any Function Module for getting Openning Balance of Customer and Vendor on a particuler Date.
Point Assured.
Thanks & Regards,
Message was edited by:
SAPLOVERHi
Check the fun module
K_CO_OBJECT_BALANCE_GET
use the tables BSID and BSAD to get the Customer Opening Balances
and BSIK and BSAK for the Vendor opening Balances
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Function Module for putting Flat File into Application Server
Hi Pals,
what is the Function module for putting my flatfile into application server..
because i dont have authorizations to put my flatfile into application server directly..
I know one function mudule is there for that ...so, can you suggest me.. what is the function module... for that..
thanks.. and points will be assigned..
chittiHi,
well normally you use the method GUI_UPLOAD of class CL_GUI_FRONTEND_SERVICES to upload a file from your client pc. Then you use the abap statements open dataset, transfer and close dataset to put the file to the app-server.
kind regards
Siggi -
BAPI Function Module for SCM APO Tcode /SAPAPO/AC42
Hi,
I want to know the BAPI Function Modules for SCM APO Tcode /SAPAPO/AC42.
This BAPI FM should return the column values "Remaining Prod Alloc" and "Incoming Order Quantity" when we give
below details as inputs for the Tcode /SAPAPO/AC42
Product Allocation Group
Product
Allocation Procedure
prod Alloc step
Product Alloc Object (Characteristics of Product Alloc Group)
Plant (Characteristics of Product Alloc Group)
Customer Group 5 (Characteristics of Product Alloc Group)
Reward points if helpful.
Thanks,
MichHi,
You should be able to get the information using the standard BAPI (Assuming you are using SCM5.0) BAPI_APOPAL_INSERT in the transaction BAPI.
ProductAllocationAPO.DataInsert
Interface to Import Product Allocation Data Functionality
This method is used to adopt data from OLTP systems for product allocation in the global availability check.
You can do the following using the method:
Adopt new data
You can adopt new characteristics combinations or new time series. Newly created characteristics combinations have the status Active and are therefore included in the product allocation check.
Change existing data
You can overwrite existing data if you have set the interface parameter ALLOW_UPDATE. You can set the status of existing characteristics combinations to Active if you set the interface parameter UPDATE_STATUS. If the characteristics combination does not exist, the system creates it.
The product allocation quantity is overwritten for existing time series. If you also want to change the incoming orders quantity, you must set the interface parameter UPDATE_INCOMING_ORDER_QTY. If the time series does not exist, the system creates it.
Prerequisite
To be able to use this method, you must have made all the Customizing settings for product allocation. For more information, see the Implementation Guide (IMG) for SAP APO under Global Available-to-Promise -> Product Allocation.
Regards
Vinod -
BAPI Function Module for SCM APO Trans code /SAPAPO/AC42
Hi,
Is there any BAPI Function Modules for SCM APO Tcode /SAPAPO/AC42.
This BAPI FM should return the column values "Remaining Prod Alloc" and "Incoming Order Quantity" when we give
below details as inputs for the Tcode /SAPAPO/AC42
Product Allocation Group
Product
Allocation Procedure
prod Alloc step
Product Alloc Object (Characteristics of Product Alloc Group)
Plant (Characteristics of Product Alloc Group)
Customer Group 5 (Characteristics of Product Alloc Group)
Reward points if helpful.
Thanks,
MichHi,
You should be able to get the information using the standard BAPI (Assuming you are using SCM5.0) BAPI_APOPAL_INSERT in the transaction BAPI.
ProductAllocationAPO.DataInsert
Interface to Import Product Allocation Data Functionality
This method is used to adopt data from OLTP systems for product allocation in the global availability check.
You can do the following using the method:
Adopt new data
You can adopt new characteristics combinations or new time series. Newly created characteristics combinations have the status Active and are therefore included in the product allocation check.
Change existing data
You can overwrite existing data if you have set the interface parameter ALLOW_UPDATE. You can set the status of existing characteristics combinations to Active if you set the interface parameter UPDATE_STATUS. If the characteristics combination does not exist, the system creates it.
The product allocation quantity is overwritten for existing time series. If you also want to change the incoming orders quantity, you must set the interface parameter UPDATE_INCOMING_ORDER_QTY. If the time series does not exist, the system creates it.
Prerequisite
To be able to use this method, you must have made all the Customizing settings for product allocation. For more information, see the Implementation Guide (IMG) for SAP APO under Global Available-to-Promise -> Product Allocation.
Regards
Vinod
Maybe you are looking for
-
Domain\User Name is not able to connect to Database
We have a service account and we want to run the report using the service account. Users will be accessing the report using their windows authentication, while on connecting to data source service account needs to be used. We have added the service
-
How to pull stars for SSN field in PA30 screen
Hi all, When user display the Employee Personal Details (0002) using PA30. I have to display the SSN field with stars. ex: If original SSN is 123 45 6789 I have to display it as *** ** 6789 Thanks in advance
-
How to transfer shopping cart attachment to PO in SRM5.0
We ahve a requirement to transfer all shopping cart attachments to the follow on Purchase order in R3. We have a classic inplementation and are using SRM 5.0 system. Is there some configuration or BADIs in SRM-EBP that I can enable to transfer shoppi
-
How to reverse the Depreciation for the excess amount posted?
Hi Gurus, We have uploaded the data last month from legacy system to SAP as below. The Fiscal year is Jan - Dec and gone live on June 28th 2009. Accumulated Depreciation was taken till Dec 2008. Ordinary Depreciation was taken from Jan 2009 to June 2
-
"The feature you are trying to use is on a networkresource that is unavailable" this is what comes up when i try to update my computer to version 11.0.4 of itunes please help Computer is a pc