Splitting the Line items in Transaction LB02........
Hi Frnds,
I would like to know how to proceed further....afetr entering into standard transaction LB02, the user wants to split the line items depending on the quantity what he has enterd in the custom screen which i developed.
Here am able to get the data in background necessary to goto standard transaction. After entering into the standard transaction how to split the line items.
Functional Requirement
In the screen, which i developed...
The user enters material no...
-->Matl qty & matl desc will be displayed....
-->Then user enters the bin no. and the qty he wants to keep in that particular bin.
-->Here depending on the qty the user has entered it has to reflect in the Tcode LB02.
-->For example, total qty displayed in the custom screen after entering the matl no. is 20 From this qunatity, the user enters the quantity as 10 which is not GE to that qty (20) which we got from database.
-->Now this has to be replicated in the standard transaction in such a way that..the line items should also split according to the qty the user enters.......it may be upto n no. of line items.....and the bin no. should also be entered into the stnd Tcode LB02 at the unloading point field......
Thanks & Regards
Message was edited by:
Badri Thiriveedhi
Managed to find an Enhancement Point in the Standard SAP Code and hence the Issue is resolved.
Thanks and Regards,
Venkat Phani Prasad Konduri
Similar Messages
-
Splitting the Line Items in the Sales Order
Hello,
I have a requirement where when I enter a Particular Material and enter Quantity, then there should be a Line Item Split with Some Quantity with the First Line Item (000010) and there should be another Line Item which should be automatically created (000011). I've tried MV45AFZZ - USER_EXIT_MOVE_FIELD_TO_VBAP but that is not of much help.
Can someone give me the Place where I can create an Enhancement Implementation / or any Exit which would serve this purpose?
Thanks and Regards,
Venkat Phani Prasad KonduriManaged to find an Enhancement Point in the Standard SAP Code and hence the Issue is resolved.
Thanks and Regards,
Venkat Phani Prasad Konduri -
To split the payment document value as per the line items of the P O
To split the payment document value as per the line items of the purchase order in the period of payment, so that the payment amounts are measured against the Capex order assigned as account assignment in the purchase order.(Account assignment tab for the individual line item in the PO.
Example:
Inputs:
Purchase Order 3100012345, line item 10 value 6000 line item 20 value 4000
VAT @10% , account assignment for PO line item 10(Internal Order no 10001) & line item 20 Internal Order 10002) G/ R no 5105105101 for Rs10,000.
The I/R doc 501501501 appears as follows: (MIRO)
Line 10: Value Rs 6,000
20: Value Rs 4,000
VAT Rs 600
Rs 400
Total Rs11, 000
Withholding Tax Rs 1,100
The accounting entry for MIRO happens as follows: doc 2102102101
GR/IR Dr Rs 10,000
VAT Dr Rs 1.000
Vendor Cr Rs9, 900
TDS due Cr Rs1, 100
The business expects the payment report as follows:payment doc 2001200101
PO Line item Internal Order MIRO Invoice Payment Payment period Amount
A/c doc number doc number
3400012345 10 10001 5605605601 2102102101 2001200101 001/2009 5940
3400012345 20 10002 5605605601 2102102101 2001200101 001/2009 3960
Currently we are able to show the amounts as Rs 6000 for line item 10 & Rs 4000 for line item 20.
The problems faced.
1. The VAT line items are auto created, hence the reference of purchase order number and line item are not available. So the VAT portion which is part of payment liability does not get reflected against the PO.(not able to show the VAT portion , when we try to show the payment amount per PO line item.)
2. The withholding tax is also a problem; WHT is not calculated and assigned per line item. It is calculated on the total amount of basic and VAT. Because of these reasons, the payment could not be shown properly according to the line item of the purchase order.
3. When part payment is made, against invoices, there is no provision to assign a payment amount against a particular line item. Further, when final payment is made in different period, the clearing document will get generated. That adds to the complexity of differentiating full payments and part payments final clearing.
4. When residual payment is made, a new line item is created. Here assignment of Purchase order line item against payment for residual items become a problem.
5. Many a times advance payments are made. Later the invoice is created and balance payment is made. In those situations, the clearing document creates one more line item and makes payment for the balance item. This adds complexity in bringing balance payment alone and to split as per the purchase order line item. The clearing document number system is multi dimensional. It creates two line items for the same item (one at the time of advance and another the time of clearing.)
6. When full payment is made, the payment document number and clearing document numbers are same. In cases of subsequent or partial or residual payment, the document numbers are different. Because of this, the part payment amounts are shown in the period, where the final payment and clearing are made.
Please suggest a way to split the payment amount in the exact posting period with all the considerations given above.
Regards
Sundararajan
Edited by: Sundarajan Venkatachari on Sep 30, 2009 11:04 AMHi,
See Note 301077 - User exits for the interface to accounting, although I think that there isn't this kind of option. Note 429117 - Collective note advice note SD-FI interface will be useful too.
I think that SAP Note 1085921 - Document split perhaps will help you
Regards
Eduardo -
Need a exit while deleting the line item in PO
Hi to all experts ,
My requirement is to find an exit or badi when the user deletes a line item and click on save the line item should be captured,. Is there any badi or exit which can do it .Hi,
Try these user exits.
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of req
M06E0004 Changes to communication structure for release purch.
M06E0005 Role determination for release of purchasing document
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., prev
MEFLD004 Determine earliest delivery date f. check w. GR (only
MELAB001 Gen. forecast delivery schedules: Transfer schedule i
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tol
MM06E001 User exits for EDI inbound and outbound purchasing do
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into
MM06E008 Monitoring of contr. target value in case of release
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound proc
MMAL0004 ALE purchasing info record distribution: Inbound proc
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001
Regards,
Vijay -
Freight Calculation based on the net value of the Line item
Hi SAP Gurus,
I have one requirement for Freight calculation(Sales order is created through an IDOC) :
In the idoc,we will receive a freight dollar amount - which will be the total amount of freight.(example 100)
We will also receive sales dollar for each line item ,which is then passed to the pricing procedure, for a total amount of sales for that Sales order.
(examples below, for a total of 1500)
The 100 is to be posted to a freight G/L account.
The 100 is further divided by each profit center of the materials on the Sales order.
The freight is split out amongst the profit center , based on the net value of the line item.
Freight value to be allocated = Line item value/total value of the sales order * Freight amount.
Total of the sales order =1500
Line item value Freight value calculation Profit center
Material A: 800 800/1500*100 = 53 Profit center A
Material B: 500 500/1500*100 = 33 Profit center B
Material C: 200 200/1500*100 = 13 Profit center C
Please let me know how to achieve this functionality in pricing procedure or what changes i need to make in Freight condition type.
Thanks in advance,
Bhakar SahaWere you able to resolve this issue of allocating freight costs to line items/profit centers using the net value of the line items?
-
How to combine the line items of 2 Sales orders into 1 delivry
how to combine the line items of 2 Sales orders into 1 delivry
and their process, pre-requisites and tcodeThe prerequisites are:
1) In the customer master sales area data, shipping tab, there is a field called Order combination. u must tick that.
2) for the two orders, the sold to party & ship to party must be same
3) both orders must have created from same plant & shipping points
4) the line items must have same loading grp.
5) the both orders sheduline line date must be same.
transaction code for the same is VL04.
enter the required data and select the order nos to be processed.
Do reward points if it is useful -
Profit Center is missing in the line item 002 for Customer Payment
Dear Friends,
We are having one issue with Customer incoming payment. We are following the Business area concept. Now the customer is from the different business area and paying at Ho. HO has different Business area. So while processing the incoiming payment i have to enter different business ares for both the customer and Bank line item. There is no profit center field in the customer line tiem. When we are trying to post it, system is giving error message "Balancing field Profit center not there in line item 002".
If i process the same scenario with same business area for both the line item then system is picking th eprofit center from the bank line item.
Is there any possibility i can map this scenarion in the Document splitting functionality?? or else how can i process this scenario??
Regards,
DevaHi Lakshmipathi,
Yes the Document split has been activated. This issue is the specific one. We have different C&F location. Sales happens accross India. Hence we have created the Business area concept for each location to get the location wise balance sheet. I have also activated the zero balancing for Profit center and also Business area so that i can derive the Location wise Balance sheet.
Now the sales invoice has been processed from C&F Location. Customer deposit the Cheque directly to the Head office Bank and not at the C&F Location bank. I don't want to clear the existing open item because 50% of the cheque gets bounced. So i am booking the incoming payment without clearing the open item.
While processing the incoming payment user is entering the C&F location business area in the customer line item (Credit line item) and Head office business area for the Bank line item as the bank is at the Head office so that we can arrive the Balance sheet.
Now system is not deriving the profit center for the customer line item even though the business area wise zero balance has been activated. Recon account field status group has market as optional for profit center but in F-28 i am not able to get the profit center field (Because it is balance sheet item).
The Document type already been configure for Document split and the Recon account also categorised as Customer inthe doc splitting. I don't have any problem with document split other than this issue.
For this issue anything can be done in the document split??
Regards,
Devendran -
How to add the line item text in the Ledger line item report
Hi SAP Gurus,
I having one requirement from the user. He wants the line item text which we will enter in FB60/FB70/FB50 has to be shown in the Ledger line item report. Right now this field is not available. Is there any possible we can make this line item text in the ledger line item report i.e. FBL1N/FBL3N/FBL5N?
advance thanks for the help.
Regards,
Deva.Hi,
You can do the below to get this. (You can change the names of the function modules as per your wish/ organization naming convention):-
Step 1:-
Create function module Z_GET_SGTXT as below:-
Import:-
BELNR LIKE BKPF-BELNR
BUKRS LIKE BKPF-BUKRS
BUZEI LIKE BSEG-BUZEI
GJAHR LIKE BKPF-GJAHR
Export:-
PRCTR LIKE BSEG-SGTXT
FUNCTION Z_GET_SGTXT.
""Local Interface:
*" IMPORTING
*" VALUE(BELNR) LIKE BKPF-BELNR
*" VALUE(BUKRS) LIKE BKPF-BUKRS
*" VALUE(BUZEI) LIKE BSEG-BUZEI
*" VALUE(GJAHR) LIKE BKPF-GJAHR
*" EXPORTING
*" VALUE(SGTXT) LIKE BSEG-SGTXT
SELECT SINGLE SGTXT FROM BSEG INTO SGTXT WHERE GJAHR = GJAHR
AND BELNR = BELNR
AND BUKRS = BUKRS
AND BUZEI = BUZEI.
ENDFUNCTION.
Step 2:-
Then create the Function Modules as below:-
Z_LINE_ITEMS_GET_SGTXT (Copy of SAMPLE_INTERFACE_00001650)
FUNCTION Module Z_LINE_ITEMS_GET_SGTXT.
""Local Interface:
*" IMPORTING
*" VALUE(I_POSTAB) LIKE RFPOS STRUCTURE RFPOS
*" EXPORTING
*" VALUE(E_POSTAB) LIKE RFPOS STRUCTURE RFPOS
Initialize Output by using the following line
E_POSTAB = I_POSTAB.
E_POSTAB = I_POSTAB. "<-- important
CALL FUNCTION 'Z_GET_SGTXT'
EXPORTING
BELNR = I_POSTAB-BELNR
BUKRS = I_POSTAB-BUKRS
BUZEI = I_POSTAB-BUZEI
GJAHR = I_POSTAB-GJAHR
IMPORTING
SGTXT = E_POSTAB-SGTXT
EXCEPTIONS
OTHERS = 1.
ENDFUNCTION.
Step3:-
Transaction FIBF:-
Settings -> Products -> of a Customer
SGTXT Text in Line Item Display Active
Settings -> P/S Module -> of a Customer
00001650 SGTXT Z_LINE_ITEMS_GET_SGTXT
Step 4:-
Create the layout for FBL*N with display of the TEXT.
Regards,
Gaurav -
Reset Cleared Doc - Balance of the line item is not zero" Message no. F5136
I have this error : Balance of the line item is not zero" Message no. F5136
This error arise when we tried to reset cleared document dated June 6,2007 during data migration from Legacy system to SAP.
We wanted to reset this cleared document because it was wrong executed (cleared) way back 2007.
The entries are:
Debit to GL (B/S) --> 3,758.48
Credit (1100039-Vendor) with special GL (408319) --> 3,758.48
=====================================================
For us to correct the clearing, we need to reset first the cleared document via FBRA, however, this error arise saying "Balance of the line item is not zero" with Message no. F5136.
I read several posted issue here, however, it doesn't resolve my problem.
Hoping to hear from your inputs on this problem.
Regards,
macalongeDear:
SAP Note 400530 - FBRA - F5136: Balance of line items not zero
describes your issue as
Summary
Symptom
A payment using a payment card fails, in other words, the payment is reversed using Transaction FBRC where the customer or vendor item is reopened.It is not possible to reset a payment document posted again for the open customer or vendor item by using Transaction FBRA, "Reset Cleared Items" and it responds with the error message "Balance of the line items is not zero".
Other terms
Error message F5136, FBRA, FBRC, payment cards
Solution
A solution is available in the Support Package for Release 4.0B and 4.6C. An advance correction is possible. The solution consists of a repair report, so that the current payment document can be reset by means of 'Reset Cleared Items', and of a correction.
1. Repair-report ZREPAIR_BSEGC_FBRA:Create it temporarily as a test report using Transaction SE38. First the current payment/clearing document must be cleaned up of payment card data by means of the repair-report. Afterwards you can reset the payment document by means of 'Reset Cleared Items'. The report takes the current payment document as a parameter. In this case only changes are made to the database if the option "DO_UPD" is set.
2. Advance correction:Supplement the interface for function module CREDIT_CARD_POST_REFUSAL with table parameter T_BSEG with reference type BSEG. The following describes the procedure in more detail.
a) Transaction SE37: Enter function module CREDIT_CARD_POST_REFUSAL and choose "Change".
b) On the "Tables" tab page, create parameter T_BSEG with reference to structure BSEG.
c) Save and activate the function module.
3. After you implemented the correction or the R/3 Support Packages valid for this note, read Note 450081 to avoid the unwanted deletion of payment card data.
Hope it will help
Regards -
How to clear the line items once posted...
hello experts,
i m workiing on Enhancements in fi/co...i m not able to get the actual exit..
How to clear the line items once postings has been done...i.e. once v do postings in f-48 v assign an assignment with special GL a/c as 'A'(one line item generates)....and in Tr.code f-43 once the due as been settled i.e the payment as been done and same assignment has to be given(2nd line item generates) it has to clear with the transaction f.13.but it is not..there is a report program to check fbl1n(tr.code)...once it is cleared it is shown in cleared items else it is shown in open items.....can any one help me out...
i m providing the tech names of the fields...
same program for both the transactions-- sapmf05a screen no for f-48--304 and
f-43 ---110....
Assignment --- BSEG-ZUONR....AMOUNT ---(cluster table) BSEG-WRBTR....
SPECIAL GL A/C RF05A-UMSKZ(structure)
thanks n regards,
vamshiThe prerequisites are:
1) In the customer master sales area data, shipping tab, there is a field called Order combination. u must tick that.
2) for the two orders, the sold to party & ship to party must be same
3) both orders must have created from same plant & shipping points
4) the line items must have same loading grp.
5) the both orders sheduline line date must be same.
transaction code for the same is VL04.
enter the required data and select the order nos to be processed.
Do reward points if it is useful -
Balance of the line items is not zero
Hi All,
We are trying to reverse the clearing document t.code FBRA but could not reverse it and getting below mentioned error.
Balance of the line items is not zero
Message no. F5136
We have implemented the S note 1914004 but the results are the same.
Thanks
RamanjaneyuluHi Ramanjaneyulu,
If you reset a clearing with transaction FBRA, a check of zero balance
occurs first in all local currencies. With a balance that is not equal
to zero the system issues message F5136 and it is not possible to reset
the clearing.
Regarding your issue itself, based on my analysis of the information
provided and from previous experience with error message F5136 when
running FBRA please let me highlight some of the most common reasons
for this error to be raised:
- GL account is being changed by any substitution: HKONT is expressly
forbidden for substitution (check BXCLUDE from table GB01 by standard
the field is flagged) if this field is being changed by a substitution
or user exit this is most likely the root cause for error message
F5136, however as this is considered a modification it falls of the
product support scope.
- Documents involved have being archived: Since the related documents
are archived, the balance of document is not zero and error message
F5136 appears. It is not possible to reverse
the clearing document because system cannot find the documents that
were cleared to change their status to open.
- Any of the documents contain field BSEG-RFZEI <> 000: This kind of
document cannot be reversed via FBRA. Please refer to note
1301679 this note contains valuable information regarding
this system behavior.
I hope this could be helpful. Thank you.
BR,
Jimmy -
Enhancement on fi/co to clear the line items...
hello experts,
i m workiing on Enhancements in fi/co...i m not able to get the actual exit..
How to clear the line items once postings has been done...i.e. once v do postings in f-48 v assign an assignment with special GL a/c as 'A'(one line item generates)....and in Tr.code f-43 once the due as been settled i.e the payment as been done and same assignment has to be given(2nd line item generates) it has to clear with the transaction f.13.but it is not..there is a report program to check fbl1n(tr.code)...once it is cleared it is shown in cleared items else it is shown in open items.....can any one help me out...
i m providing the tech names of the fields...
same program for both the transactions-- sapmf05a screen no for f-48--304 and
f-43 ---110....
Assignment --- BSEG-ZUONR....AMOUNT ---(cluster table) BSEG-WRBTR....
SPECIAL GL A/C RF05A-UMSKZ(structure)
thanks n regards,
vamshi
**highly rewarded**hi Vamshi,
chekc if on the selection screen of F.13 the special G/L transactions are properly selected. Also check the customizing for automatic clearing (i. e. which fields have to match).
ec -
Dear all
This program only upload the 800 line item
we want the data upload through Excle sheet 9000 line item , i am new in abap
please advise how can increase the no of the line item ,if possible please add the program on same
REPORT ZBDC_PROGRAME.
TYPE-POOLS: VRM.
SELECTION-SCREEN BEGIN OF BLOCK BACH WITH FRAME TITLE FRAME1.
SELECTION-SCREEN SKIP 2.
PARAMETERS: P_RTYPE(10) TYPE C AS LISTBOX VISIBLE LENGTH 30.
SELECTION-SCREEN SKIP 2.
SELECTION-SCREEN END OF BLOCK BACH.
INITIALIZATION.
PERFORM FFILL_REPORT_TYPES.
START-OF-SELECTION.
IF P_RTYPE EQ 'NO1'.
CALL TRANSACTION 'ZVEND_MASTER_FI'.
... " other alternatives
ELSEIF P_RTYPE EQ 'NO31'.
CALL TRANSACTION 'ZME21N_K'.
ENDIF.
*& Form FFILL_REPORT_TYPES
* text
* --> p1 text
* <-- p2 text
FORM FFILL_REPORT_TYPES .
DATA: LS_LIST TYPE VRM_VALUES,
LS_NAME TYPE VRM_ID,
LS_VALUE LIKE LINE OF LS_LIST.
LS_NAME = 'P_RTYPE'.
LS_VALUE-KEY = 'NO1'.
LS_VALUE-TEXT = 'Vendor master FI/CO'.
APPEND LS_VALUE TO LS_LIST.
CLEAR LS_VALUE.
... lots of other values
LS_VALUE-KEY = 'NO31'.
LS_VALUE-TEXT = 'PO Upload Acc assig category - k'.
APPEND LS_VALUE TO LS_LIST.
CLEAR LS_VALUE.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = LS_NAME
VALUES = LS_LIST
* EXCEPTIONS
* ID_ILLEGAL_NAME = 1
* OTHERS = 2
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " FFILL_REPORT_TYPES
thnaks
venkat
Edited by: Matt on Sep 3, 2009 12:09 PMHi,
Check out the code BDC for VK11.
REPORT zbdc_vk11
NO STANDARD PAGE HEADING LINE-SIZE 255.
INCLUDE bdcrecx1.
PARAMETER:pr_file LIKE rlgrap-filename OBLIGATORY.
DATA: w_filenm LIKE rlgrap-filename.
DATA: rawdata(4096) TYPE c OCCURS 0.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR pr_file.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_filename = pr_file
mask = ',*.xls.'
mode = 'O'
title = 'Upload File'(i03)
IMPORTING
filename = pr_file
START-OF-SELECTION.
WRITE pr_file TO w_filenm.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER =
i_tab_raw_data = rawdata
i_filename = w_filenm
TABLES
i_tab_converted_data = itab.
<add your BDC recording here>
Regards,
Amit
Edited by: Amit Iyer on Sep 3, 2009 5:32 PM -
Identifying the line items on a posted document
Hi guys!
I am doing a program Acounts Payable Voucher. On fb01, I made a transaction and posted it. After the document has been posted, Input Vat and Witholding Tax are included in the line item. The amount is already been calculated.
My problem is how will I separate <b>Input Vat and Witholding Tax</b> from the other line items? I have identified the other line item <i>Vendor</i> from the others using posting key. But the rest may have the same posting keys.
Thanks!yes it'll populate the received quantity (which you would have generally entered in the Quantity tab). There is a field for Recipient as well (which is what I think you refer to as receiver). You may need to scroll right for this, but as you are the receiver in all cases, just copy paste from Excel
You can enter all of this at one go. Try it out and let me know. -
Substitution and activated the same at the line item level in order to subs
I have created a substitution and activated the same at the line item level in order to substitute the ZRSPL (Payment Block) field by a constant value and a vendor invoice is posted using Transaction FB60. But the same is not working. When I post a vendor invoice using FB60, Payment Block field is being shown as blank instead of the constant value which I want to substitute.
>
> My prerequsite is mentioned below :
> BKPF-TCODE = 'FB60' AND BKPF-BUKRS = 'ABC' AND ( BKPF-BLART = 'KR' OR
> BKPF-BLART = 'KY' ) AND BSEG-DMBTR > '10000'Hi,
I am not understanding the logic behind the prerequisites mentioned in your query.
Payment block field exists only for vendor related line item. However, you have not mentioned vendor reconciliation account in the prerequisites. It means, this substitution will trigger for all the line items which is wrong.
Or try following options.....
1) Substitution->Simulation
2) Extras->Expert Trace
Best Regards,
Madhu
Maybe you are looking for
-
HT1848 This article is no longer accurate in 2014
Not a question but a note: In 2014 and 2013, this article (articleId=HT1848) is no longer accurate. In recent versions including 11.4(18), the actual behavior is unrelated to the image in the article; rather, File->Devices->Transfer Purchases From <d
-
Why can't I convert my PDF to a Word Document?
I've purchased the necessary/recommended software at 19.99 in order to convert this PDF document into a word document. The document is large--53.3MB, and yet the stated "limit is 100MB, so it should work. All of the computer software matches the "t
-
HT5730 How can I find out the size (Kb /MB) of software updates?
My software updates available contains a number of program updates. I have a daily data allowance of 400 mb. I want to prioritise my downloads, but cannot make a decision without knowing how big each update is. So, how can I find this out ?
-
HT1688 I'm trying to activate my new iphone and Im unable to
I bought a new iphone today Att store couldn't actvait it cuz the internet was working to slow at the store the guy said i can take it home and try it there. well i did and its stll not working. can you please help?
-
Hello, I am trying to use SAP Logging in my J2EE Web Application. When I tried adding the line of code "import com.sap.tc.logging.*;" the compiler complained as it's not found. Then I tried adding by "set additional libraries" and found "com.sap.tc.L