Need logic for calculate the balance quantity in open sales order
hi all
i need logic to calcuclate the balance quantity in open sales order ,
where i am using VBAK header and VBAP item , and VBFA for document flow tables
i need to have the balance quantity , for the open sales order
especially taking with respect to VBFA-VBTYP_N = M for invoice creation and N for canellation
any one please help me
thank you but i am clear abt it
will you please anyother way to calucaluate the logic ,
and i need to populate in bukets also for the terms of 5 years
Edited by: sridhar loganathan on Nov 25, 2008 6:43 AM
Similar Messages
-
System doesnt let me change the delivery quantity greater than sales order
Hi,
In delivery document , when I change delivery quantity greater than related sales order quantity , system just show the Message no. VL363 but let me change the quantity.
Is it any way that system do not let me to change delivery quantity greater than its related sales order?
thanks.
Lida.Is it any way that system do not let me to change delivery
quantity greater than its related sales order?
Go to zeroVLP, select the item category and maintain "B" for the field Check overdelivery -
Where does the Remaining quantity of a Sales Order line item reside in CRM
Hi Experts,
When a Sales Order from CRM flows to ECC and is partially delivered, it can be observed in the CRM system that the remaining quantity of the line item gets updated.
In which table does this remaining quantity value reside in CRM ?
Any pointers/suggestions would be of great help. Points Assured.
Thanks in Advance,
KrisThe remaining quantity info is nowhere available.
But the delivered quantity info is available in the table CRMD_CUMULATED_I.
Solved Myself. -
Defaulting the Sotrage location for all the line items in my sales order
Hi,
I have a scenario to default the storage location automatically in my sales order for all the line items. It is not going to change for a particular sales org. Dist. channel & Division combination. Can you pls. suggest me a solution for this.
Thanks
Ghanesh.Hi,
You can default the storage location by using the below user exit
Storage location
Auto determination of storage location as u2018XXXXu2019 for sales order
Include - MV45AFZB
Form - USEREXIT_SOURCE_DETERMINATION
IF (VBAK-AUART = 'XXXX' and VBAK-VKORG = 'XXXX' and VBAK-VTWEG = 'XX').
VBAP-LGORT = 'ABCD'.
Regards,
Gopal.
Edited by: Gopalakrishnan S on Feb 25, 2010 7:35 AM -
Need Logic for writing the User exit
Hi Gurus,
I am writing the User Exit code to populate the 'Valid to' field in the data source.
Technical Name - DATUB and Type- DATS
I am using the FM 'GET_STPO"
My extract structure has following fields.
MANDT
MATNR
WERKS
STLAN
STLNR
STLAL
STLTY
STLKN
STPOZ
DATUV
IDNRK
PSWRK
MEINS
MENGE
MTART
DISMM
DATUB
I am not getting the DATUB value for some of the BOM Node Numbers(STLKN).
Please suggest me as How Can I write the code?
Thanks a lot.
Shalaka.Hi ,
You can also try this :
int countold = 0;
int countnew = 0;
int k = 0;
for(int i =0;i<var1.length;i++)
countold = countnew + 1;
countnew = countnew + Integer.parseInt(var1<i>);
for( int j = countold-1 ;j<countnew;j++)
result.addValue(var2[k]);
k++;
result.addContextChange();
Regards,
Ganesh -
Open Sales Order Balance incorret
Dear All,
When you copy a Sales Order to an AR-Invoice and then increase the line quantity on the AR Invoice, the Open Sales Order Balance on the Business Partner Master Data shows a negative amount.
E.G.
Sales Order 10 Chairs @ R1000 = 10000 (Open Sales Order balance in bp master = 10000)
Copy to AR Invoice
AR Invoice 12 chairs @ R1000 = 12000 (Open Sales Order balance in BP maser = -2000)
When subsequent sales orders are added their is a - 2000 diff between the Sales order balance and actual open sales orders.
Can you please tel me how to correct this.
Best regards
ErikaHi,
Please run the Query from the Note no. : 999124 and check whether the item in the sales order appears in the results obtained.
If yes then you need to log a support ticket to get your issue investigated.
Kind Regards,
Jitin
SAP Business One Forum Team -
Regarding Picking quantity over than Sales Order quantity
Hi,
When I am doing Picking from Warehouse the picking quantity is over Sales Order quantity. I don't want to allow it. To restrict it what are the settings I have to do.
Please give me solution asap.
Regards,
Bhaskar.KHi,
You can customize this in the delivery item category by configuring the system reaction with the option "Check Over Delivery".
Reward if convinced.
Rgds -
Logic for determining the delivery address in PO
Hi,
We have a requirement (for a enhancment ) to get the country updated in the delivery address of a purchase order. Would be highly helpful if someone provide me the logic for getting the country key from the delivery address tab.
Our landscape involves SRM PO & ECC PO's and hence getting the details from Plant & s.loc will be o.k for ECC PO's , but for SRM PO's the details are updated from ship tp address.
Regards
SudhakarHi,
U can get the country key ( LAND1) in T001W table, by giving plant code, which u can get in EKPO ( WERKS) by giving PO no.
Also u can get in ADRC table, thr u need to input ADRNR no. which u will get from T001W table by giving plant code. -
Need Notification for attaching the handler On Closing of the HTML Extension in Indesign CC 2014
Need Notification for attaching the handler On Closing of the HTML Extension in Indesign CC 2014
Hi,
I need to process a couple of tasks after clicking on cross button(on top right corner of HTML extension) and before the Extension actually gets closed.
As I Understand, Extension is using chromium browser.
I tried attaching an event listener to "onbeforeunload" event of chrome but it suppresses any alerts being thrown and closes the extension, without waiting for
background processes to complete.
Is there a way through scripting/Plugin or any other way to achieve it?try the script at Adobe Community: InDesign 6 is crashing when attempting to open a particular document. All others are opening OK.
I'd also try moving the pages to a new file, though I suspect that will crash too. Divide and conquer might work -- tray one of your operations on half the document at a time, then repeat by dividing any piece that fails, and so on, until you isolate a page, then use the same method to isolate an object (though it's possible you have a corrupt page). -
I need to erase me the balance remaining on my gift card (Germany) €0.5 to change country. Help please
Click here and fill out the form. This is a more direct link than Carolyn's.
(109561) -
I reset the ipad. hoping it would help. but still it needs password for activation. the owner already forgot password for icloud as well as password of the email since it was not used since 2011. help please.
Your sister can go to https://iforgot.apple.com/ and see if she can recover her password.
There is nothing anybody else can do. -
SAP logic for calculating the replenishment requirement - IS Retail
Hi All,
Could you explain from where does the RPLRQ field is getting picked up from the WRPT table.And what is the SAP logic for calculating the replenishment requirement for a particular article.
Regards,
PSSDear PSS,
Field RPLRQ represents for the replenishment requirement determined in the previous replenishment run. This can be changed when follow-on documents are created if order optimizing is active (for example, if quantities are to be rounded off).
Bye,
Muralidhara -
Open Order Quantity for open sales orders
Is there a standard SAP Report that gives the open order quantity for every open sales order. "Open" is defined as any order quantity that has not shipped. Delivery creation is not the same as shipment. VA05 Report does not contain enough information to calculate the open order quantity for an ERP-based backlog report.
Try VA05 schedule lines standar variant...include status fields and both ordered qty and confirmed qty. In SAP standard system order status, status A means open orders fully (Nothing shipped, everything opened). Status B means in process orders (Partially processed - shipped). Status C means complete orders (Nothing opened). As there is no delivered qty in VA05, you need to download to excel the file and calculate the difference between both qty fields for each A and B status. That is a way to get the missing qty to be delivered or open qty as you stated.
Hope it helps.
Jorge Fernandez -
How to find the Open sale orders till date for given plant and material ?
Hi experts,
I have a requirement to calculate the open sale orders for a given plant and material. I have tried in VA05 wherein i can get only for the material and sales area combination. From the document nos obtained from VA05 i can then find the plant. But my question is how do i get the output of VA05 into my progra. (can i use submit for a module pool report ).
Also if ther is some other standard table or Function module to find the open sale orders till a given date ,it will be even more helpful....in which case i can drop the VA05 route.
Kindly help
Thanks in advance
AshwinHi Ashwin,
You can use SAP Tables VBAK and VBUP to get to know if the document is complete or not.
VBUK-GBSTK is the field that will give you the status of the Sales Order .
VBUK is used at header level , whereas VBUP is used for Item level.
So in your case what I would do is :
Get the Sales Orders that satisy the plant and material criteria from VBAP table , take this Sales Document numbers and go to VBUK or VBUP table to get the Sales Order Status.
If I need to find the open quantity as well I will link to VBFA table based on the document number.
Reward if helpful.
Thanks,
Imran -
Logic for Open Sales order qty
What should be the logic given to determine "open sales order qty" during designing a report.
Note the criterias are as under:
1) Open sales order qty is the confirmed qty less the delivery qty.
2) The delivery qty should be delivery order qty (The delivery should not necessarily be pick, packed & PGI)sorry it doesn't work for services, since they do not create requirements.
in this case you can use VBFA table, subracting all the delivered quantities VBFA-RFMNG with VBFA-VBTYP_N = J and VBFA-VBELV/VBFA-POSNV = to your order/item from the ordered quantities
hope this help you.
Roberto
Maybe you are looking for
-
Mac Mini + External Webcam connection to Photobooth & iChat
I have just purchased a Sogatel USB 168 Webcam - the basic system works but I do not know how to configure the camera to operate with PHOTO BOOTH and IChat - I wonder if you can offer any advice?
-
Flow of MM & SD modules with Transaction codes and Diagrams., please give the phases of the flow and what are all the tables involved in it.
-
Unable to download Adobe Creative Suite
A member of our staff bought and downloaded an electronic copy of Adobe Creative Suite a few years ago to his laptop. He no longer works for us and I am currently trying to download the same copy to my desktop from the Adobe wesbite. All I can seem t
-
Asian Language support in Acrobat 3D 8/TCS
I've spent hours and days to solve a problem with PDFs containing Japanese text, which refused to be copied/pasted into other applications. Then someone told me, it works on his PC using my PDFs the same that didn't work here. Well, it turned out tha
-
External backup drive doesn't show in System Preferences/Startup Disk
Using SuperDuper!, I thought I created a bootable backup on my LaCie FW 200GB ext. HD. I opened System Preferences/Startup Disk to try booting from the LaCie by changing the Startup Disk to the LaCie. The LaCie didn't appear, there. My Mac HD is ther