Removing invoice block at line-item level
Hello SAP gurus
I've been asked by a client to create a way to delete invoice blocks at a line item level via workflow. The workflow sends a workitem for each blocked line-item that the invoice has. What I need to do now is create custom code that will delete a single line-item block instead of removing the block at the header level. This header-level block deletion will only occur when all the line item blocks are cleared.
I know there are a few programs that exist for doing this at the header level (BAPI_INCOMINGINVOICE_RELEASE, MRM_INVOICE_RELEASE_UPDATE, running a MRBR BDC, etc.), but so far I haven't found a standard SAP code to make this possible at the line-item level. I am aware that making changes to standard SAP table records is heavily not recommended (if not practically forbidden), but the client is insisting they want this functionality and soon. Is there another way of making this line-item block deletion without resorting to modifying the RSEG/RBKP/RBKP_BLOCKED tables? Thanks a lot for your help.
Regards,
-Juan Ramos
Hi,
If you want to split the deliveries in to number of nvoices general configuration is in Item category use Billing relevence = K (Delivery-related invoices for partial quantity).
At the time of creating Invoice in VF01 give the delivery number and click the selection list on the right side top.
You can split based on your line items.
Thanks,
Sree.Manam
Similar Messages
-
How to place a delivery block at line item level from Inbound ORDERS IDoc?
Hi EDI/ABAP Experts,
Can anyone please tell me how to place a delivery block at line item level from Inbound ORDERS IDoc?
I tried using exit "EXIT_SAPLVEDA_001'. But there is no LIFSP field in either of XVBEP and YVBEP structures.
Can you guys throw some light. How to place a delivery block @ line item level on sales order from Inbound ORDERS IDoc.
Thanks,
Matt .Look into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
CALL CUSTOMER-FUNCTION '001'
EXPORTING SEGMENT = IDOC_DATA
DVTCOMAG = VTCOMAG
DXMESCOD = IDOC_CONTRL-MESCOD
CONTRL = IDOC_CONTRL
TABLES DXBDCDATA = BDCDATA
DXVBAP = XVBAP
DXVBEP = XVBEP
DYVBEP = YVBEP
DXVBADR = XVBADR
DYVBADR = YVBADR
DXVBPA = XVBPA
DXVBUV = XVBUV
DD_FLAG_P = D_FLAG_P
DXKOMV = XKOMV
DXVEKP = XVEKP
DYVEKP = YVEKP
CHANGING DXVBAK = XVBAK
DD_FLAG_K = D_FLAG_K
EXCEPTIONS
USER_ERROR = 01.
If you are in ECC6.0 you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U -
FI Posting of Invoice at the Line Item Level.
Hi All
Client has requirement of posting at the invoice line item level.But standard FI-AR posts at the Invoice Header level.
E.g If invoice has two line items of $20 and $30 respectively.
On the standard FI-AR side,one accounting document of $50 will be generated.It will not be posted for each invoice line level.
In order to post at the invoice line item level,i am looking for a posting user exit from SD side that will two individual account document each having invoice line item amount.Or we can have one FI accountng doc having two invoice line items in that.
Is there any way we can do this unique type of enhancement in ABAP? and also what is the exact user exit we can use from SD invoice side.
Regards
ManjinderThis is not entirely accurate - if the items are pointing to, say, different profit centers then there will be one posting per profit center. If this cannot be resolved by the standard SD/FI configuration, then the users might need to change their business process. I personally don't see any need to create postings on line item level. Just imagine what it will do to your database size.
Anyways, you'll find all the user exits here:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/sdUserexits
But, again, this sounds like a very bad idea. -
How to control Payment Block field at line item level
Hi Experts,
Could anyone please let me know how to control payment block and payment method fields at line item level.
I have checked field status at posting key (OB41) and GL (OB14) level but didn’t get any parameter to control these fields.
I need your expert guidance.
Regards,
Mohammed KalimHi Mohammed,
Please go to OB24/
Select * (for all co.codes) default field status.Or Create new entry and input your co.code, Save it. Come back to co.code.
Go to payment transaction
Payment block and payment method display can be controlled from here for vendor master data
Thanks and good luck.
Regards,
Sam -
How to block certain line items in vendor invoive for payment
Hello FI Guru's.
We have a business requirement where we have to block cetain line items on a vendor invoice and pay the balance. How can we achive that ?
Cheers!
SajalHi
There are three ways in which you can block an invoice for a payment:
a) Block at the document level
b) Block at the Vendor Level or
c) Block at the Payment Program level.
Any of the 3 blocks above will block the whole invoice as the block is at the vendor line item.
I don't think there is an option to partially block the invoice atleast by Automatic Payment Progam.
You can opt for payment through F-58 & make partial payments.
Thanks -
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 -
IDOC_OUTPUT_ORDRSP at line item level
Hi All,
Scenario: I want to issue the sales order conformation EDI output at the line item level. I set up the condition tables/records at the line item level so the BA00 output is triggered at each line item. But each IDOC has line item record for all the line items and NOT for the line item from where it was issued.
Is it possible to trigger BA00 at each line item and the corr. IDOC contains only PO1 segment for that line only ?
I want o/p at the line item as that line can be blocked/rejected (order reason code) and I do not want BA00 for that line (via the o/p reqmnt) . But if the o/p is triggered from the other line item, it contains PO1 segment for that rejected line also.
Other option is to trigger o/p from header level and check in the user exit if each line is rejected. That will be OK but what if all the line items are rejected and IDOC o/p fails and is in RED color in the o/p screen. How will the end user know that BA00 o/p failed ?
Your input is appreciated.Thanks Again.
Only problem with the solution is that when the order is in the create mode (not saved), there is no data in XVBAP. If order is already saved and I am trying to send a order ack for a change, it will work bcos I can fill XVBAP by reading VBAP from KOMKBV1-VBELN.
But this will still help me. I am planning this:
1> For initial order create, since it will be called by a RFC user (we use XI to pass the IDOC to R/3), I can check in the reqmnt that user type should not be RFC user type and hence reqmnt will not be met and no order conf will be sent. Order will be created with order rejection code for each line.
2> Order is created , end user reviews the order, if all is OK, removes the order rejection code from each line, saves the order, order req is called at the header, user type is a on-line user, reads all line items fron VBAP into XVBAP and ur logic is read and reqmnt is met and order conf is sent.
If for any reason order is saved and order rejection code is not removed from ALL line items, reqmnt is not met and order o/p is NOT triggered.
IF order is saved and there is atleast one line item without any blocks, reqmnt is met, order conf IDOC is triggered and in IDOc user exit, items with order reason codes are rejected/deleted from XVBAP table and order conf is sent only for line items without any bocks.
It should hopefully work. I will let you know.
I know, you do not care abt the entire solution / story, but it helps to validate my solution and maybe it will be useful for someone who is trying to acheive the same solution.
Thanks Again. -
Report at line item level but also for document total for once only
Dear all,
seek for your help for the following issue
There is a A/R invoice with 3 items
There is a report for retrieving the line item level data from inv1, user would also like to add a column to display the Document total , but the problem is, each line item will also display the Document total, any method to only display the corresponding Document total for once only?
Example, for AR invoice number 1234567:
Currently:
No. ItemCode Price Qty LineItemTotal DocumentTotal
1234567 Item-A 10 1 10 100
1234567 Item-B 50 1 50 100
1234567 Item-B 20 2 40 100
Requested to be presented as:
No. ItemCode Price Qty LineItemTotal DocumentTotal
1234567 Item-A 10 1 10 100
1234567 Item-B 50 1 50
1234567 Item-B 20 2 40
Thank you very much!!!Hi,
Try This.....
select T0.DocNum ,T1.ItemCode ,T1.Price ,T1.Quantity ,T1.LineNum ,case when T1.LineNum ='0' then T0.DocTotal else 0 end from oinv T0 inner join INV1 T1 on T0.DocEntry =T1.DocEntry where T0.DocNum=[%0]
Thanks
Shafi
Edited by: shafi_sunshine on Oct 19, 2011 12:50 PM -
EXIT_SAPLVEDA_001 : Delivery block at line item : Error - No LIFSP field
Hello EDI Experts,
I have a problem.
I am trying to place a delivery block @ line item level. (VBEP-LIFSP)
I am using the structure dxvbep.
But it's giving me an error say
the object zxvbep does not have any component "LIFSP"
How should I place a delivery block @ line item level.
Thanks,
MattLook into the Include: LVEDAF5A that is the only place where this exit is hit... double click on the Structures and look which structure has billling block field.. and use that..
FORM CUSTOMER_FUNCTION_IDOC USING IDOC_DATA.
CALL CUSTOMER-FUNCTION '001'
EXPORTING SEGMENT = IDOC_DATA
DVTCOMAG = VTCOMAG
DXMESCOD = IDOC_CONTRL-MESCOD
CONTRL = IDOC_CONTRL
TABLES DXBDCDATA = BDCDATA
DXVBAP = XVBAP
DXVBEP = XVBEP
DYVBEP = YVBEP
DXVBADR = XVBADR
DYVBADR = YVBADR
DXVBPA = XVBPA
DXVBUV = XVBUV
DD_FLAG_P = D_FLAG_P
DXKOMV = XKOMV
DXVEKP = XVEKP
DYVEKP = YVEKP
CHANGING DXVBAK = XVBAK
DD_FLAG_K = D_FLAG_K
EXCEPTIONS
USER_ERROR = 01.
If you are in ECC6.0 you can also use Enhancement point : INTERPRET_IDOC_ORDERS_01 SPOTS ES_SAPLVEDA. in include: LVEDAF2U -
Billing date at line item level in a sales order
HI!
Can anyone let me know the significance of billing date being present at the line item level in a sales order?
And why does it get changed as per the Requested delivery date if the Prop. Pricing date in the maintanenece of sales doc type is set as 'A'?
Can it be different for different line items?Hello Asha,
Can anyone let me know the significance of billing date being
present at the line item level in a sales order ???
The comprehensive information is available at SAP technical help(F1) for the "BILLING DATE" field at Sales Order line item level...Before raising these type of questions, i would urge to conduct initiate analysis and then post at SDN forum if you are unable to find out answers...For your quick reference, i have extracted the same description for Billing date from SAP techincal help (F1) and pasted below.
Billing date for billing index and printout
+The date on which the billing is processed and booked for
accounting purposes.+
Use
+You can use the billing date as one of the selection criteria
when you process billing documents collectively.+
Procedure
+If invoice dates are defined for the customer, the system proposes
the billing date from the invoice date calendar. If no invoice dates are
agreed, then the actual goods issue date is formed on the basis of
delivery related billing. In order related billing, the billing date of the
order forms the basis of the billing date.+
+If you are billing services, the system proposes the date of services
rendered. You can change the date manually in the sales document.+
+If you are using a billing plan to bill a project, the system can propose
billing dates for the billing plan on the basis of planned or actual dates
in the corresponding milestone.+
+In a billing plan for a maintenance or rental contract, you can specify rules
by which the system determines billing dates on the basis of other dates in the contract.+
Regards,
Sarthak -
Posting customer payment at line item level
Hi all ,
Is there any way that we can configure customer payment in lock box to be done at line item level,
what I mean here is if some invoice has three line items then can we configure some BADIs & do some ABAP coding to post at one of the line items?
Please guideHI Nik,
Not sure of vendor invoice. But we did customer invoice payments at item level. Follow below steps.
1. FIll in all the details in F-28 iitial screen.
2. In additional selections select radio button Others, Press enter.
3. In the popup select document number.
4. Here enter ur accounting doc number.
5. Click on process open items
6. Here u will get all line items. Now click on search and select line item, Neter item number.
7. Now u will get only the line items u want.
8. Now u can do complete or partial payments as per ur req.
Hope it is clear.
Thanks,
Vinod. -
TAX values in the line item level of PO
Hi
I am printing the PO form. I need to dispaly the tax values that is coming in the line item level.
Can any one tell me where i will get these values.
For every line item in the PO under the tab INVOICE we have the tax code and tax jurisdiction. Near to that there is a push button TAXES.. I need to fetch the values maintained under this.. Based on the condtion type,,
Regards
Ansari
Edited by: Muhammed Ansari Abubekkar on Aug 27, 2009 3:46 PMHi ,
I have tried this option. But it does not give me the values on the basis of condition types. it gives only the totals.
I am using ECC 6.0.. That button may be configuration dependent.
Regards
Ansari -
Credit check at sales order line item level
We are trying to carry out credit checking at the line item level. Standard SD only has credit checking at the document level.
Does anyone know of any enhancements or notes we can apply to achieve this.
Thanks SteveHi Steve,
The field VBAP-CMGST is only at the header level that is the credit
status is only available at the header. So when you release a
sales order the entire order is released. It cannot be maintained
at the item level.
Note 60672 explains that placing a delivery block on the schedule line
level will have this affect on credit management. Credit bases things
on what can be delivered. Please check in the tranx OVZ7
In block quantity confirmation in delivery blocks there is a blocking
reason setup (ZI) which blocks confirmation if an item is incomplete.
Please see configuration in transaction OVZ7.
Unfortunately, in standard SAP, credit block is applicable to the
whole S/O document.
In general, credit is applicable to the customer [soldto/billto/payer].
In SAP, this 'customer' is part of header/document level, and not
item level.
You can not change this behaviour in IMG or userexit.
I hope those information can be useful
regards
Ruy Castro -
In report painter report, line item level drilldown report requirment
Dear All,
I created one report in GRR1, when I execute the report i am not getting line item wise drilldown option. For example one cost center no of line itemwise posting ( g/ls wise)posting is there. By double clicking on that specific line item we will go that ledger and see the data available in that ledger.In standard reports that option available but my own reports I unable to go drilldown at ledger level cost reports.
Please sugget anyone, where I am doing mistake in report creation level.
Thanks
M Srinivasa reddy
Ph : 9637399076Thank you,
I attached reports to Library based on that I am able to drilldown line item level of the report.Is it corret or any other way for line item level drilldown option for report painter reports
Thanks
M Srinivasa reddy -
Shopping cart header status differs to status at line item level
Hello
I am using SRM 5.5 EC, got a situation where there is a single line shopping cart which has been approved. The status on the header is still showing "awaiting approval" but at line item level it shows as being "approved" and no follow on document has been created.
Can anyone help and let me know why this has happened and how to change the header status now?
Many Thanks in Advance
PrakashOK found a solution
Maybe you are looking for
-
Accounting Document No Number Ranges
I have got a requirement wherein the client has asked for the Accounting Document Numbers has to be at Plant Level, & not the Company code level... Kindly inform me is it possible to allocate the different Number Ranges for Plant Level
-
I've been trying to find more information on this and I apologies if this has already been answered. I just don't know the correct way to ask this. We have a SharePoint List at the company that we have people input information into different columns.
-
I'd like to use some of my java classes from my JSP pages, how do I do this? ie: I have a class public class Test public static void uselessFunx() //do nothing How would I get access to the
-
Ordered a PS3 controller and got a wireless version when a wired version was advertised
Hi, i ordered this http://www.bestbuy.com/site/pdp-rock-candy-controller-for-playstation-3/6608501.p?id=1218761709052&s... 2 nights ago and it just arrived. I opened it to find out it was actually a wireless controller(that also needs batteries which
-
Trace Stack Error - Multiple step operation generated errors
When importing a mapping table into Financial Data Management, I received an error code 2147217887 multiple-step operation generated errors. Check each status value. I was exporting a mapping table from our development application into our production