Line vendor Items FB1LN
Hi guru's,
I try to display the vendor line items in my program per Company Code, Vendor number, Profit center, Account, for after that to do a resposting for the atypical balances.
I select the datas from BSIK/BSAK table joined to Falglflext table. The problem is when I choose the atypical balances and put them in my internal table (li_total) and when I check the amount in Faglflext, the amount are not exact.
My Result has to be the same than in FBL1N.
** Read Open Items For Vendor
REFRESH li_vend.
SELECT DISTINCT a~bukrs a~lifnr a~wrbtr a~dmbtr a~gjahr a~budat b~prctr
b~segment a~waers b~kokrs a~hkont a~umskz a~shkzg
APPENDING CORRESPONDING FIELDS OF TABLE li_vend
FROM bsik AS a JOIN faglflexa AS b
ON a~bukrs = b~rbukrs
AND a~belnr = b~docnr
AND a~gjahr = b~ryear
AND a~buzei = b~buzei
and a~hkont = b~racct
WHERE b~rldnr = '0L'
AND a~bukrs IN sel-fi-bukrs
AND a~lifnr IN sel-fi-lifnr
AND a~vbund IN sel-fi-vbund
AND a~umskz IN sel-fi-umskz
AND b~segment IN sel-fi-segment
AND b~prctr IN sel-fi-prctr
AND a~budat <= wa_sel_fi_budat.
IF sy-subrc NE 0.
MESSAGE e324(zst1) DISPLAY LIKE c_error. " No Vendor Found
ENDIF.
* Read Cleared Items For Vendor
SELECT distinct a~bukrs a~lifnr a~wrbtr a~dmbtr a~gjahr a~budat b~prctr
b~segment a~waers b~kokrs a~hkont a~umskz a~shkzg
APPENDING CORRESPONDING FIELDS OF TABLE li_vend
FROM bsak AS a join faglflexa AS b
ON a~bukrs = b~rbukrs
AND a~belnr = b~docnr
AND a~gjahr = b~ryear
AND a~buzei = b~buzei
and a~hkont = b~racct
WHERE b~rldnr = '0L'
AND a~bukrs IN sel-fi-bukrs
AND a~lifnr IN sel-fi-lifnr
AND a~vbund IN sel-fi-vbund
AND a~umskz IN sel-fi-umskz
AND b~segment IN sel-fi-segment
AND b~prctr IN sel-fi-prctr
AND a~budat <= wa_sel_fi_budat
AND a~augdt > wa_sel_fi_augdt.
Edited by: rahhaoui mohamed on Aug 27, 2009 8:25 PM
Sorry I split the message in 2.
1) I check if the total per Compay and Vendor is atypical. I
2) I put the lines of my total per COmpany code, Vendor, profit center, Account in another table.
* Reclassification Check
*Check Local Currency is < 0.
LOOP AT li_vend INTO wa_vend.
wa_vend2-bukrs = wa_vend-bukrs.
wa_vend2-lifnr = wa_vend-lifnr.
IF wa_vend-shkzg = 'H'.
wa_vend2-dmbtr = wa_vend-dmbtr * -1.
wa_vend2-wrbtr = wa_vend-wrbtr * -1.
endif.
COLLECT wa_vend2 INTO li_vend2.
ENDLOOP.
* Check if reposting is needed
IF sel-rprt-flag2 = 'Y'.
DELETE li_vend2 WHERE wrbtr < 0.
ELSEIF sel-rprt-flag2 = 'N'.
DELETE li_vend2 WHERE wrbtr > 0.
ENDIF.
LOOP AT li_vend INTO wa_vend. * I'm not sure but I think my problem comes from here.
LOOP AT li_vend2 INTO wa_vend2 WHERE bukrs = wa_vend-bukrs
AND lifnr = wa_vend-lifnr
MOVE-CORRESPONDING wa_vend TO wa_total.
MOVE wa_vend-lifnr TO wa_total-third.
IF wa_vend-shkzg = 'H'.
wa_vend-dmbtr = wa_vend-dmbtr * -1.
wa_vend-wrbtr = wa_vend-wrbtr * -1.
ENDIF.
MOVE wa_vend-wrbtr TO wa_total-tsl.
MOVE wa_vend-dmbtr TO wa_total-hsl.
wa_total-flag = c_lifnr.
COLLECT wa_total INTO li_total.
ENDLOOP.
ENDLOOP.
Similar Messages
-
Supress Vendor name in std report S_ALR_87012103 - Vendors: Items
Hi ,
I am using report 'S_ALR_87012103 - Vendors: Items -> List of Vendor Line Items' to list the vendor open items and in the output the vendor name with address is displayed, I want to supress name and address so that when I download to excel it will easier for me to change the columns.
ThanTry using FBL1N instead of this report, which does not show address.
Regards,
SDNer -
Hi,
I dont know if this is the correct forum.
What are the process steps that I need to take when creating test script for Clearing Vendor Item.
Appreciate your help.
Regards,
vedHi Ved,
Ensure that your Vendor account have two line items. Debit and Credit line item.
Use T.Code f-44 to create the test scipt for Vendor clearing.
Please let me know if you need further steps in creating the same.
Assign points if helpful
Kalyan -
Open field Profit center on Vendor item
Hi Guru
How I can open field profit centr or cost center on vendor item when i post document . I try open in field status group and open in posting key but it not success. Help me please . thank you vrery much.
methinee.sHi Srinu
thank you for your answer but I have some question when I posting vendor code with posting key 29 and specail gl (target gl accoun is a balanc sheet account ) thd screen layout have profit center and can input profit caner no. thank you verymuch.
Methinee.s -
I cannot enter new Schedule lines in item level
hi.,
while creating sales order, i want to split the Schedule lines in item level for running MRP. i cannot enter new Schedule lines in item level. at present the system is not allowing in sales order
Regards.,
Lakshmanan.SHi,
Will you let us know what is the error message system is giving ?
Regards,
Amrish Purohit -
How to display two-lines strings item
Hi,
How can I display list of two-line string items? Each Item in the list should have a phone number and a time. It should look similar to the "dialled numbers" display where each item has an image, and two-line string.
Is it possible doing it with the high-level API or should I go low-level?
Thanks in advance
Imzadiuse: list.setFitPolicy(Choice.TEXT_WRAP_ON)
-
Difference between sales order schedule line and item level data
Hi All,
Could you please let me know what is the difference between sales order schedule line and item level data?
Thanks,
RamyaHi Ramya,
Sales order schedule line contains del date, order qty, rounded qty, confirmed qty, delivery qty, schedule line category, purchase requisition etc., ie It contains the full details of sales order data with respect to the scheduled line of delivery. The total quantity of a sales order item can be subdivided into schedule lines that contain the various subsets with the corresponding delivering dates.
Sales order Item level data contains details of the item in the sales order like material code, net price, net value, UoM, PO details, reason for rejection if any, material group,billing date, plant etc., ie this
contains the full details of item irrespective of scheduled line.
Regards,
R. Senthil Mareeswaran. -
Hi guys,
Is there any way i can know at which date vendor item was in open state.
Currently in the bsik table the there is 44404 records. however when i view report FBL1N and key in open at key date 31.03.2009 i can view 44410 records. How is this possible?
Is there any fields in table that will indicate at which date vendor item is open. thanks.Hi
The system behaviour is correct. In FBL1N you have selected the key date as 31.3.2009 Now on that date that item may not have been paid. But actually when you see the BSIK Table today, the ietm which is appearing as open on 31.3.2009 may have been paid after the key date of 31.3.2009 and moved to BSAK Table.
Regards
Sanil Bhandari -
New lines created in excel when displaying multi-line text item value
Hi all,
I put the value of a multi-line text-item into a csv file :
DECLARE
file_filter VARCHAR2(256) := 'Export Files (*.csv)/*.csv/All Files (*.*)/*.*/';
fExp VARCHAR2(256);
in_file Text_IO.File_Type;
linebuf VARCHAR2(4000);
BEGIN
fExp := get_file_name ( directory_name, file_name, file_filter, NULL, SAVE_FILE, TRUE);
IF fExp IS NOT NULL
THEN
set_application_property(cursor_style,'BUSY');
in_file := Text_IO.Fopen( fExp, 'W');
linebuf := NVL(:com_bnc_possibles.LIBEL_TRAITE,'') || ';' ||
NVL(:com_bnc_possibles.NUM_ANFR_ID,'') || ';' ||
NVL(:com_bnc_possibles.ver_fiche,'') || ';' ||
NVL(:com_bnc_possibles.titre,'') || ';' ||
NVL(to_char(:com_bnc_possibles.date_creat, 'dd/mm/yyyy'),'') || ';' ||
NVL(to_char(:com_bnc_possibles.date_valide, 'dd/mm/yyyy'),'') || ';' ||
NVL(:com_bnc_possibles.LIBEL_STATUT,'') || ';' ||
NVL(:com_bnc_possibles.label_reg,'') || ';' ||
NVL(:com_bnc_possibles.nom,'') || ';' ||
NVL(:com_bnc_possibles.prenom,'') || ';' ||
NVL(:com_bnc_possibles.nom_societe,'') || ';' ||
NVL(:com_bnc_possibles.comp_bnc,'') || ';' ||
NVL(:com_bnc_possibles.motifs,'') || ';' ;
Text_IO.Put_Line( in_file, linebuf);
Text_IO.Fclose( in_file);
set_application_property(cursor_style,'DEFAULT');
END IF;
END;
And when I opened the csv file then the remaining lines , that is from the second line , of the column "motifs" are displayed through the column A of excel. The "motifs" multi-line text-item has 500 as its Maximum Length property value, and has a Char Data Type property value.
So how to display all the motifs' lines through the same column M without displaying the remaining lines in column A ?
Or are there tips to remove CHR(13) characters from a multi-line text-item ?
Thank you very much indeed.
Message was edited by:
andrianiainaHi,
I tried to do it in different way. What i did is I have created a item of type formattted text and set its text like:--
<html>User authentication failed. <br*> Cause: Invalid password.</html> --remove *
So I am able to see the prompt like :-
User authentication failed.
Cause: Invalid password.
Hope this helps you...
Thanks
--Anil -
I need to populate a multi-line display item in Forms 6i.
The problem that I am having is the actual assignment to the display item.
For example:
:DISPLAY_ITEM := '10';
:DISPLAY_ITEM := '11';
This makes the display item show the value '11' only.
I need '10' on the first line and '11' on the second line, etc.
Thanks in advance,
Patrickwell, you can write:
go_block('BL_BLK');
first_record;
:display_item:=10;
next_record;
:display_item:=11;
but for this- 1. block should have one navigable item. 2. display_item should not be the first item of the block.
Otherwise you will need to create a non-databse text_item with width 0 on the canvas for that block.
Hope this helps.
Regards
Mona -
Regarding Forms Look & Fell 1.3.8 (Hyperlink in sigle line text item PJC)
I am using single line text item PJC in my form. I have a tabular block in which one text item implementation calss property is set to "oracle.forms.fd.LAF_XP_TextField".
Following code is written on when-timer-expire code
If lower(Get_Application_Property( TIMER_NAME )) = 'laf_timer' Then
Set_Custom_Property( 'CTRL.BEAN', 1, 'SEARCH_TEXT_ITEMS','') ;
Set_Custom_Property( 'FIN_ORD.ORD', 1, 'ENABLE_EVENTS', 'fin_ord.ord,true' ) ;
Set_Custom_Property( 'FIN_ORD.ORD' , 1, 'SET_HYPER_LINK', 'ORD');
End If;
When form run & after data execution only first record textbox show the hyperlink but no other textbox shows hyperlink except then first record.
Please guide.Hello,
Please, ask questions concerning the LAF on the dedicated email : [email protected]
In you case, it is a generic issue using the Set_Custom_Property() built-in. If you want to set the property on every record, use the ALL_ROWS keyword in place of second argument.
Regards,
Francois
Edited by: Francois Degrelle on Jun 29, 2009 3:02 PM -
ESYU: PO line/shipment가 Item supply/demand에 보이지 않는 경우 add/correct 하는법
Purpose
Oracle Purchasing - Version: 11.5.10
Purchase Order Line/Shipment가 Item Suppy/Demand에 나타나지 않을때 missing
supply를 add 하거나 correct 하는 방법에 대해 알아본다.
Solution
1. Record 확인을 위해 아래 query를 이용한다.
Approved POs에 대한 Missing Supply:
SELECT DISTINCT poll.line_location_id
FROM po_line_locations poll,
po_headers poh
WHERE poh.po_header_id = poll.po_header_id
AND poh.authorization_status = 'APPROVED'
AND Nvl(poll.closed_code,'OPEN') NOT IN
('CLOSED','FINALLY CLOSED','CLOSED FOR RECEIVING')
AND Nvl(poll.cancel_flag,'N') <> 'Y'
AND poll.shipment_type IN ('STANDARD')
AND vendor_order_num is not null
AND nvl(poll.quantity_received,0) <=0
AND nvl(poll.quantity_shipped,0) <=0
AND NOT EXISTS
(SELECT * FROM mtl_supply mtl
WHERE mtl.po_line_location_id=poll.line_location_id);
or
Diagnostic Purchasing Purchase Order/Release Check Setup (POTransactions115.sql)
<205446.1>를 실행할 수 있다.
이 sql은 주어진 PO(Standard, Blanket, Planned, Contract)/Release (Blanket & Scheduled)
No와 관련한 모든 정보를 취합한다. 이 정보는 PO 관련한 issue의 해결과 진단에 이용될 수 있다.
2. Close Status = Open 이고 Quantity가 여전히 receive를 위해 pending이라면, 아래 steps을
실행한다.
2-1. PO Summary form에서 PO를 조회 후 issue가 되고 있는 PO Line/Shipment로 이동한다.
Tools> Control Close를 한다. Close 하면 supply를 delete 하게 된다.
2-2. Closed 된 PO line shipment를 선택 후 Tools> Control에서 다시 reopen 한다.
이 작업은 상응하는 수량만큼의 supply를 재생성해 준다.
2-3. mtl_supply의 record를 check 하고, supply/demand 화면에서 조회가 되는지 확인한다.
!!! 위 steps은 TEST instance에서 먼저 실행해 보아야 한다.
Reference
Note 416113.1 -
Hi,
Can anyone tell me how we can fix the line of item in invoice ?
Thanks in advance..............
SanjayHi Bijal,
Thanks for your reply....
Actaul i want to Restrict line of item in invoice.Hope this will be clear now
Regards,
Sanjay -
Open vendors items paid to unique alternative payee in one check
I have the following open items for a vendor to be paid by the payment
program, each vendor has the same alternative payee, and we need just one check is printing to the alternative payee:
Vendor | Item |Amount |Payment Method | Alternative payee|
1001 | 1 | $100 | C - heck | 5000 |
1500 | 2 | $200 | C - check | 5000 |
2600 | 3 | $300 | C - check | 5000 |
When the payment program is executed, we need each invoice of the each vendor must be paid to the unique alternative payee in one check.
Are there any other options available to enable these open items to be grouped together as one payment and printing in one check?
Right now, when the payment program is executed, each invoice of each vendor is paid as a separate item, in this case, three checks are created to the same alternative payee, we want just one check to the alternative payee is printing,
Thank you, for your help with this situation.Experts,
any pointers please ..
Thanks,
Best regards,
Prashant -
Open vendor Items -Valuation Difference
Hi,
what is the equivalent transaction in SAP 6.0 of transaction Y_MG1_07000102 (Open vendor Items -Valuation Difference) in SAP 4.7?
Regards,
makrandIf you are talking about foreign exchange valuation (open item) its: FAGL_FC_VAL
For others:
F107 - Further Valuations
F107_PROV_RP - Long-Term Receivables/Payables
Maybe you are looking for
-
How-to: how do I check the disk speed on MacBook Pro?
I ordered and received a MacBookPro 15". I ordered the faster disk: "200GB Serial ATA @ 7200 rpm [Add $100.00]" QUESTION: how can I verify that I did in fact got this 7200 rpm disk? thanks Foad
-
Generate a pulse train using a count from a quadrature encoder as the clock
I am trying to generate a pulse train with the same frequency as my quadrature encoder. Every time the encoder counts, I want the pulse to go high until the next count and then go low and so on. I am using a 6602 PCI card and a BNC 2121 accessory.
-
Firefox Crashes ever time I open it.
Firefox Crashes ever time I open it. It will not even launch into safe mode anymore. I have tried uninstall and re-installing it. My computer has been rebooted. Here is a list of my crash ID's. Crash ID: bp-ea0e9622-0ccd-4ff4-aff4-5b3d12140216 Crash
-
My CFQUERY is working fine, and has for years. I am ordering my lastname. Just recently a client joined the list with a last name that starts with a lower case letter. As many of you know, lowercase appears at the end in a database sort. This really
-
I was having some problems viewing all my contacts. Part of the problem was that when I clicked on the Contacts icon, I could not find the "All Contacts" option. I updated to the latest OS. Of course, my iPhone crashed and I had to restore to factory