Function module for finding sales order GT total value(vbak-netwr)
Can anyone tell which function module is used to find the Sales order greater than the input parameter which is total value(vbak-netwr).Output should be the details of sales order satisfying the condition.ie greater than the total value.
Hi chandra
I hope you are giving the logic to the ABAP'ers . By giving the input and the outputs. So here , VBAK-NETWR are related to functional consultants .
Based on the requirement , SD,FI etc the give the logic but mostly it is related to SD consultants only
Reagrds
Srinath
Similar Messages
-
Urjent-Any function module for finding Sales order, Delivery and Invoic
Hi Experts,
I am having selection screen like
Sales order
Delivery
Invoice
Customer
If i give sales order
Delivery and Invoice should pull
If i give delivery
sales order and Invoice should pull
If i give Invoice
sales order and delivery should pull
If i give customer
all customer related data should pull
Do we have any function modules to meet this reqirement?
If we have please provide function modules.
Thanks,
mahe
Edited by: Rob Burbank on Mar 30, 2009 4:17 PM
Edited by: mahahe on Mar 31, 2009 9:12 PMYou can use VBFA table, right? in the FM also, you can find the same logic, like pulling from VBFA table.
thanq -
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 -
BAPI or Function Module to find Sales Order's of a Sales Group through Employee
Dear Experts,
Is there any BAPI / FM to find out the sales order's belonging to an sales group to which an sales employee is assigned, by providing that sales employee id as input ?
If not, what is the logic that we should go through to get that details ? What tables should be connected (like VBAK) to get those details ?
Thanks and Regards,
Seeker.Dear Seeker,
1) Configuration (SPRO)
a) Goto transaction code SPRO > Sales and Distribution > Sales > Lists > Set Updating Of Partner Index
b) Insert transaction group (TrG) = 0 and partner function (Funct) = PE
2) Create sales order with sales employee
3) Use FM RV_SALES_DOCUMENT_VIEW_3 (see below), you may get the result from table POSTAB.
VBCOM-VKORG = <Sales Org>
VBCOM-VTWEG = <Dist Channel>
VBCOM-SPART = <Division>
VBCOM-PARVW = 'AF'
VBCOM-KUNDE = <Sales Employee>
VBCOM-AUDAT = <From Date>
VBCOM-AUDAT_BIS = <To Date>
VBCOM-TRVOG = '0'
VBCOM-VBALL = 'X'
VBCOM-STAT_DAZU = 'X'
VBCOM-NAME_DAZU = 'X'
SELTAB-KTEXT = 'VKGRP'
SELTAB-VONSL = <sales grp>
SELTAB-BISSL = <sales grp>
SELTAB-STEPL = '1'
BSTKD_FLAG = 'X'
CALL FUNCTION 'RV_SALES_DOCUMENT_VIEW_3'
EXPORTING
VBCOM = VBCOM
KONV_FLAG = KONV_FLAG
BSTKD_FLAG = BSTKD_FLAG
IMPORTING
TIME = REFE
TABLES
LVBMTV = POSTAB
LSELTAB = SELTAB.
Thanks
Hock Lin -
Function Module to Find Actual costs and Total Cost Commitments
Hi PS Experts ,
Please let me know if there is any function module to find Acutal costs and Total cost commitments by passing WBS element as Input .
Regards,
KaranHi Karan,
I think for actual cost - there is definately one FM availbale. Try to find it out.
Just ensure - if you are using Network Activity then you may have to pass NWA OBJNR into this FM to get actual cost. As some entry posting happens against NWA like Timesheet. Hope it will give you some idea to get rid on your issue. -
Function module to get Sales Order classification.
Hello everyone,
Can someone give me a function module to get Sales Order classification? Really appreciate it.Hi
Check the following BAPI's:
BAPI_OBJCL_GETDETAIL
BAPI_OBJCL_CHANGE
or use the fun module:
CLAF_CLASSIFICATION_OF_OBJECTS.
Reward points if useful
Regards
Anji -
FM to find sales order Characteristic Classification Value
Hi friends,
Iam having a requirement where I have to find Sales Order Characteristic Classification Value.
Here is the Path from where I have to get that detail.
sales order tcode va03 --> item detail : configuration --> Character Description --> Charcater Value
I need to fetch this character value to classify my Sales Order in programming.
With Regards
Bhaskarif you call function module VC_I_GET_CONFIGURATION, with the value VBAP-CUOBJ for the sales order line item in parameter INSTANCE, all characteristic descriptions and values will be returned in table parameter CONFIGURATION
-
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 reteriving Purchase order values
hi,
I there any function module for reteriving the Purchase order Valuesbetter to put ur logic /requirement on table EKKOEKPOEKBE.
Regards
Prabhu -
Function module for finding number of records in table
Do we have any function module to find number of records in a table?
Thanks,
Shwetause the EM_GET_NUMBER_OF_ENTRIES. You just have to write your table name into the input table IT_TABLES in the TABNAME field
-
Function module for Create service order with reference to sales doc (RAS )
Hi All,
I have to create a service order (type SM03) with reference to sales document (doc type RAS, in other way it is called as repair order).
I have used function module 'ALM_ME_ORDER_CREATE' && 'CO_ZV_ORDER_POST' to create service order and its working fine but problem is that i am not able to create linking between repair order and service order.
Can anyone suggest me function module, BAPI to create service order with reference as sales document (RAS) so that all related details of sales document will automatically reflect to service order..
SumitTry this function module BAPI_ORDER_MAINTAIN. Just search with BAPI_ORDER* in SE37 you will get some more functions.
Regards
Kathirvel -
Function Module to get sales order number
Hi,
In a custom program I am giving Material number and Plant as input in VBAP to find the Sales Order number. However this step is taking long time to execute and so getting dump with time out error.
Please let me know whether there is any Function Module in which we can input Material and plant and get the Sales Order Number.
RegardsHi,
Rather than searching for a FM, you can get a small report developed to look up for VBAP for a given material, plant.
Ensure that this report is always run in background. Also consider giving other parameters for faster processing like date range etc..
Regards,
RS. -
BAPI/Function Module for posting internal order + cost center plan
Hi Guru:
Is there any function module/BAPI, which could be used to post internal order + cost center( both of them )plan data?
Like post a record:
internal order = 10000
cost center = C1000
amount = 1000$
for plann version 30?
It seems the BAPI could only contain 1 cost object, either cost center or internal order.
Thanks.
EricHi again,
I think you may have missed something important here. In R/3 there can only be a single "real" cost object for any one posting. If not then the whole SAP financail model would collapse as there would be "double postings" and that is certainly not wanted.
If there is a need to post to two cost objects, like in your case, then one of the cost objects MUST be statistical.
In your scenario SAP has thought of a solution that might be of help for you. An internal order can be set to be statistical in master data. When posting to both the cost center and the internal order then you will get a real posting for the CC and a statisitical posting for the IO. Reporting does work with this as per your requirement.
Hope this gives you some hints for how to proceed.
Regards, Johan
Aaaaah. Noted that this was only plan data. Sorry. But the same still applies for plan data postings as well as for actual data postings. If there should be just one posting that could be "drilled down" from IO to CC -> If you post twice then, when doing "Grand total" for instance, double values would appear. So, still IO should be statistical. //Johan
Message was edited by: Johan von Reedtz -
Function module for display production order details
Hi All,
I want to display production order details including operation,sub-operations and components using standard FM.I checked 4 FMs, but some are not displaying my require details. I found PM_ORDER_DATA_READ function module, it is displaying all details.But you can execute the function module 2 times for different orders it is giving ABAP dump 'itab_error'. Please get back to me if any one faced this problem or know solution.I am also checked BAPI_ALM_ORDER_GETDETAIL FM.
My require fields are
AUFNR, WERKS, PLNAL, PLNFL, VORNR,UVORN, ARBPL, KTSCH,
LTXA1,OFFSTB,VGW01 etc.
I am using SAP 4.7 release. Please send me either standard FM or BAPI to display all details of production order.
Thanks in Advance
Shaik BashaHi,
I had the same problem this morning and I found out a FM you have to run to fix this problem.
FM: CO_IT_SET_FLG_ITAB_NEW
Rgds,
Parise
Maybe you are looking for
-
BT usb Dongle won't support headsets?
I just purchased a Motorola PC850 (usb BT adaptor). It's suppose to have A2DP so I thought it would work with my Plantronics 590A. If I check headset in the devices for the BT setup the next screen says "Bluetooth hardware won't support headsets". Bu
-
I'm new with NWDI and CE 7.1.1. I am studying the tutorial "How to Perform Development with a Track", from the on-line help in NWDS. Everything is OK until I have to create the first DC, whose type is Java. According to the tutorial, I insert in the
-
What's the best way to transfer (not forward) a call from one iPhone to another?
What's the best way to transfer (not forward) a call from one iPhone to another? Is there an app available that does this? I'm asking about receiving a call, then transferring that caller to another iPhone on a separate number and then disconnecting
-
I'm using version 15.0.1. How can I get these options to work? I searched for this question and found an answer was previously offered which was to uninstall the Ask toolbar due to incompatibility. I checked for this and I don't have it.
-
I am not able to update my calendar or reminders. I've looked at other iPhones and they have a + button to allow you to update. How do I fix this. Also, Siri also does not update the reminders or calendar. Please help