Function Module for Bundled Items for a document in FS CD
Hi,
Is there an FM to get Bundled Items for a Document(tcode: FPE3) in FS-CD ?
Suitable points will be given if helpful..
Thanks
Prakash
I have a FI object to be generated so input screen variable are all FI fields. Now I have to connect this to the sales order. I can retrieve the GL account from the input given.
So now i need to find the billing document related to the GL account, which can be done through table BSEG. AS BSEG is a cluster table, at runtime it takes very long time to retrieve the data. So can u suggest me any other method to get billing document.
, like any Function module etc.
Similar Messages
-
Function module to get PPM for given product and/or location
Hi,
I want to check whether any PPM is existing for given product, location.which function module i can use for the same.There is a BAPI that might help - BAPI_PPMSRVAPS_GETLIST which has product and location selection criteria.
Regards
Laurence -
Table for line items for parked documents
Hello all,
Do anyone know what is the table for line items for parked documents(fbv3)?
Because I check bseg and these doc. aren't there.
Thanks a lot!Hi,
Please Check table "VBSEGS" you will get parked document ine items .please check below link it will clear...
Find tables for GLs on Parking Documents by FB60
Thanks in advance
Chakri -
Interest calculation only for open item for customers
Hi, do you know how to calculate Interest calculation only for open item for customers?I do not want to see cleared items. I have problem with customization.
Best Regards
TomIn the item interest calculation, you can tick the 'open items' for calculation of interest and also select the 'no cleared items'.
Regards -
Stored procedure in purchase order for duplicate item for a vendor
Hi all
I have written a stored procedure for duplicate item for vendor the output i need from this SP is whenever for a vendor we will raise purchase order the system should check that their shouldn't be any po in the system for the same item by the selected vendor. Its working fine when only one item is selected but it is behaving wrongly when more than one item is selected.
If (@object_type='22' and @transaction_type='A')
BEGIN
Declare @Vend as varchar(200)
Declare @ItemCode as varchar(200)
Select @Vend =CardCode From OPOR Where DocEntry = @list_of_cols_val_tab_del
Select @ItemCode=ItemCode From POR1 Where DocEntry=@list_of_cols_val_tab_del
IF 1 !=(Select Count(T0.DocEntry) From OPOR T0 Inner Join POR1 T1 On T0.DocEntry=T1.DocEntry Where T0.CardCode=@Vend and T1.ItemCode=@ItemCode)
Begin
select @error =1
select @error_message = 'Item Code Already Exists For This Vendor'
end
end
Thanks
Rashid.Hi Rashid,
Try this,
if @object_type = N'22' and @transaction_type in (N'A', N'U')
begin
declare @line1 int
declare @lin1 int
declare @out1 int
Set @out1 = 0
SET @lin1 = 0
Declare @Vend as varchar(200)
Declare @ItemCode as varchar(200)
Select @Vend = CardCode From OPOR Where DocEntry = @list_of_cols_val_tab_del
Select @line1 = Max (LineNum)FROM POR1 WHERE POR1.DocEntry = @list_of_cols_val_tab_del
While @lin1 < @line1
Begin
Select @ItemCode=ItemCode From POR1 Where DocEntry=@list_of_cols_val_tab_del and LineNum = @lin1
if (SELECT COUNT(T0.DocEntry) FROM POR1 T0 inner join OPOR T1 on T0.DocEntry = T1.DocEntry
WHERE T0.ItemCode = @ItemCode and T1.CardCode = @Vend)> 1
Begin
Set @Out1 = 1
Break;
END
Else
Begin
Set @lin1 = @lin1+1
Continue
END
END
Set @lin1 = @lin1 + 1
if @out1 = 1
begin
Set @error = 1
Set @error_message = 'Item Code in line ' + CONVERT(nvarchar(4), @lin1) + N'already Exists For This Vendor!'
End
END
Regards,
Bala -
Inserting Revision for Inventory Items for just one org
Hi,
When I inserted inventory items using API , I got a rev 000 by default. I need to add another revision (001) for all items for one of the organizations. Can you please tell me how to insert revision.
I am using Oracle 11i
Thanks
AaliRevision is controlled at the org level. So all you need to insert records in the mtl_item_revisions_interface and launch the "Import Items" program.
See http://techoracleapps.blogspot.com/2010/03/item-revision.html for sample code.
Hope this helps,
Sandeep Gandhi -
What are the function modules to create a follow on documents for SC
Could any one please tell me What are the function modules ( like PO , Preq ...) to create a follow on documents for Shopping Cart?
Thanks
MuraliMurali,
That depends on what scenario you've got implemented.
Classic scenario: FM BBP_REQREQ_TRANSFER
Extended classic: FM BBP_PD_PO_CREATE
Regards,
Franz -
Function module to get PRT for the operation in Maintenance Order
Hi,
Please tell me the function module to get PRT document for the all operation in Maintenance Order? and also tell me the FM to get all details of those PRT Docs so that I can Print those documents.
Thanks.Hi,
Please tell me the function module to get PRT document for the all operation in Maintenance Order in TCode IW31/32/33? and also tell me the Function Module to get all details of those PRT Documents so that I can take Print out of those documents.
Thanks,
Jay. -
Function module to find total for delivey for delivery no.
is there any function module to find total price for delivery no.
If you want to add tax, ... conditions, you could try to read conditions (good luck).
here it's a sample code for sales order (the table are different, but the function the same)
DATA : is_vbak TYPE vbak ,
is_vbap TYPE vbap .
* Check if the sales order exist.
SELECT SINGLE *
INTO is_vbak
FROM vbak
WHERE vbeln EQ vbeln.
IF sy-subrc NE space.
RAISE sales_order_unknown.
ENDIF.
* Check if the sales order item exist.
SELECT SINGLE *
INTO is_vbap
FROM vbap
WHERE vbeln EQ vbeln
AND posnr EQ posnr.
IF sy-subrc NE space.
RAISE sales_order_item_unknown.
ENDIF.
* Set data.
MOVE : is_vbak-mandt TO isg_komk-mandt ,
is_vbak-kalsm TO isg_komk-kalsm ,
is_vbak-fkara TO isg_komk-fkart ,
'V' TO isg_komk-kappl ,
is_vbak-waerk TO isg_komk-waerk ,
is_vbak-knumv TO isg_komk-knumv ,
is_vbak-vbtyp TO isg_komk-vbtyp ,
is_vbak-bukrs_vf TO isg_komk-bukrs ,
is_vbak-vbeln TO isg_komk-belnr ,
is_vbap-posnr TO isg_komp-kposn .
MOVE-CORRESPONDING : is_vbak TO isg_komk ,
is_vbap TO isg_komp.
* Get the KOMV table.
CALL FUNCTION 'RV_PRICE_PRINT_ITEM'
EXPORTING
comm_head_i = isg_komk
comm_item_i = isg_komp
TABLES
tkomv = itg_komv
tkomvd = itg_komvd.
* Get the 'Marge'.
CALL FUNCTION 'PRICING_BUILD_XKOMV'
EXPORTING
i_komk = isg_komk
i_komp = isg_komp
calculation_type = 'E'
TABLES
tkomv = itg_komv
e_xkomv = itg_komv2
EXCEPTIONS
OTHERS = 2. -
Function module to retain data for a given period.
Hi all,
This is my requirement:
I have a selection screen on which a specific number of months is entered. Using the FM 'FI_PERIOD_DETERMINE' and passing the current date to it, I'll be fetching the current fiscal year and fiscal period. I got to retain the data maintained in a custom table for that many number of months as is specified on the selection screen starting backwards from the current fiscal period obtained after the FM call. And thereby deleting all the data maintained in the same table prior to it.
Is there any function module to do so..... If not, kindly let me know the procedure to follow in order to obtain this requirements
Regards,
Jean Pearl D'souzaHi,
Use FM HR_GB_PERIOD_DATES
Payroll area is mandatry. -
Function modules (and the like) for testing Object Dependencies in PLM
Hi all,
I've created an upload program for characteristic values to AUSP, but I need to <b>check the object dependencies</b> (as shown in transaction CU03) before saving the data.
I have the list of the dependencies for the characteristic in question, but how can I perform a dependency check in program code? Is there any <b>function modules</b> (and the like) which I can use?
All helpful answers will be rewarded!
- Mari VirikThanks!
I'm not that familiar with BAPIs, which transactions can I use to check it out? Transaction BAPI? And how do I locate it in the BAPI Explorer? How do I perform the method call?
More points will be rewarded
- Mari -
Function modules (and the like) for testing Object Dependencies
Hi all,
I've created an upload program for characteristic values to AUSP, but I need to <b>check the object dependencies</b> (as shown in transaction CU03) before saving the data.
I have the list of the dependencies for the characteristic in question, but how can I perform a dependency check in program code? Is there any <b>function modules</b> (and the like) which I can use?
All helpful answers will be rewarded!
- Mari VirikHi,
How did you solve this problem?
I have the same.
Thanks. -
Need function module or Bapi name for uploading CJ02 tcode
Hi All,
When i am trying to record the data for TCODE : CJ02 i need to enter the project Definition and enter the WBS element it takes me to the screen then i should select the WBS element and attach a file for that selected WBS element . The option for me to attach the attachment of file will be available on the application area(Services for the Object).
Now the problem when i try to do recording in SHDB this option like create attachement is not visible in the recodring . Kindly suggest me what can i do such that i attach the file for the particular project def and WBS element.
Either suggest any function module or other procedure .......
Regards,
Sana.
Edited by: Misbah Sultana on Nov 5, 2009 10:33 AMHi,
try using BAPI
BAPI_PROMO_CHANGESITEPLANNING
or
BAPI_PLANNEDORDER_CHANG
THANKS
ravi -
Function result as an item for another function.
I have a report that has a field A(number) which is the result of a custom function. My next field B needs to sum up all these results i.e. sum of field A grouped by certain field. Another field C needs to divide field B by a calculated number etc.
Because I can't choose function result as an Item, I'd have to recalculate for field B, and again for field C etc, which degrades performance.
Any ideas on how to tackle this problem?Dear Peter,
Does this amount appear as an amount in your GL and missing in your Asset Accounts, or vice versa.
Please, do check if there are any manual postings performed from FI, not from the depreciation program.
They will disappear from ABST2 when you reverse them from FI.
KR
Severina
Edited by: Severina Koleva on Feb 22, 2010 3:55 PM -
Table for line items of budget document posted through FMBB transaction.
HI,
I am looking for Table of line items of budget document posted through FMBB transaction.
There is table FMBL but it is breaking the amount into 12 parts.
Thanks.Hi
check the tables
FMBDA
FMBDP
FMBDT
FMBH
BPDK
Regards
Anji
Maybe you are looking for
-
how would i check using an if statement, if any rows have been retured in a query. this is what I have at the minute, any ideas begin select count(*) from sys.aud$ where timestamp# < (sysdate - 7); if count(*) = 0 THEN do something else something els
-
Caller ID doesn't work in IOS7 on new Iphone 5s. Apple have told me there is no fix!
Caller ID does not work in my new Iphone 5s. It has never worked, IOS is completely up to date. Calls just come through as numbers regardless of whether the caller is in my contacts. I have tried a factory reset and restore but no change. A call into
-
Transferring photos from a Canon to my Mac
I recently bought a Canon Power Shot. I have used it and transferred photos to my Mac and didnt have any problems. Now all of a sudden, I turned it on, to import the pictures to the computer, and the camera just turns itself off and the Mac says no
-
Ipod freezes computer and itunes and has corrupt songs
Hi, a while back I was having problems with my 160gb IPod classic. Every time I plugged it in the entire computer, and iTunes would freeze. This ended with a trip to the Apple store and after a lengthy session, the iPod was restored to factory settin
-
Unable to process Lossless JPEG Images..
Hi, I have jdk 1.6.0. and i installed the jai-Imageio pakage.i am not able view the true lossless jpeg image. I tried to open a lossless jpeg image from the code given in http://forums.sun.com/thread.jspa?forumID=20&threadID=335960 but the image does