How to handle discounts to be given to main company?
I am delivering goods and invoice to comany X,Y and Z which are subsidiaries of Company -A. But I want to give a consolidated discount only to comapny A (for the sales made to X,Y,Z). How do I handle this in SD module?
The standard SAP process says that you can give the same status to other Customers through Customer Hrchy, what you are giving to the Top Customer in the Customer Hrchy, but just what others are mentioning that, discount can be constrained to the parent company through this (I am not knowing the full functionality that how this will be done) if you go by my view there can be a alternate to this for what you want to do, you can link the sold to party of other customers in the partner function view of Main Customer Master & from there you can set the discount for the Main Company. i think that will be much easier to do then going for customer Hrchy.
Reward Points if it helps
Regards,
N
Similar Messages
-
How to handle fix asset value increase for HongKong company?
Hi,
We have repaired a fix asset,the repair expense is more than 20k HongKong Dollar.How can we handle the expense with the fix asset?
Can anybody have any good suggestion?
Thanks,
DonHi,
Due to we don't use asset sub number,we would like to have another solution. Have anybody used the transaction "ABZON" with the old asset number to handle such case? Could anybody share your experience?
Thanks for all of you.
Best Regards,
Don -
How to handle event from subVI in the main VI?
Hello,
I'm doing some measurement. During the measurement I want the user to see some activity dialog - that's easy to do. Before the measurement starts I dynamically run VI (EX_Progress.vi) that shows some activity and then I do the measurement (in my example simulated by random number generation) . After the measurement is done (or error occurs) I can dynamically abort the activity indicator. But on the other hand I want to give to the user chance to abort the measurement manually via the activity dialog by STOP button. There are some ways how to do it via global variable and check every iteration in the main VI it's state but isn't there some better way? Would be nice to run event in the main VI when the user pushes the STOP button in the Progress VI. Is it possible to achieve this using register events? I tried but don't really now how I'm not familiar with this technique.
Thanks in advance
Message Edited by ceties on 11-26-2007 01:34 PM
LV 2011, Win7
Attachments:
Ex.zip 374 KBOK, here's an example using User Events. It doesn't directly have the main VI listen for the Button press event in the subVI. Instead, it has the main VI listen for a custom User Event that the subVI fires every time there's a button press. You could theoretically directly listen to the button press directly from the Main VI, but you would have to somehow get that control's reference to the main VI. That would require storing a copy of it in a global or some such method. This method I will show here is very common and is definitely worth learning.
For more info on User Events, refer to the LabVIEW help. You can learn more by clicking any of the User Event VIs and selecting Help from the shortcut menu.
(I didn't set the subVIs front panel to open automatically, so you'll have to do that yourself to see anything from this demo...)
Message Edited by Jarrod S. on 11-26-2007 02:51 PM
Jarrod S.
National Instruments
Attachments:
Example.zip 25 KB -
Handling discounts in purchasing
How to handle discounts in purchasing...is there way this could be done.
Thanksmeans using advanced pricing qualifiers and modifiers is this possible..if yes then could this be achieved.
if someone could please help us with the setup regards this...
Edited by: user12187495 on Apr 19, 2010 2:44 PM -
How to handle credit card payments in SAP for customer payments
Hello,
Kindly let me know how to handle credit card payments, as per the company's process at the time of sales order the credit card are authorized for the customers and the moment delivery is done the credit card is charged, by the time billing ( invoice) is done the amt is already in the bank, this is done is the current system, how do we implement this in sap and what kind of info do we need to know inorder to successfully implement this payment process, points will be awarded ,
thanks a lot.Hi Purnachandra,
Do you have any details of the credit card flat file upload into SAP. How these may be applied to the invoices and clear them similar to the lockbox porcess. Any help would be highly appreciated and rewarded.
Thanks,
Deep -
How to Handle Cancelation of PO, Partial Order Acceptance
Dear Experts,
Please give me the answers -
1] How to cancel purchase order on eleventh hour.
I mean user have created purchase order, released the PO. For any reason the purchase order to be canceled.
2] Partial Order acceptance -
Actual PO Quantity - 500. GR is to be posted for quantity - 250. How to cancel the rest 250 Qty.
cancellation means no further GR is to be posted for the same.
3] How to handle complaints and material return to vendor in SAP?
4] How to handle Returnable packaging.
That mean my company provides a container to Vendor to pack the material and deliver it to me.
Thanks in Advance !hi,
1. You can delete the line item and then save the PO...
2. Use "delivery completed indicator" at GR for showing the indication that your requirement is fulfilled while the rest qty is not further req. but possible...
3. Complaints is not necessary but you provide direct indication may be via scrapping etc..and vendor return is handled via using the proper mvt type like 122 etc...for returning the mateiral to vendor as per the business scenerio...
4. check with the SD or few forums on same ....
Regards
Priyanka.P -
How to handle vendor discounts based on the qty / value procured.
Hello
How to handle vendor discounts based on the qty / value procured.
a. Scenario: you have entered into a contract with vendor that you will buy goods worth Rs 10000/- and if you buy goods worth more than 100000 the vendor says he will give a discount of Rs 5000/- @ the end of the year.
i) How to handle this sceneriou2019s with SAu2019s
ii) What does STD SAP offer.
Regards
Sapman manHi,
For the discucount condition type, you have to maintain scales.
Take Condition type - Discount Value ( RB00)
Discount Value ( RB00) - Means Fixed discount. For this condition type, you have to maintain Scale basis as Value scale 'B' in the condition type customization.
Transcation : M/06
Select your condition type RB00 and click on the details icon.
In the Scales block, you have to maintain and save.Calculation type = Fixed amount
Scale basis = Value scale 'B'
For this condition type, you have to maintain scales in the inforecord.
Transcation : ME12
Select this condition type, click on the Scales icon. There you have to maintain like
From : 10,0000 Rate: 5000.
It means, if the document value is reached 10,0000 then discount is 5000rs. If the value islessthen the 10,0000 then no discount.
Regards
KRK -
How to find Handling unit for a given Sales order...
From which table can we find the Handling unit for a given Sales order?
hi this will help u.
SALES AND DISTRIBUTION TABLES
KONV Conditions for Transaction Data
KONP Conditions for Items
LIKP Delivery Header Data
LIPS Delivery: Item data
VBAK Sales Document: Header Data
VBAP Sales Document: Item Data
VBBE Sales Requirements: Individual Records
VBEH Schedule line history
VBEP Sales Document: Schedule Line Data
VBFA Sales Document Flow
VBLB Sales document: Release order data
VBLK SD Document: Delivery Note Header
VBPA Sales Document: Partner
VBRK Billing: Header Data
VBRP Billing: Item Data
VBUK Sales Document: Header Status and Administrative Data
VBUP Sales Document: Item Status
VEKP Handling Unit - Header Table
VEPO Packing: Handling Unit Item (Contents)
VEPVG Delivery Due Index
with regards,
Hema Sundara,
pls reward if u find it helpful. -
How to handle Pricing error " Y " Inactive because of subseque
Hi,
ZSAA is Basic price condition type, it determineds the value through alter.cal type as 100.00 usd, but it shows as
ZSAA is "Inactive because of subsequent pricing".
In the pricing screen, if we select the condtion details of ZSAA,
the new screen branch out, in this under control data, we
have below fields, in this Inactive field automatically says
"Y" - Inactive because of subseque
Condition class,
Cal.type
Condi category
Condi.control
Condition origin
Inactive
Can any body tell me what is the issue? how to handle this errohi,
let me put it this way, ZSAA is deriving the value of 100 $ through alt calculation type based on a different condition, for example Z123.
the alternative cal type is doing some calculation based on the value fetched for Z123. Now there must be some other condition type in your pricing procedure which is more relevant to the sales transaction you are doing. Now obviously the price determined for ZSAA should no longer be applicable because you should not have two prices active at the same time for a given sales order.
Let me try explain further, for example if there is net price condition availble in your pricing procedure. ZSAA determined some value and is active, but as soon as you enter value for this net price condition say ZNET, the ZSAA condition becomes inactive. Because after net price you dont need calculate any furhter discounts.
Hope it helps.
regards,
Sadhu Kishore -
How to handle the #error in ssrs expression
hi
Please any one help me to resolve this #error ,
I have a calculated filed in that expression i given a if condition like below
data of column is coming like this 0 , 0.0
=IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/( Fields!Column1.Value)))
how to handle the #error
Please let me know any oneHi deepuk23,
According to your description, when you use the IIF() function in the report you got some error,right?
The issue can be caused by the column1 and column2 have different datatype, I assumed that one is integer and another is float, when the Column1 is 0 or null, because IIF() function always evaluates both the true part and the false part, even
though it returns only one of them, it will throw out the error.
To resolve the issue, you should use a nested IIF() function to avoid the zero-divisor in any rate like below:
=IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/(IIF(Fields!Column1.Value=0,1,Fields!Column1.Value))))
For more information, please refer to this article:
FAQ: Why does the “Attempted to divide by zero” error still happen?
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
SAP Business One 9.1 is about to release in this year with many feature enhancements in various areas, such as in Business Logic and Localization, Reporting and Analytics, Lifecycle Management and Support, SDK Features for extensibility, Infrastructure and Architecture, etc. , with this upgrade every organization using SAP Business One is also expecting that some previous System Crash problems associated with SAP Business One 8.8 or 9.0, will also be resolved with the advent of 9.1.
But until 9.1 is available in GA, we have to know and follow some procedures to avoid this situation. Through this blog we have addressed ‘How to handle common system crashes in SAP Business One until you upgrade to SAP Business One 9.1’. In below link you can have a look that what common system crash issues been reported and what solution given by the community members:
common system crashes in SAP Business OneHi,
Thanks for sharing valuable information with us. You may repost this discussion as "Document" or Blog type.
Thanks & Regards,
Nagarajan -
How to handle multiple save exceptions (Bulk Collect)
Hi
How to handle Multiple Save exceptions? Is it possible to rollback to first deletion(of child table) took place in the procedure.
There are 3 tables
txn_header_interface(Grand Parent)
orders(parent)
order_items (Child)
One transaction can have one or multiple orders in it.
and one orders can have one or multiple order_items in it.
We need to delete the data from child table first then its parent and then from the grand parent table.if some error occurs anywhere I need to rollback to child record deletion. Since there is flag in child table which tells us when to delete data from database.
Is it possible to give name to Save exceptions?
e.g.
FORALL i IN ABC.FIRST..ABC.LAST SAVE EXCEPTIONS A
FORALL i IN abc.FIRST..ABC.LAST SAVE EXCEPTIONS B
if some error occurs then
ROLLBACK A; OR ROLLBACK B;
Please find the procedure attached
How to handle the errors with Save exception and rollback upto child table deletion.
CREATE OR REPLACE
PROCEDURE DELETE_CONFIRMED_DATA IS
TYPE TXN_HDR_INFC_ID IS TABLE OF TXN_HEADER_INTERFACE.ID%TYPE;
TXN_HDR_INFC_ID_ARRAY TXN_HDR_INFC_ID;
ERROR_COUNT NUMBER;
BULK_ERRORS EXCEPTION;
PRAGMA exception_init(bulk_errors, -24381);
BEGIN
SELECT THI.ID BULK COLLECT
INTO TXN_HDR_INFC_ID_ARRAY
FROM TXN_HEADER_INTERFACE THI,ORDERS OS,ORDER_ITEMS OI
WHERE THI.ID = OS.TXN_HDR_INFC_ID
AND OS.ID = OI.ORDERS_ID
AND OI.POSTING_ITEM_ID = VPI.ID
OI.DW_STATUS_FLAG =4 --data is moved to Datawarehouse
MINUS
(SELECT THI.ID FROM TXN_HEADER_INTERFACE THI,ORDERS OS,ORDER_ITEMS OI
WHERE THI.ID = OS.TXN_HDR_INFC_ID
AND OS.ID = OI.ORDERS_ID
OI.DW_STATUS_FLAG !=4);
IF SQL%NOTFOUND
THEN
EXIT;
END IF;
FORALL i IN TXN_HDR_INFC_ID_ARRAY.FIRST..TXN_HDR_INFC_ID_ARRAY.LAST SAVE
EXCEPTIONS
DELETE FROM ORDER_ITEMS OI
WHERE OI.ID IN (SELECT OI.ID FROM ORDER_ITEMS OI,ORDERS
OS,TXN_HEADER_INTERFACE THI
WHERE OS.ID = OI.ORDERS_ID
AND OS.TXN_HDR_INFC_ID = THI.ID
AND THI.ID = TXN_HDR_INFC_ID_ARRAY(i));
FORALL i IN TXN_HDR_INFC_ID_ARRAY.FIRST..TXN_HDR_INFC_ID_ARRAY.LAST SAVE
EXCEPTIONS
DELETE FROM ORDERS OS
WHERE OS.ID IN (SELECT OS.ID FROM ORDERS OS,TXN_HEADER_INTERFACE THI
WHERE OS.TXN_HDR_INFC_ID = THI.ID
AND THI.ID = TXN_HDR_INFC_ID_ARRAY(i));
FORALL i IN TXN_HDR_INFC_ID_ARRAY.FIRST..TXN_HDR_INFC_ID_ARRAY.LAST SAVE
EXCEPTIONS
DELETE FROM TXN_HEADER_INTERFACE THI
WHERE THI.ID = TXN_HDR_INFC_ID_ARRAY(i);
COMMIT;
DBMS_OUTPUT.PUT_LINE(TO_CHAR(SYSDATE, 'DD-MON-YY HH:MIPM')||':
DELETE_CONFIRMED_DATA: INFO:DELETION SUCCESSFUL');
EXCEPTION
WHEN OTHERS THEN
ERROR_COUNT := SQL%BULK_EXCEPTIONS.COUNT;
DBMS_OUTPUT.PUT_LINE(TO_CHAR(SYSDATE, 'DD-MON-YY HH:MIPM')||':
DELETE_CONFIRMED_DATA: ERROR:Number of errors is ' ||ERROR_COUNT);
FOR indx IN 1..ERROR_COUNT LOOP
DBMS_OUTPUT.PUT_LINE('Error ' || indx || 'occurred during
'||'iteration'||SQL%BULK_EXCEPTIONS(indx).ERROR_INDEX);
DBMS_OUTPUT.PUT_LINE('Error is '
||SQLERRM(-SQL%BULK_EXCEPTIONS(indx).ERROR_CODE));
END LOOP;
END DELETE_CONFIRMED_DATA;
Any suggestion would be of great help.
Thanks in advance
AnuIf you have one or two places in your code that need multiple exceptions, just do it with multiple catch statements. Unless you are trying to write the most compact Programming 101 homework program, inventing tricks to remove two lines of code is not good use of your time.
If you have multiple catches all over your code it could be a code smell. You may have too much stuff happening inside one try statement. It becomes hard to know what method call throws one of those exceptions, and you end up handling an exception from some else piece of code than what you intended. E.g. you mention NumberFormatException -- only process one user input inside that try/catch so it is easy to see what error message is given if that particular input is gunk. The next step of processing goes inside its own try/catch.
In my case, the ArrayIndexOutOfBoundsException and
NumberFormatException should be handled by the same way.Why?
I don't think I have ever seen an ArrayIndexOutOfBoundsException that didn't indicate a bug in the code. Instead of an AIOOBE perhaps there should be an if statement somewhere that prevents it, or the algorithm logic should prevent it automatically. -
How to handle error for a Db Table to Db table transform in ODI
Hi,
I have created two table in two different schema source and target, where there is a field for e.g.- place where the datatype is varchar2 and data inserted is string.
In designer model of ODI i have put the type of place as number in both source and target and accordingly done the mapping.
When it is executed it should give an error, but it got completed but no data is inserted neither in target table nor in error table in the target schema(E$_TARGET_TEST which is created automatically).
Why the error is not given and how to handle such type of error..
Please help.
The codes for source and target tables are as follows:
source table code:
CREATE TABLE "DEF"."SOURCE_TEST"
"EMP_ID" NUMBER(9,0),
"EMP_NAME" VARCHAR2(20 BYTE),
"SAL" NUMBER(9,0),
"PLACE" VARCHAR2(10 BYTE),
PRIMARY KEY ("EMP_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "USERS" ENABLE
inserted data:
INSERT INTO "DEF"."SOURCE_TEST" (EMP_ID, EMP_NAME, SAL, PLACE) VALUES ('1', 'ani', '12000', 'kol')
INSERT INTO "DEF"."SOURCE_TEST" (EMP_ID, EMP_NAME, SAL, PLACE) VALUES ('2', 'priya', '15000', 'jad')
target table code:
CREATE TABLE "ABC"."TARGET_TEST"
"EMP_ID" NUMBER(9,0),
"EMP_NAME" VARCHAR2(20 BYTE),
"YEARLY_SAL" NUMBER(9,0),
"BONUS" NUMBER(9,0),
"PLACE" VARCHAR2(10 BYTE),
PRIMARY KEY ("EMP_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "USERS" ENABLEHi,
I have used the following KMs in my transformation with the following options:
IKM SQL Incremental Update
INSERT <Default>:true
UPDATE <Default>:true
COMMIT <Default>:true
SYNC_JRN_DELETE <Default>:true
FLOW_CONTROL <Default>:true
RECYCLE_ERRORS <Default>:false
STATIC_CONTROL <Default>:false
TRUNCATE <Default>:false
DELETE_ALL <Default>:false
CREATE_TARG_TABLE <Default>:false
DELETE_TEMPORARY_OBJECTS <Default>:true
LKM SQL to SQL
DELETE_TEMPORARY_OBJECTS <Default>:true
CKM Oracle
DROP_ERROR_TABLE <Default>:false
DROP_CHECK_TABLE <Default>:false
CREATE_ERROR_INDEX <Default>:true
COMPATIBLE <Default>:9
VALIDATE <Default>:false
ENABLE_EDITION_SUPPORT <Default>:false
UPGRADE_ERROR_TABLE true -
LSMW - How to handle delimited records?
Greetings everyone,
I want to change infotype records with LSMW. I've done this with the use of a batch input recording.
This works, but only when the record is not delimited. Otherwise, the first record is modified but an error is given for subsequent records saying no batch input could be found.
I don't know how to handle this problem. Can anyone please help me?The txt file is tab delimited but that is not the problem.
I'm talking about another kind of delimit
The problem lies with the database records that I want to change. This works, but the moment the infotype record is delimited (or split), the recording isn't valid anymore (because it doesn't expect another screen).
So then I get an error saying no batch input can be found, and it skips the record(s) and continues with the next pernr. -
Bug in authorization handling: server refused the given info 10 times
I am getting the following error when trying to connect to a server through httpclient via NTLM authentication.
"Bug in authorization handling: server refused the given info 10 times"
Any help to solve the issue will really appreciated.
LINK to NTLM authentication source code
http://www.luigidragone.com/networking/ntlm.htmlThank you for your replies. Allow me to clarify.
1) I can override initSession, but how do I trap a failed login without implementing my own custom basic authentication? And isn't this something which is (should?) be handled by the supplied oracle classes? I've attached my provider.xml below, the only code outside this I am using is my custom filter.
2) I am being prompted for a password not by the SSO server, but by netstorage (Basic Authentication prompt). I presume basic authentication uses cookies? There cookies aren't getting passed through correctly?
<provider class="oracle.portal.provider.v2.http.URLProviderDefinition">
<providerInstanceClass>oracle.portal.provider.v2.http.URLProviderInstance</providerInstanceClass>
<session>true</session>
<authentication class="oracle.portal.provider.v2.security.Authentication">
<authType>basic</authType>
</authentication>
<passAllUrlParams>false</passAllUrlParams>
<portlet class="oracle.portal.provider.v2.http.URLPortletDefinition">
<id>1</id>
<name>NetStorage</name>
<title>NetStorage</title>
<description>NetStorage</description>
<timeout>40</timeout>
<showEditToPublic>false</showEditToPublic>
<hasAbout>false</hasAbout>
<showEdit>false</showEdit>
<hasHelp>false</hasHelp>
<showEditDefault>false</showEditDefault>
<showDetails>false</showDetails>
<renderer class="oracle.portal.provider.v2.render.RenderManager">
<showPage class="oracle.portal.provider.v2.render.http.URLRenderer">
<contentType>text/html</contentType>
<charSet>UTF-8</charSet>
<pageUrl>https://domain/oneNet/netstorage/</pageUrl>
<filter class="portal.netstorage.NetStorageFilter"></filter>
</showPage>
</renderer>
</portlet>
</provider>
Maybe you are looking for
-
I am a proud user of Firefox. I started experiencing the freezing problem since i updated to Firefox 18 and now I am facing the same problem with Firefox 19. Firefox does not respond to any of my clicks and then I have to close it using Task Manager.
-
"Full Screen" in Aperture 3.2.1 is on wrong screen.
"Full Screen" in Aperture 3.2.1 - I finally bought Aperture and tried editing using my macbook pro and cinema display. I am working with Aperture on the cinema display and selected "Full Screen," however, the "Full Screen" shows up on the laptop, no
-
CS2/W8 - Could not initialize photoshop because the file is locked
I just upgraded to Windows 8 64 bit last night. I had been running Cs2 just fine on Windows 7 64 bit for a few years now. In fact I used it last week. Now after the upgrade is complete, I get this error message when I try to launch CS2: Could no
-
Apple tv is reducing tv volume
Whenever I turn on my apple tv, the volume on my TV immediately and automatically goes down to zero. I have had the apple tv and been using it with the same Sony Bravia TV for over a year without any problem until yesterday. Both devices have fully
-
Hi All, I have the below logic in ECC 6 FORM ysd_sd09_124_clean_up_zzcmw. DATA: lv_a0 TYPE i VALUE 160. DATA: lv_trans(2). FIELD-SYMBOLS: <lf> TYPE c. ASSIGN lv_a0 TO <lf> CASTING TYPE c. lv_trans(1) = <lf>+3(1). TRANSLATE vbkd-zzcmw USIN