on 08-05-2015 9:14 AM
Hi,
Issue
I need to pay Vendors from different bank accounts based on the allocation to different Segments or Profit Centres.
Salient Information
SAP ECC6.
Set-up Step in Substitution Rule (Line Item):
Pre-Requisite BSEG-BUKRS = '1000' and BSEG-KOART = 'K' and BSEG-ZLSCH = ''
I have a table with an indicator that says If the Segment belongs to certain group then don't put payment method on document. If Segment belongs to other group the payment method 'X' must be placed on the Line item.
My issue is that the Segment is not populated on the BSEG structure
Can someone let me know where I can find either the other lines of the transaction entered or the derived segment/(s) for the Vendor Item
Thanks
Hi,
Will approach the ABAPP'er in the morning to try and understand what you mean.
You won't do this with Substitution rule but with function module when document is saved?
I'm worried about producing error here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Example (Simplification)
Segment 1 Payment Method A
Segment 2 Payment Method A
Segment 3 Payment Method B
Segment 4 Payment Method B
Payment Method A- Bank Account 4567
Payment Method B- Bank Account 8901
When Segment 1 and/or 2 refers to Payment Method A- Leave ZLSCH blank and use what’s on Vendor Master Master for Selection
When Segment 3 and/or 4 refers to Payment Method B- Populate B on ZLSCH
When Segment 1 or 2 and (3 and/or 4) then process Error and don’t post transaction
When Segment 3 or 4 and (1 and/or 2) then process Error and don’t post transaction
I cannot see the faglflexa items at this stage. Any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I mean what you will do if you have such case
Entry view
Dr Expenses Segment 1
Dr Expenses Segment 2
Dr Expenses Segment 3
Cr Vendor
Which Payment method you will put?
You can find out segment at corresponding item for Vendor, in my example it's expense account.
For example you could use BTE 1120, here you can see whole document, enhance structure for ZLSCH.
Hi,
I have 2 legal entities in one Co Code (temporarily due to time constraints) but they must be separated soon.
Want to pay each entity liabilities from its own bank account.
Vendors are be shared
W.r.t. your example above:
If segments 1,2 and 3 belonged to Entity A, no change are required and document can be posted.
If segments 1,2 and 3 belonged to Entity B, then change BSEG-ZLSCH to appropriate payment methods dependent on priority.
If segments belonged to entity A and B, then stop transaction from being posted. (I can opt for different options here) (Can possibly do Payment block)
I have tried substitution rule at Callup point 2
Pre Requisite:
BSEG_BUKRS = '1000' and
BSEG-KOART = 'K' and
BSEG-ZLSCH = ' '
BSEG-SEGMENT not populated (Profit Centre and Segment derived from other line items of the transaction Segments 1 2 and 3 based on your selection)
COBL-SEGMENT is populated as structure- only one line item at time
Hi,
you want do it for invoice?
Can in this document be several different segments?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.