A function/BAPI for co09
hi guys:
A report need to show all of the matieral ATP qty by using storage location and plant as key. the resoult needs same as the result of CO09
is there a fuction or BAPI can be uesd.
many thanks
Chris
Hi,
Use the Bapi 'BAPI_MATERIAL_AVAILABILITY'.
Check the sample code
DATA: iwmdvsx TYPE TABLE OF bapiwmdvs WITH HEADER LINE,
iwmdvex TYPE TABLE OF bapiwmdve WITH HEADER LINE.
DATA: r TYPE bapireturn, " Check it once.
FQty TYPE MENGV13.
LOOP AT it_out.
CALL FUNCTION 'BAPI_MATERIAL_AVAILABILITY'
EXPORTING
plant = 'HIP' "p_werks
material = it_out-matnr "p_matnr
unit = 'EA' "p_meins
stge_loc = 'BSR'
IMPORTING
return = r
TABLES
wmdvsx = iwmdvsx
wmdvex = iwmdvex.
IF r-type is initial OR r-type = 'S'.
LOOP AT iwmdvex.
FQty = FQty + iwmdvex-com_qty.
ENDLOOP.
it_out-free_qty = FQty.
MODIFY it_out TRANSPORTING free_qty WHERE matnr = it_out-matnr.
modify it_out.
FQty = 0.
ENDIF.
REFRESH iwmdvex.
CLEAR: it_out.
REFRESH iwmdvsx.
ENDLOOP.
Regards,
Raj.
Similar Messages
-
RFC FUNCTION/BAPI for derived Roles (PFCG)
Hi all,
I have found many RFC functions for Users and Roles management but nothing for create derived roles.
Any idea for creating derived roles from external applications ?
Thanks
AndreaHi Andrea,
check the link below.
automate update profiles by abap (without PFCG)
Re: automate update profiles by abap (without PFCG) ?
Also check if this is helpful
BAPI_JOBROLE_CLONE
Regards,
SuryaD. -
Function modules or BAPI for posting plan costs for WBS Element
Hi all,
Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
Greetingscheck
BAPI_COSTACTPLN_POSTACTINPUT Activity Input Planning: Posting
BAPI_COSTACTPLN_POSTACTOUTPUT Activity/Price Planning: Posting
BAPI_COSTACTPLN_POSTKEYFIGURE Stat. Key Figure Planning: Postings
BAPI_COSTACTPLN_POSTPRIMCOST Primary Cost Planning: Postings
BAPI_PDTRANSCO_POSTPRIMCOST Transfer of Planning Data: Post Primary Costs
K40C CO Actual Postings, Manual
BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
BAPI_COPAACTUALS_POSTCOSTDATA BAPI Operating Concern: Post Costing-Based Actua
BAPI_PRIM_COST_CHECK_AND_POST Primary Costs: Formal Parameter Check
S@meer -
BAPI/Function module for production version tab data of MRP4 view(MM01).
Hi,
I have to upload production version tab data of MRP4 view(MM01).Please suggest a function moduleor bapi for the same.
Thanks.
Edited by: sanu debu on May 6, 2009 3:24 PM>
sanu debu wrote:
> Hi,
> I have to upload production version tab data of MRP4 view(MM01).Please suggest a function moduleor bapi for the same.
>
> Thanks.
>
> Edited by: sanu debu on May 6, 2009 3:24 PM
BAPI_MATERIAL_SAVEDATA can be used, populate the respective fields in input parameter PLANTDATA -
Function Module / BAPI for Inbound Delivery from Purchase Order
Hi,
I need to create an inbound delivery from Purchase Order items and am looking out for some Function Module or BAPI for the same.
The requirement is that i should be able to specify selected line items from PO for delivery.
I tried the BDC method for VL31N , but the particular item selection is problem, since by default it shows all the items of PO and i want only selected items.
Do reply.
Thanks in advance.check these and their documentations.
BAPI_INB_DELIVERY_CHANGE Change inbound delivery
BAPI_INB_DELIVERY_CONFIRM_DEC BAPI for inbound delivery verification from a decentralized system
BAPI_INB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Inbound Deliveries
Regards
Prabhu -
I am trying to find a function module or BAPI for internal order change. I
I am trying to find a function module or BAPI for internal order change. I did come across a function module ALE_INTERNALORDER_DB_CHANGE which directly updates the internal order using insert statements. Can i use this for internal order change or this is any other Function module for updating the internal order.
I dont want to use BDC as a option. Please suggest.This is possible using the Rotator Component Widget from Infosemantics.com.au but it is only compatible with SWF output, not HTML5.
Go to this page and scroll down to the video tutorials about the Rotator Component widget:
http://www.infosemantics.com.au/adobe-captivate/youtube-video-tutorials -
Standard BAPI or Function Module for FB01posting
Hi Experts,
My requirement is as follows.
Invoice details would be sent across from Middleware to SAP and for which I have developed a Custom Remote Enabled Function Module. The Function Module needs to post the data using FB01 Transaction.
I had planned for recording a BDC for FB01 and post the data, however, we are on the verge of getting upgraded from 4.7 to ECC 6.0. To avoid problems that we might face for change of screens in ECC 6.0, I would prefer using a BAPI or Function Module for FB01 posting, if available, instead of BDC.
Data coming from Middleware are as follows.
HEADER:
BKPF-BLDAT : Document Date
BKPF-BUDAT : Posting Date
BKPF-XBLNR: Reference (Invoice#)
BKPF-BLART : Document Type
BKPF-BUKRS : Company Code
BKPF-BKTXT : DocHeader Text
BKPF-WAERS : Currency
LINE ITEM:
BSEG-LIFNR : Vendor no
BSEG-WRBTR - Total amt -Debit/Credit -Vendor
BSEG-ZUONR : Assignment field
BSEG-EMPFB : Alternative Payee
BSEG-UZAWE : Payment Method Supplement
BSEG-ZTERM : Pmt terms
BSEG-KOSTL : Costcenter
BSEG-HKONT : GL AccountNumber
BSEG-WRBTR : Amount for GL
BSEG-SGTXT : Line item text
The Vendor Line Item would be one where as GL line items could me more than one.
Can any of you suggest me a standard BAPI or Func Mod?
Points will be awarded for valuable inputs.
Thanks to all!!!!You can use RFBIBL00 program for FB01 postings. Go through the program help on how to use this program.
This program requires a file to be on application server in a certain format.
You may also refer the program RFBIBLT0 on how the file format should be.
Hope this helps.
Thanks,
SKJ -
Bapi or function module for Tcode F-54
Hi,
I need Bapi or Function moudle for tcode F-54. I am developing interfaces. I have to clear the the advance amount against an invoice.
Regards,
Dhanunjaya Reddy.Hi,
Check the below userexits
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment) -
Function Module / BAPI for reprinting a production order
Does anyone know a Function Module to do a production order re-print? Not an original, just a copy.
Thanks,
--Amy Smith
--HaworthThanks Kevin,
Been there. Couldn't find anything. Doing a BDC for testing.
Looks like you have to do a Production Order change. So maybe is a BAPI for that.
I'll post what we find in this thread...
--Amy Smith
--Haworth -
Function Module/BAPI for Posting with Residual Clearing
Hello All,
I want to know whether any Function Module/BAPI avaialble for posting with residual clearing (FB05). Can we do residual clearing using the FM "Posting_Interface_Clearing"?
Please let me know how this can be handled.
Thanks in advance.
With Regards,
Senthil.Hi senthil ,
Look at these threads
POSTING_INTERFACE_CLEARING
bapi for Transfer posting with clearing
BAPI_ACC_GL_POSTING_POST for FB05
Question about POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_START
Regards,
Gaurav -
Function module / BAPI for FBL3N?
Hi there,
I am looking for a function module or BAPI which let me select the line items for a G/L account for a given company code and a year.
I want to read the amount of all possible combinations of account and cost center because a non-sap-system needs this values.
Do you have any idea which function module I can use. It should have at least these importing-parameters (similar to the transaction FBL3N):
- company code
- account
- cost center (if possible, FBL3N hasn't such a select-option)
- period / date (if possible)
Thank for your help and I wish you a merry x-mas
Greetings.
JetGumJens,
Just go to transaction BAPI in SAP and there you will get all sorts of function modules for document search, post, etc. It is a very useful transaction to be known.
Regards,
Vishal Thakur. -
Function Module/BAPI for Meter Reading Entry(EL28)
Hi Experts,
Can anyone tell me about BAPI/Function Module for EL28(Meter Reading Entry).Standard FM is preferable.
Thanks & Regards,
Radharaman Haldar
Moderator note - Thread locked, no research.
Edited by: William Eastman on Mar 8, 2011 5:17 PMISU_VALIDATION_DEPENDENT & ISU_DETERMINE_VALIDATION.
The above two function module is used for the validation of Plausible or Implausible meter reading. -
Function module/BAPI for executing VD51/VD52 transactions
Hi
Warm greetings to all,
I require a function module/BAPI for executing VD51/VD52 transactions. Can anyone help on this
SreekanthHi Sreekanth,
Use this.
There is an FM which is used by standard transaction
'RV_CUSTOMER_MATERIAL_UPDATE' .
Ex Code -
CALL FUNCTION 'RV_CUSTOMER_MATERIAL_UPDATE'
IN UPDATE TASK
TABLES
XKNMT_TAB = XKNMT
YKNMT_TAB = YKNMT
TCATALOG_TAB = LT_CATALOG.
commit work.
Regards,
Vijay -
Function Module / BAPI for Creating Material freight Group
Hi All,
Can anyone tell me the Function Module / Bapi for creating material freight group.
Regards,
Raj.Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
So you can use BAPI for mm02 and mm01
For Ex:
BAPI_MATERIAL_SAVEDATA
Hope this helps -
Function module / BAPI for FBRA IN 3.1 VERSION?
Hello all,
Could you please suggest Function module / BAPI for FBRA (Reverse and cancel) transaction in 3.1 version.
Thanks,
SubbaPlease check this FM perhaps it may help.
CALL_FB08
REVERSE_CLEARING
RESET_CLEARED_ITEMS_BDC_WRITE.
Regards
Kiran Sure
Maybe you are looking for
-
I have a PowerBook G4 that is about 5 years old. It was working fine yesterday and then all of a sudden nothing seemed to work. It will turn on normally, I can see my desktop, on the surface all appears as it should. But my dock has disappeared and n
-
Excel 2010 cannot complete this task... Error in a shared spreeadsheet
The layout A server in an office connects 5 computers running windows 7 and using MS office plus 2010(32bit) and 1 computer running XP using MS office plus 2007(32bit), they are all 64bit OS's besides xp. They share many spreadsheets that are opene
-
Does the warranty cover the power adapter?
Lately my power adapter's light has been cutting in and out. Tonight I noticed it's frayed where the cable meets the input of the adapter. I'm wondering if the adapter is covered under Apple's warranty. I have Apple Care. Furthermore, the battery als
-
What to look for when purchasing a new heatsink and fan?
I bought a Phenom II 970 and its fantastic, but the stock cooling system seems to be very loud and really not get much done. I dont like it at all, but before I spend more money on newegg or at my local computer parts store, what should I look for i
-
BT Mobile showing as Vodafone, voicemail button not working
Anyone managed to get a BT Mobile sim working fully with an iPhone? Mine is showing as Vodafone - not an issue it itself - but I've had to enter the 3G data details manually, plus the Voicemail button in the Phone app calls the Vodafone one rather th