Closing of open sales order( Reward)
example- i have open sales order of 100 qty and 50 qty have been delivered and 50 qty is left .is there any option to close that sales order without delivery so that nobody can see it again?plz suggest me?best answer ll be rewared.
Hi tripathy
in this case you have to define reason fo rejection path : spro -sd- sales -sales documents header -sales document item define reason for rejection.
you should be more specific about rejection reason.
after delivering 50 quantity for remaining 50 quantity organisation has rejected or customer has rejected.
now goto VA02 give all the details and material give remaining 50 quantity select reason for rejection.
i hope you have understood.
if your doubts is clear don't forget to reward.
thanks
surya
Edited by: ramakrishna suryanarayanarao on May 27, 2008 7:07 AM
Similar Messages
-
Open Sale Order Value (FD33) not getting diminished even after closing SO?
Hi,
Upon Executing FD33 and clicking the status view for a Customer say XYZ , and then choosing EXTRAS-Open Sale Order . Say the value of open sale orders being shown is 75000. Even after closing the open sale orders (By Selecting VA05 and Putting reason for Rejection), and then also the Open Sales Order value is not getting diminished.
What could be the reason ?
Pls help.
Regrds,
BinayakHi Binayak,
As mentioned by you, running of Credit re-org program 'RVKRED77' is the only solution for this problem and it is known problem in SAP.
Some precautions
1. Always run the program in background by scheduling a job.
2. The idle time is around midnight when no user is working on SAP.
3. Some time the job fails as some other program may be updating same tables as this program. In such cases re-schedule the job at different time.
4. You may run the program 'RVKRED88' which will simulate without actual updation of credit values.
Hope this clarifies..
Regards,
Madhu. -
Rajesh/Sadhu/RobertoUrgent :- Open Sale Order Value not getting Reduced?
Hi,
Upon Executing FD33 and clicking the status view for a Customer say XYZ , and then choosing EXTRAS-Open Sale Order . Say the value of open sale orders being shown is 75000. Even after closing the open sale orders (By Selecting VA05 and Putting reason for Rejection), and then also the Open Sales Order value is not getting diminished.
What could be the reason ?
Pls help.
Regrds,
Binayak
Message was edited by:
Binayak Ghosh
Message was edited by:
Binayak GhoshHi Binayak,
As mentioned by you, running of Credit re-org program 'RVKRED77' is the only solution for this problem and it is known problem in SAP.
Some precautions
1. Always run the program in background by scheduling a job.
2. The idle time is around midnight when no user is working on SAP.
3. Some time the job fails as some other program may be updating same tables as this program. In such cases re-schedule the job at different time.
4. You may run the program 'RVKRED88' which will simulate without actual updation of credit values.
Hope this clarifies..
Regards,
Madhu. -
How to Close Mass Open Sales Orders (Partially / not executed ) at one go
Dear All
We are having lots of OPEN SALES ORDERS , few are COMPLETELY OPEN and rest are PARTIALLY used .Now my requirement is to CLOSE all such Sales Order at one go ie. MASS CLOSING OF OPEN SALES ORDER .
Please Guide.
Regards
Animesh ChakrobortyDear Animesh
First have those open order references in an excel sheet.
Go to MASS, input Object Type BUS2032 and execute. There block "Sales order header data" and click on "Fields". There select the field "MASSSDHEAD_S-LIFSK" and execute.
Now click on "Multiple selection" (right arrow), copy those order references and press "Shift+F12" and execute. There on top, assign some block and execute. All your sale orders will be blocked.
On the other hand, you can also change the status of those sale orders by assigning "Reason of Rejection" in mass. To achieve this, go to TCode MASS, input Object Type BUS2032 and execute. There block on "Sales Order Item Data" and click on "Fields". There block the field "MASSVBAP-ABGRU" and execute. Follow the same procedure as explained above.
Now see the document flow of those sale orders.
thanks
G. Lakshmipathi -
hi
i want to close all the open sales orders at the end of every month in a single strech
regards
ramanaRamana,
You can do this. Before doing this may i know why you want close. Generally, we won't do this. This should be done by the SAP system based on the system. if you want to do it only once for missing materials, you do this. Download all the Open Sales Orders into CSV file. Change the Status of the Orders to Closed (for all open orders). Upload data from Flat file. Then system will take it as closed. Consider the subsequent documents values for the sales orders.
this will help you. other wise you need to request from SAP (If all sales orders already closed, that missed in delta request). You can do the Repair full request.
all the best.
Regards,
Nagesh Ganisetti. -
hi ,
developed a report(alv list) to search application database for open sales orders. the inputs are sales organization, sold to party, material number,customer purchase order number,sales order craetion date.Hi,
sales organization, sold to party, material number,customer purchase order number,sales order craetion date.
to get the open sales order, that is the DElivery for sales order is not created.
u can check the status of sales order in the tables VBUK /VBUP.
In VBUK , check one filed(iam not sure at this movement) , if the field value is C, then that particular order is closed, if not C(i.e A (no delivery)or B(some part of items are deliverd) ) . From this u can display Open Sales Orders.
Revert Back if any issues,
Reward with points if helpful.
Regards,
Naveen -
Change of open sales order : using BAPI
Hi
this is ravi
can any one help me on this topic
1)change of open sales order using BAPI .With appropriate reason( like header level reason)
thanks & regardshI,
chk this FM BAPI_SALESORDER_PROXY_UPLOAD how the FM BAPI_SALESORDER_CHANGE was used
Check this code,
REPORT Z_SALES_ORDER_CHANGE
NO STANDARD PAGE HEADING
LINE-SIZE 132
LINE-COUNT 65(0)
MESSAGE-ID ZZ.
TABLES: VBAP.
DATA:
V_FILEIN(90) TYPE C,
V_RECIN TYPE I,
V_RECVBAP TYPE I,
V_RECORDER TYPE I,
V_VBELN LIKE VBAP-VBELN,
ORDERHEADERINX LIKE BAPISDH1X.
DATA: BEGIN OF I_ORDERS OCCURS 0,
VBELN LIKE VBAK-VBELN,
POSNR LIKE VBAP-POSNR,
BRGEW(18) TYPE C,
VOLUM(18) TYPE C,
END OF I_ORDERS.
DATA: BEGIN OF I_OUTPUT OCCURS 0,
VBELN LIKE VBAK-VBELN,
POSNR LIKE VBAP-POSNR,
GEWEI LIKE VBAP-GEWEI,
BRGEW LIKE VBAP-BRGEW,
VOLUM LIKE VBAP-VOLUM,
CKWGT TYPE C,
CKVOL TYPE C,
END OF I_OUTPUT.
DATA: BEGIN OF ORDERITEMIN OCCURS 0.
INCLUDE STRUCTURE BAPISDITM.
DATA: END OF ORDERITEMIN.
DATA: BEGIN OF ORDERITEMINX OCCURS 0.
INCLUDE STRUCTURE BAPISDITMX.
DATA: END OF ORDERITEMINX.
DATA: BEGIN OF RETURN OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA: END OF RETURN.
DATA: BEGIN OF BAPIRETURN OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA: END OF BAPIRETURN.
PARAMETERS:
P_PATH(45) TYPE C DEFAULT '/usr/users/ftpsapom/' LOWER CASE,
P_FNAME(32) TYPE C DEFAULT '/sweetjo.txt' LOWER CASE.
START-OF-SELECTION.
CONCATENATE PATH AND FILE NAME INTO ONE VARIABLE
CONCATENATE P_PATH P_FNAME INTO V_FILEIN.
OPEN DATASET
IF V_FILEIN IS INITIAL.
MESSAGE E002 WITH 'FILE' V_FILEIN 'DOES NOT CONTAIN ANY DATA!'.
ELSE.
OPEN DATASET V_FILEIN
FOR INPUT
IN TEXT MODE.
IF SY-SUBRC = 0.
READ DATASET
DO.
READ DATASET V_FILEIN INTO I_ORDERS.
IF SY-SUBRC = 0.
APPEND I_ORDERS.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET
CLOSE DATASET V_FILEIN.
IF SY-SUBRC <> 0.
MESSAGE E002 WITH 'ERROR - CLOSING' V_FILEIN.
ENDIF.
ELSE.
MESSAGE E002 WITH 'ERROR - COULD NOT OPEN' V_FILEIN.
ENDIF.
ENDIF.
SORT AND REMOVE DUPLICATES FROM I_ORDERS
SORT I_ORDERS BY VBELN POSNR.
DELETE ADJACENT DUPLICATES FROM I_ORDERS.
POPULATE I_OUTPUT
LOOP AT I_ORDERS.
SHIFT I_ORDERS-POSNR LEFT DELETING LEADING SPACE.
CONCATENATE '0' I_ORDERS-POSNR INTO I_ORDERS-POSNR.
SELECT SINGLE BRGEW VOLUM
FROM VBAP
INTO (VBAP-BRGEW, VBAP-VOLUM)
WHERE VBELN = I_ORDERS-VBELN
AND POSNR = I_ORDERS-POSNR.
IF SY-SUBRC = 0.
IF VBAP-BRGEW = 0.
I_OUTPUT-CKWGT = 'X'.
ENDIF.
IF VBAP-VOLUM = 0.
I_OUTPUT-CKVOL = 'X'.
ENDIF.
I_OUTPUT-VBELN = I_ORDERS-VBELN.
I_OUTPUT-POSNR = I_ORDERS-POSNR.
I_OUTPUT-GEWEI = 'ST'.
I_OUTPUT-BRGEW = I_ORDERS-BRGEW.
I_OUTPUT-VOLUM = I_ORDERS-VOLUM.
APPEND I_OUTPUT.
CLEAR: I_OUTPUT.
ENDIF.
V_RECIN = V_RECIN + 1.
ENDLOOP.
POPULATE BAPI DATA AND RUN BAPI
CLEAR: ORDERHEADERINX, ORDERITEMIN, ORDERITEMINX,
RETURN, BAPIRETURN.
REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
ORDERHEADERINX-UPDATEFLAG = 'U'.
LOOP AT I_OUTPUT WHERE CKWGT = 'X' OR CKVOL = 'X'.
V_RECVBAP = V_RECVBAP + 1.
IF I_OUTPUT-VBELN <> V_VBELN AND SY-TABIX <> 1.
V_RECORDER = V_RECORDER + 1.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = V_VBELN
ORDER_HEADER_INX = ORDERHEADERINX
TABLES
RETURN = RETURN
ORDER_ITEM_IN = ORDERITEMIN
ORDER_ITEM_INX = ORDERITEMINX.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = BAPIRETURN.
WRITE OUT RETURN
LOOP AT RETURN.
WRITE: / RETURN.
ENDLOOP.
WRITE: / BAPIRETURN.
SKIP.
CLEAR: ORDERITEMIN, ORDERITEMINX,
RETURN, BAPIRETURN.
REFRESH: ORDERITEMIN, ORDERITEMINX, RETURN, BAPIRETURN.
ENDIF.
ORDERITEMIN-ITM_NUMBER = I_OUTPUT-POSNR.
ORDERITEMIN-UNTOF_WGHT = I_OUTPUT-GEWEI.
IF NOT I_OUTPUT-CKWGT IS INITIAL.
ORDERITEMIN-GROSS_WGHT = I_OUTPUT-BRGEW.
ORDERITEMINX-GROSS_WGHT = 'X'.
ENDIF.
IF NOT I_OUTPUT-CKVOL IS INITIAL.
ORDERITEMIN-VOLUME = I_OUTPUT-VOLUM.
ORDERITEMINX-VOLUME = 'X'.
ENDIF.
APPEND ORDERITEMIN.
ORDERITEMINX-ITM_NUMBER = I_OUTPUT-POSNR.
ORDERITEMINX-UNTOF_WGHT = 'X'.
ORDERITEMINX-UPDATEFLAG = 'U'.
APPEND ORDERITEMINX.
V_VBELN = I_OUTPUT-VBELN.
ENDLOOP.
RUN BAPI ON LAST ORDER
IF NOT ORDERITEMIN IS INITIAL.
V_RECORDER = V_RECORDER + 1.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
SALESDOCUMENT = V_VBELN
ORDER_HEADER_INX = ORDERHEADERINX
TABLES
RETURN = RETURN
ORDER_ITEM_IN = ORDERITEMIN
ORDER_ITEM_INX = ORDERITEMINX.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = BAPIRETURN.
WRITE OUT RETURN
LOOP AT RETURN.
WRITE: / RETURN.
ENDLOOP.
WRITE: / BAPIRETURN.
SKIP.
ENDIF.
WRITE OUT RECORD COUNT FROM FILE
WRITE: / 'RECORD COUNT FROM FILE ', V_RECIN.
SKIP.
WRITE OUT RECORD COUNT FROM FILE
WRITE: / 'RECORD COUNT OF LINES TO CHANGE ', V_RECVBAP.
SKIP.
WRITE OUT RECORD COUNT FROM FILE
WRITE: / 'RECORD COUNT OF ORDERS TO CHANGE ', V_RECORDER.
SKIP.
TOP OF PAGE
TOP-OF-PAGE.
WRITE:/1(5) TEXT-H01, 6(8) SY-DATUM MM/DD/YY,
100(8) TEXT-H02, 126(8) SY-PAGNO.
WRITE:/1(5) TEXT-H03, 6(8) SY-UZEIT USING EDIT MASK '__:__:__',
20(77) TEXT-H04,
100(8) TEXT-H05, 108(25) SY-REPID.
WRITE:/1(6) TEXT-H06, 8(12) SY-UNAME,
20(4) TEXT-H07, 25(32) SY-HOST,
100(13) TEXT-H08, 121(8) SY-SYSID,
129 '/', 130(3) SY-MANDT.
ULINE.
SKIP
<b>Reward points</b>
Regards -
Hi,
We have a business scenario of one sales order --> one delivery document. Any items which have not been confirmed for delivery need to be closed out so that they do not show up as open requirements.
One way is to reject the open line items. However, rejection reduces the original customer sales order value.
Is there any other way that the open sales order line items can be changed in status so that the pricing is intact, but the item is closed out ?
Would appreciate inputs from the forum
ThanksHi
In standard itself this can be achieved
In t code OVAG itself for your reason of rejection if you maintain BLANK in the statistical column
Then those rejected values will not be reflected in sales order
Suppose a sales order contains three materials say
Material A qty 3 units
Material B qty 3 units
Material C qty 2 units
Each and everything is priced as 10 US dollars
then the nett value of this order will be 80 US dollars
Suppose if you reject Material C qty 2 units with a reason of rejection by maintaining the settings that i mentioned above the sales order value still Will be 80 US dollars and will not become 60 US dollars
This is what you are looking for (i hope so)
Please try this
Regards
Raja -
In a report i am in need of obtaining open sale order for a material. open sale order means sale orders for which the PGI is not yet done.
Please tell me the data fetching from various tables.
can anybody tell me how to achieve this..HI
Give logic to ur ABAPER in FS If in VA02 Item is given as if Balance Qty is Greater than 0 then it is OPEN and if not it is Closed.
Regards
Santosh.A.R -
Dear Experts,
I have a similar requirement i.e. A good Volume of Open Sales Orders which are to be Closed. The Status of these Sales Orders being Partially Delivered, Not Delivered and Being Processed. Can I have a best solution to close them via an SAP transaction or with an ABAP Program. Kindly give us a detailed Solution to proceed.
Regards
HariHi,
As i understood, you want the STATUS of the orders to be COMPLETE.
For this you have to do some settings in the ITEM CATEGORY in VOV7
Goto the Transaction code VOV7 and select the ITEM CATEGORIES for all those documents and maintain the *COMPLETION RULE as A.*
Now check creating the new documents after executng the full cycle.
thanks,
santosh -
Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using
Hi Experts,
I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
I'll get all the required data with field in an excel file.
Does any standard transaction exist for it ? Or how to go ahead with it ?
Thanks and regards,
Jyoti ShankarHi
If you are checking for CREATE option then Sales Doc Type
For more Info goto SWO1 transaction -> BUS2032 --> DIsplay --> Execute --> There SELECT the method which you want to perform... There you can fine the MANDATORY parameters also....
Or in DISPLAY mode PLACE Cursor on the Required Method and CLick the PARAMETERS button on toolbar...
That will show the MANDATORY parameters...
Reward if helpful....
Message was edited by:
Enter the Dragon -
Current month open sales orders
Hello Experts,
I have requirement to build a custom report to calculate open sales order quantity and its count for current month. I know we can use VBBE for open quantity and VBUP for the status to capture the count, however how can i add the logic to get the required information for the current month. Is there a function module or BAPI available which can be of any help, i have to consider the performance issue too, if i were to use multiple tables. Please advise
Thanks
RahulHI Rahul,
There is a standard BAPI available for listing Sales Orders.
<b>BAPI_SALESORDER_GETLIST</b>
However to meet your requirement of <b>OPEN sales orders</b>, you will have to modify this BAPI to suit your purpose. You can give appropriate logic to you ABAPer with reference to tables VBUK,VBUP, etc. This means that you will have to create a new Z-BAPI, keeping the above BAPI as the core.
Once this is done you can wrap Z-BAPI in a transaction code or a program/ report, so that it is ready to use by business.
Selection Variants can be used to default the date range as 01/MM/XXXXX to 31/MM/XXXX.
Hope this will prove of some help to you..
if yes then ..pls reward liberally
Sachin Bhonsle -
Open sales order, Invoice.......
Hi
Is there any standard report where i can see all the open order for sales organisation level. similarly i want see all the invoice created on a particular month at sales organisation level.
I know we can see at VA05 Open sales orders but this is for Customer or material specific..
VF05 For payer and material Specific... here i cannot see for sales organisation level..
I want this report at sales organisation level.. can any body guide me in this regard.
Regards
MBSHi
One way of getting the open sales order report at sales org level is the "Backorder Report" - try using transaction V_RA
For Billing info at sales org level, an easy way is to get the information at the table level - please use transaction SE16 and table VBRK to get the relevant information
Reward points if this helps you
Rgds -
Hi All,
How to make Open Sales Order Report for previous year.my client want to open sales order list as on 31/03/2014.
please suggested me.
Thanks&Regards,
P.Prataphi all,
thanks for your replies,
i need open sales orders before 31032014. plz look into the below scenario
for ex:
S.no Sales order No still open 31/03/2014 closed date
1 101 open Open
2 102 closed Open 03/04/2014
3 103 closed Open 01/04/2014
i need report like these 3 open sales orders as on 31/03/2014. -
Can someone tell me if there is any FM to list out the Open and Closed Sales Orders as per indicator?
Thanks,
Archana.you can check this program.... SDEWUORD
It contains the logic for open sales orders. you can check the routine FORM FILTER_OPEN_ORDERS in th above program it might be helpful for you.
siri...
check this fm also..........OPEN_ORDER_SALES
Maybe you are looking for
-
Java 8 64 bit on Windows with NSS for FIPS 140 compliance
I have asked this question on Stackoverflow but I am beginning to think that this may be a better forum to ask. According to JEP 131, Java 8 should provide a PKCS#11 Crypto provider for 64 bit Windows: https://blogs.oracle.com/mullan/entry/jep_131_p
-
Dump "GETWA_NOT_ASSIGNED" while implementing Remodeling
Hello Everyone, i am trying to add an infoobject 0calweek with constant value using remodeling. while implementing this scenario i encountered with a short dump "GETWA_NOT_ASSIGNED" could anybody suggest any fix to this issue. Thanks and Regards, Aja
-
How i will be able to retrieve a back up that was taken 2 months ago?
i lost my contacts and i tried to restore from latest back up, but my device synch so i lost this. I have another device with teh same number. could anyone help me if he or she knows how a previous back up, which is not visible in itunes could be ret
-
Bookmark option is greyed-out, how can I create a bookmark from text?
In the Link Inspector the Add bookmark option is greyed-out. I want to make a heading on page 4 a bookmark so that readers can jump to that page from the beginning.
-
Hi, I've been trying to develop a java applet application and deploy it on a portal page. I managed to use a HTML portlet to link the java applet through an URL. So far so good. But then I wonder is that a good way for this implementation? Can anyone