Get HU qty from ASN
Hello,
We has already establish ASN inbound connection with supplier.
Problems is that different packing standard do not allow us to collect HU qty from ASN.
Is there anyway to get this packing HU qtys and recorded in LA?
Thanks.
Hi,
I hope the below details are helpful for you.
First we have to create the packing instruction in POP1.
--> Give a packing instruction name.
--> Then in the line 1 - Enter P and the packaging material
--> Then in the line 2 - Enter M and enter the material to pack and give the quantity to pack in the packaging material. Eg: In each pallet how much quantity to be packed.
Second go to the transaction POF1.
--> Enter RCPT and based on the combination Material/Plant/Vendor, select it and enter the Material and the Packaging Instruction you created before.
--> Then you can do the autopack in VL32N.
Regards,
Shetty
Similar Messages
-
Get the qty from the unrestricted stock
Hi,
My Requirment is below
Select material (MATNR), plant (WERKS), unrestricted stock (LABST) from table MARD where material (MATNR) IN S_MATNR AND plant (WERKS) IN S_WERKS. Inner join the selection above with table MAKT to retrieve the material description (MAKTX) into itab1. Collect the itab1 to add all the unrestricted stock. For abapers info, the data retrieved from table MARD is by storage location. All these storage location will be added to get the total qty for that material.
Select single material group (MATKL), external material group (EXTWG), unit of measurement (MEINS), division (SPART) from table MARA where MATNR = itab1-matnr.
In this how to get the total qty for that material.pls help me to find the quantity.
Thanks,
Regards,
Rajendra.Hi ,
The code can be split into two portions first select the data from the tables mara , mard and makt , and second is loop on this table and collect the data into another internal table.
here is a code which does the same
tables : mara , mard.
data : begin of it_1 occurs 0 ,
matnr type matnr ,
matkl type matkl ,
meins type meins ,
spart type spart ,
werks type werks_d ,
lgort type lgort_d ,
labst type labst ,
maktx type maktx ,
end of it_1.
data : begin of it_2 occurs 0 ,
matnr type matnr ,
matkl type matkl ,
meins type meins ,
spart type spart ,
werks type werks_d ,
labst type labst ,
maktx type maktx ,
end of it_2.
select-options : s_matnr for mara-matnr ,
s_werks for mard-werks.
start-of-selection.
select mara~matnr mara~MATKL mara~MEINS mara~SPART
mard~werks mard~lgort mard~LABST makt~maktx
into table it_1
from ( mara inner join mard
on mara~matnr = mard~matnr )
inner join makt
on mara~matnr = makt~matnr
where mard~matnr in s_matnr and
mard~werks in s_werks and
makt~spras = sy-langu.
loop at it_1.
move-corresponding it_1 to it_2.
collect it_2.
clear it_2.
endloop.
regards
Arun -
BAPI to get matrial /qty/ bin from production order
hii All,
which is the BAPI name to get the Bin/Material/Qty from production orderHI,
try using BAPI_PO_GET_DETAIL(S)
REWARD IF USEFUL
vivekanand -
Min.order Qty from Info record in PR in MRP
Hi,
Is there any setting by which , while running MRP, system will take min.order quantity from info record (instead of material master) ?.
If not , then is there any way to achieve the same?Hi Csaba Szommer
You are right, If you try to convent PR in to PO, and if you have maintained min.order qty in info record, you get message ( error / warning ) as per your message setting.
Your question is also valid that if the same material is being procured by many vendors, and each vendor might have different min. order qty, Hence it has to be picked from info record only.
But I have tried with all the possibilites. While converting PR into PO, based on system message you can correct the Quantity, but if MRP generates PR ,based on the min.order qty in info record, then no need to handle such messages.
You can try also, maintain different min. order qty in Material master and info record, it will always take from Material master and never from info record.
But Logically, it should take from info record.
That is why I wanted to make the system take info record min.order.qty.
So it would solve the problem if you know some setting that takes min.order.qty from info record.
( ref: I am aware of planned del. time , there is one checkbox in plant parametes, if you select that , system will take planned del.time from info record , if you don't, system will take it from material master. So if you know any such setting for min.order.qty, pls let me know. I could not find any such possibilities)
Thanks -
Hello folks!:
I have made a query and created a new field related to the invoice qty. All at item level and referenced to the sales order.
This new field is configured to pull the invoice qty from the document flow:
FACPOS = ' '.
select RFMNG into FACPOS
from vbfa
where vbelv = vbap-vbeln
and posnn = vbap-posnr
and vbtyp_n = 'M'.
endselect.
Then the report shows the sales order qty and the invoice qty per item. Everything looks perfect at this time. The problem starts when the invoice is partially created from partial deliveries (which is very often) and then a partially invoice is made. Due to the fact that the data is generated from the VBFA table, it will always going to bring the latest invoice qty and not the sum of all the invoices.
Example:
Order for 6 pcs of product A
Delivery for 4 pcs and Invoice for 4 pcs
Pending 2 pcs
Report shows: Invoice qty 4 pcs
Then another invoice is created for 2 pcs
Nothing left from the sales order
Report shows: Invoice qty 2 pcs <----
PROBLEM
PROBLEM: The report only shows as a total of the invoice qty just the 2 pcs from the last invoice. I actually want to add up all the invoice qty's generated per line item in the document flow.
1. Any idea on how to configure the code so that I can have the sum of all the invoices in the document flow per item?
2. Is there a special function that can do this?
Pls let me know
RegardsHi,
Pass the sales order number in VBFA for the field "VBELV".
Execute.
Here there is a chance of two cases.
1)If the billing document is created w.r.t. order:In this case,you will get the invoice number from VBELN field.
Pass the same to VBRP table as VBELN and then fetch "FKIMG".
This will give you the quantity.
2)If the billing document is created w.r.t. a delivery:In this case,take VBELN and again pass it to VBELN into VBFA table as VBELV and then fetch VBELN
Pass the same to VBRP table as VBELN and then fetch "FKIMG".
Regards,
Krishna. -
Need to remove 'Returns' Qty from the plant (MMBE)
In stock overview MMBE, there is no unrestricted qty. but there is some Qty in "Returns", how we need to remove this Qty from this plant..there is no stock in transit for this material for this plant? but there is some stock in transit in some other plant.
I am not sure what the purchase order/STO is. I have reviewed all of the past stock transfers with this material on them and cannot find one open, they need to get this material removed.
Please suggest how we can remove this Returns Qty from this plant (MMBE)?
Thanks in advance
Suresh..if you have stock in returns status in MMBE, then you can move it into unrestricted status with 453, into own blocked status with 459.
this returns stock is created when you post a goods receipt to a return delivery. returns stock is not financially owned by you, it is non-valuated stock until you transfer it with an extra movement (453 or 459) into own stock. -
Function Module to get Reserved qty field in MMBE transaction
Hi Frds,
In my report i need to get a reserved qty from mmbe tcode.., tables or Function Module . Pls help meNow i found these fm BAPI_MATERIAL_STOCK_REQ_LIST
working on it venkat
Resb is not showing proper qty..........
Issue has been solved myself..........so i m closing these thread. -
Ask Function Module to get "Open Qty" on outbound delivery
hi All,
Does anybody know what is the FM I can use to get "Open Qty" (RV50A-LFPMG) ? at VL01N
or do I have to count it manually to get the open qty?
I hope not, but if yes, does the value comes from :
Open Qty = VBAP-LSMENG - (all delivery qty value for SO Line item).
Thanks!
WillyHi...
Take the open qty as ordered qty (field: MENGE)-delivered qty(field: WAMNG) from EKET table.
Regards,
KP -
Running total for item availbe qty. from On Hand - SO + PO by promise date
I stuck with Balance(running total).
How to link item number with SO and PO?
Need daily item qty. available qty from "On Hand" Qty. + PO - SO by promise date and sort by ascending?
Item# Order Date SO/PO PromiseDate Qty Bal.
AE01 08/01/08 OnHand 20 20
08/02/08 SO#1877 08/05/08 -3 17
08/04/08 SO#2044 08/08/08 -6 11
07/22/08 PO#632 08/10/08 10 21
Thanks.create a group by promise date
2nd group by po#
put the fields either in the group or in the details
PO#, PO promise date, qty and SO#, SO promise date, qty then availability qty
manual running totals
create 3 formulas
1 reset
WHILEPRINTINGRECORDS;
NUMBERVAR ITEMLOC := 0;
place in the group header on what you want the total to reset by (po#)
1 calc
WHILEPRINTINGRECORDS;
NUMBERVAR ITEMLOC := ITEMLOC +(qty};
this gets placed where the calculate will take place (next to qty)
1 display
WHILEPRINTINGRECORDS;
NUMBERVAR ITEMLOC;
ITEMLOC
this gets placed in the group footer.
for each field that gets calculated by a group create 3 formulas for each
they need to have the same variable name to reference each other.
if you need to create a 2nd set to calc something else give that a new variable name. -
'Suggested Replenishment Qty' & 'Replenishment Qty' from VMI screen of Collaborative planning
Hi All,
Our Customer is asking for archival of fields 'Suggested Replenishment Qty' & 'Replenishment Qty' from VMI screen of Collaborative planning. Because he wants to know how much Supplier has accpeted out of Suggested Qty?
Also, what is Replenishment date Field. Does it consider lead time of Item?
Thanks,
SasidharHi Pooh,
For similar requirement, we created another table for archiving data. Data would get inserted into this table prior to Publish Order Forecast program.
Let me know if you need still further information.
Thanks,
Seshu -
Unable to get the values from ISearchResultList
Hi,
I am working on KM Indexmanagemnt API for searching with TREX, to build a search similar to msn or google.
I am following the example of Thilo Brandt, and after building the query, I am unable to retrieve the result from ISearchResultList, the results size its displaying is zero. But session.getTotalNumberResultKeys() is retrieving a value 20.
Here is the code I am using, please tell me where I am doing wrong.
public class SearchComponetOne extends AbstractPortalComponent {
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response) {
com.sap.security.api.IUser nwUser =
UMFactory.getAuthenticator().getLoggedInUser();
com.sapportals.portal.security.usermanagement.IUser user = null;
try {
user = WPUMFactory.getUserFactory().getEP5User(nwUser);
} catch (UserManagementException e) {
response.write(e.getMessage());
response.write("<html><head><title>Search</title></head><body>");
ResourceContext c = new ResourceContext(user);
try {
IIndexService indexService = (IIndexService) ResourceFactory
.getInstance()
.getServiceFactory()
.getService(
IServiceTypesConst.INDEX_SERVICE);
SearchQueryListBuilder sqb = new SearchQueryListBuilder();
sqb.setSearchTerm("sap");
IQueryEntryList qel = sqb.buildSearchQueryList();
// get an instance of federated search
IFederatedSearch federatedSearch =
(IFederatedSearch) indexService.getObjectInstance(
IWcmIndexConst.FEDERATED_SEARCH_INSTANCE);
List indexList = new ArrayList();
String index = null;
if (index != null && index.length() > 0) {
// take a specified index from index= parameter
indexList.add(indexService.getIndex(index));
} else {
// take all available indexes
indexList = indexService.getActiveIndexes();
// it is recommended to use a search session object
// for searching execution
ISearchSession session = null;
if (session == null)
session = federatedSearch.searchWithSession(qel, indexList, c);
response.write("Inside doContent session.getNumberResultKeys() => " + session.getNumberResultKeys()); // output as 20
this.renderResultHeader(response, session, indexList);
// get all results from the search session
ISearchResultList results = session.getSearchResults(1, session.getTotalNumberResultKeys());
response.write(" from session => " + results.size() + " and size is : " + results.toString()); // I am getting the results.size() as zero
ThanksI think the problem is UME related. I had the same problem once. Try using a system user for searching, instead of the logged on user.
Like this:
com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getUser("cmadmin_service");
Please reward the points if this helps. -
How to get the values from popup window to mainwindow
HI all,
I want to get the details from popup window.
i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
now i am able to display popup window with values.How to get the values from popup window now.
I can anybody explain me clearly.
Thanks&Regards
kranthiHi Kranthi,
Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
Regards,
Uday -
How to get the values from a html form embedded in a swing container
Hi all,
I am developing an application in which i have to read a html file and display it in a swing container.That task i made it with the help of a tool.But now i want to get the values from that page.ie when the submit button is clicked all the values of that form should be retrived by a servlet/standalone application.I don't know how to proceed further.Any help in this regard will be very greatful
Thanks in advance,
PrakashBy parsing the HTML.
-
How to get multiple values from the list
I've a list of an item which I queried it from the database. I also created a button that will takes a selected items from the list when it was clicked. I used javabean to get the data from database.
<% // clicked on Select District Button
Vector vselectedDistrict = new Vector();
Vector vdistrictID = new Vector();
String tmpSelectDistrict = "";
tmpSelectDistrict = request.getParameter("bSelectDistrict");
if(tmpSelectDistrict != null)
// get multiple values from the list
String[] selectedDistrict = request.getParameterValues("usrTDistrict");
vselectedDistrict.clear();
vdistrictID.clear();
if((selectedDistrict != null) && (selectedDistrict.length != 0))
for(int i=0;i<selectedDistrict.length;i++)
vselectedDistrict.addElement(selectedDistrict);
vdistrictID = dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
for(int i=0;i<vdistrictID.size();i++)
out.println("district = " + selectedDistrict[i]); out.println("district ID= " + vdistrictID.get(i).toString());
%>
// get vdistrict from the database here......
<select name="usrTDistrict" size="5" multiple>
<% for(int i = 0; i< vdistrict.size(); i++)
%>
<option value="<%=vdistrict.get(i).toString()%>"><%=vdistrict.get(i).toString()%></option>
<%
%>
</select>
<input type="submit" name="bSelectDistrict" value="Select District">
Lets say the item that i selected from the list is 'Xplace' and I clicked on the Select District button,
what I got is this error message:
org.apache.jasper.JasperException: Unable to convert string 'Xplace' to class java.util.Vector for attribute usrTDistrict: java.lang.IllegalArgumentException: Property Editor not registered with the PropertyEditorManager
So where is going wrong and what the message means?. Any help very much appreciated. ThanksThese are just guesses that might hopefully steer you in directions you haven't looked in yet.
I presume you used triangle brackets (< >) to avoid having the Jive Forum think it was the "italics" tag?
Are you certain this: dbaseInfo.getcurrentDistrictID(nstate,vselectedDistrict);
expects a Vector as its second parameter? And returns a Vector?
I don't believe you've shown how you use the javabean, or its code? Perhaps it should be rewritten to accept an array of strings instead of a Vector? -
Hi guys,
I am developing an integration with EWS based on php. I am using a library I found https://github.com/jamesiarmes/php-ews
In my case users have various calendars hanging from the root, I get access to the default calendar by this:
$request->ParentFolderIds->DistinguishedFolderId->Id = EWSType_DistinguishedFolderIdNameType::CALENDAR;
$response = $ews->FindFolder($request);
I also get access to shared calendars by this:
$request->ParentFolderIds->DistinguishedFolderId->Id = EWSType_DistinguishedFolderIdNameType::PUBLIC_FOLDERS_ROOT;
$response = $ews->FindFolder($request);
But I am getting crazy to get all calendars hanging from the root. If I asked for all folders on the root I don't get those calendars. What service and params do I need to send to get all calendars from the root?
Thanks!!If you make a FindFolder Request set the Traversal to Deep and use a restriction on the FolderClass to IPF.Appointment that should return all the Calendar folders in a mailbox eg
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="
http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://sc
hemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xml
soap.org/soap/envelope/">
<soap:Header>
<t:RequestServerVersion Version="Exchange2013_SP1" />
</soap:Header>
<soap:Body>
<m:FindFolder Traversal="Deep">
<m:FolderShape>
<t:BaseShape>AllProperties</t:BaseShape>
</m:FolderShape>
<m:IndexedPageFolderView MaxEntriesReturned="1000" Offset="0" BasePoint=
"Beginning" />
<m:Restriction>
<t:IsEqualTo>
<t:FieldURI FieldURI="folder:FolderClass" />
<t:FieldURIOrConstant>
<t:Constant Value="IPF.Appointment" />
</t:FieldURIOrConstant>
</t:IsEqualTo>
</m:Restriction>
<m:ParentFolderIds>
<t:DistinguishedFolderId Id="msgfolderroot" />
</m:ParentFolderIds>
</m:FindFolder>
</soap:Body>
</soap:Envelope>
Cheers
Glen
Maybe you are looking for
-
Calendar went to icloud and disappeared where how do i get entries back onto iphone4
Updated os, connected to iCloud, backed up including calendar, Now all calendar entries have gone. Tried switch off iCloud, switch off calendar, switch on again, unit off/on Have no historical entries, backup - more like bin up, not happy - pls help
-
FETCHING VALUES IN MULTI RECORD BLOCK FROM ANOTHER TABLE USING SELECT STATEMENT.
Hi, I have one multi record block in which i want to fetch values (more then one record) from another table using select statement IN KEY NEXT ITEM.I am getting following error. ORA-01422: exact fetch returns more than requested number of rows Thanks
-
Update for PSE 9.0.3 fails repeatedly
My new Dell Inspiron Laptop came with Printshop Elements 9 preinstalled. I registered the product and now I am trying to update the software. The download was initially large. I keep getting a Patch Cannot be applied message indicating I should "Con
-
My i movie keeps closing and turning my screen black
For the past couple of weeks my imovie has been closing and turning my home screen/ desktop black. I have tried updating my computer ; that has not work, i have tried reinstalling the program i believe and that has also not work... Please Help i rea
-
During erase all data i have unplugged usb. after that i could not open OS-3.2
Hello: I am an apple new user. I am using ipad (Wifi+3G) and last night i intended to upgrade my ios from 3.2 to 4.3.3 version. I have plugged ipad with my laptop and before upgrading i tried to erase all data. I putted command and it started erasing