Query:Dispatch selective process orders from a list available
Hi all,
we have a requirement in PP module to dispatch only selective process orders(based on a User criteria) from within a Zprogram.To achieve the same,
1)we have tried to do a BDC of transaction code CM25.But the line selection of the required order to be dispatched is not captured in recording.
2)Also,we have tried using the CM40 transaction(mass dispatch) and tried to control the orders dispatch through a user exit.This seems to working fine when CM40 is run independently.but the user exit does not get triggered when CM40 is called (using BDC)from within a Zprogram.
Can someone please throw some light/suggest any alternative for achieving the same i.e dispatch a selected process order from a list of available orders.
Hi all,
we have a requirement in PP module to dispatch only selective process orders(based on a User criteria) from within a Zprogram.To achieve the same,
1)we have tried to do a BDC of transaction code CM25.But the line selection of the required order to be dispatched is not captured in recording.
2)Also,we have tried using the CM40 transaction(mass dispatch) and tried to control the orders dispatch through a user exit.This seems to working fine when CM40 is run independently.but the user exit does not get triggered when CM40 is called (using BDC)from within a Zprogram.
Can someone please throw some light/suggest any alternative for achieving the same i.e dispatch a selected process order from a list of available orders.
Similar Messages
-
Select sales orders from a list of order type
I have about 20 customed order types, Z001 to Z020, and I want to select about 8-9 out of the 20 order types.
Currently, I am using
SELECT VBELN ...
INTO CORRESPONDING FIELDS OF TABLE IT_SO
FROM VBAK
WHERE AUART IN
('Z001', 'Z003', 'Z004', 'Z007', 'Z011', 'Z015', 'Z016', 'Z017', 'Z020').
Is there any better ways (considering performance) except builing an index to write the above SQL statement?
Thanks!Hi. Gundam.
From performance side,
I think that best way is index creation.
But, if you are not want index creation,
another condition must be added to WHERE clause.
Currently, VBAK have two indexes.
VBAK-AUDAT - order date
VBAK-ERDAT - ordet entry date.
so, you can try the followings.
WHERE erdat between '20050101' and '20051231'
AND auart IN ....
Good Luck. -
How to update value stored in a table when we select a value from a list
In my jsp page i have given
<html:select property="function" >
<html:option value="select">Select Actions</html:option>
<html:option value="open">Marks as open</html:option>
<html:option value="closed">Marks as closed</html:option>
</html:select>
I am using lookup dispatch action in action class
public class LoginAction extends LookupDispatchAction{
protected Map getKeyMethodMap() {
Map map=new HashMap ();
map.put("open","open");
map.put("closed","closed");
return map;
public ActionForward open(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
System.out.println("success");
return mapping.findForward("success");
public ActionForward closed(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
System.out.println("success");
return mapping.findForward("success");
but when i select a value from the list,the corresponding action is not occuring.What should i put in my code??Put your code between the code tags, it makes it so much easier to read.
To do that, just highlight your code and click on the "code" found between " and the circled ?.
From what I can read of your code I don't even see a table or a list, so i have no idea what you are trying to do. You probably need to show more code.
JSG -
User Exit or BADI for Blocking process orders from R/3 to APO?
Dear Experts,
I am looking for a user exit or badi to block the process orders from R/3 to APO. As per standard it is not transferring orders which are clsd(closed status). Means that it is not updating live cache but its reading from R3.
We are facing some problems in cif queues which are not correctly maintained in R3 side. We dont want to touch those orders bcoz its very old data which is not required for planning.
There will be huge data which needs to be deleted while transferring through cif.
Please give any user exit (outbound intial transfer) from R/3.
Or any sugg. I apprecite your inputs...
Thanks
CrisHi Cris,
You can use user exit APOCF004 - Inbound Processing: Production Order/Planned Order in APO to prevent orders coming to APO by deleting orders which are not intended to goto APO from internal tables IT_ORD and IT_OUT.
Hope this helps.
Best Regards,
Ramesh M -
Need of SQL query in selecting distinct values from two tables
hi,
I need a query for selecting distinct values from two tables with one condition.
for eg:
there are two tables a & b.
in table a there are values like age,sex,name,empno and in table b valuses are such as age,salary,DOJ,empno.
here what i need is with the help of empno as unique field,i need to select distinct values from two tables (ie) except age.
can anybody please help me.
Thanks in advance,
RatheeshNot sure what you mean either, but perhaps this will start a dialog:
SELECT DISTINCT a.empno,
a.name,
a.sex,
b.salary,
b.doj
FROM a,
b
WHERE a.empno = b.empno;Greg -
After selecting the value from the list box, want to disable checkbox
hi guru,
After selecting the value from the list box, want to disable checkbox and custom control textbox(container) in module pool.
so please help me on this.
thanx,
manin PBO,
loop at screen.
if screen-name = your textbox's name.
screen-input = 0.
modify screen.
endif.
endloop. -
Selecting a Role from dropdown list throws error
Hi,
I'm using CRM Web UI 7.0. I'm facing problem selecting a Role from dropdown list in the assignment block Roles in the screen Employee. The problem is that the dropdown list doesn't show any value on clicking and gives an error message "Error on page" at the bottom of page. The roles exist in the system and also I'm able to see them for Accounts screen & in the GUI.
Kindly help.
Regards,
ShailiHi,
Just to add to this issue: WebUI-> Account Management-> Contacts-> Roles-> Edit list. When we try to add a role from dropdown in Firefox, it works fine but same throws an error in Internet Explorer related to some script.
Did someone face similar issue and how was it solved?
Regards,
Shikha -
My MacBook Pro recognizes which of my three printers is plugged in (USB), but can it automatically use that printer or do I have to select that printer from the list each time I switch between printers?
My MacBook Pro recognizes which of my three printers is plugged in (USB), but can it automatically use that printer or do I have to select that printer from the list each time I switch between printers?
-
Process Order BOM component list
Dear All,
Can i know form which table i can get Process order relevant BOM component list ?To Dear ,
You can use table RESB Order component from wher you can get Order BOM component .
You can input here( RESB ) resevation number can find out data related perticular order component .
Regards
SANIL -
How can we improve performance while selection production orders from resb
Dear all,
there is a performance issue in a report which compares sales order and production order.
Below is the code, in this while reading production order data from resb with the below select statement.
can any body tell me how can we improve the performance? should we use indexing, if yes how to use indexing.
*read sales order data
SELECT vbeln posnr arktx zz_cl zz_qty
INTO (itab-vbeln, itab-sposnr, itab-arktx, itab-zz_cl, itab-zz_qty)
FROM vbap
WHERE vbeln = p_vbeln
AND uepos = p_posnr.
itab-so_qty = itab-zz_cl * itab-zz_qty / 1000.
CONCATENATE itab-vbeln itab-sposnr
INTO itab-document SEPARATED BY '/'.
CLEAR total_pro.
**read production order data*
SELECT aufnr posnr roms1 roanz
INTO (itab-aufnr, itab-pposnr, itab-roms1, itab-roanz)
FROM resb
WHERE kdauf = p_vbeln
AND ablad = itab-sposnr+2.Himanshu,
Put a break point before these two select statements and execute in the production.This way you will come to know which select statement is taking much time to get executed.
In both the select statements the where clause is not having the primary keys.
Coming to the point of selecting the data from vbap do check the SAP note no:-185530 accordigly modify the select statement.
As far as the table RESB is concerened here also the where clause doesn't have the primary keys.Do check the SAP Note No:-187906.
I guess not using primary keys is maring the performance.
K.Kiran. -
How can I select an item from a list component with a seperate button
This is a repost, I decided it'd probably be better here than
in the general discussion board. I will try to delete the other
one.
Hello Everyone,
This is my first post here. I am trying to figure out how to
select an item within a list component with a button. This button
is calling a function. I have searched for the past 3 hours online
and I can't find anything about it. I thought perhaps I could set
the selectedItem parameter, but that is read only, and I believe it
returns an object reference rather than something like a number so
even if i could set it, it would be pointless. I also found a get
focus button, thought that may lead me somewhere, but I think that
is for setting which component has focus currently as far as typing
in and things like that. I am lost.
Basically I am looking for a way to type this
myList.setSelected(5); where 5 is the 5th item in the list.
Any help would be much appreciated.Never mind found it. It is the property called selectedIndex
and it is writable -
BB Z10 STL1 has a problem when sending broadcast after select 100 contact from contact list
Hi
Actually I've got this problem after updating my bbm, from 10.3.34.20 to the newst one then i have waited for the next update and its still there and then i hop[ed the version 10.5.5.38 will fix this but its still remain there so please try to send broadcast through the contact list select up to 50 or 100 and tray to past the it will hang out and you can't go to the message box to right thing otherwise the you can make a broadcast by normal way by making past in the first time and then select the contacts you want but this will take a time we need the normal way.
I'v tried this on Q10 and they don't have this problem even with the new BBM
please check it on BB Z10 STL1 that what i have
now Im trying to find the old OS Software to return to old bbm
Best regards
DubaiSharkAnybody
-
Free goods based on selecting 5 material from a list of material
Is there a way this can be done.
I know FG cannot be done with 1:2 or 2:1, but if there was a way the list of material can be a selection list or something..Thanksfirst maintain material determination for freegood with multiple options of 5 products.. and then give maintain the freegoods record in CS01...
Example for X .. Y free good...
material determination for Y... 1,2,3,4,5, products...
so when ever you enter x you will get 1,2,3,4,5 options..
Try with these.. hope you get your desired solution...
reward if it helps
Ramki -
- I have a Product list box (asp.net) used as multiple selected values for a parameter.
- The Product ID is defined in the Oracle procedure as NUMBER data type.
- In my crystal report, I have a parameter field allow multiple values as p_product_id type as Number. This is the code in my Record Selection Formula for the report:
({?p_product_id}[1] = -1 OR {Procedure_name.product_id} in {p_product_id})
- In C#, this is my code
List<decimal?> productUnit = new List<decimal?>();
int counter = 0;
decimal prod;
for (int i = 0; i < lstProducts.Items.Count; i++)
if (lstProducts.Items[i].Selected)
if (decimal.TryParse(lstProduct.Items[i].Value, out prod))
productUnit.Add((decimal?)prod);
counter++;
if (counter == 0)
productUnit.Add(-1);
ReportingDAO rDataFactory = new ReportingDAO();
retVal = rDataFactory.GetProductReport(productUnit);
public CrystalDecisions.CrystalReports.Engine.ReportDocument GetProductReport(List<decimal?> productUnit)
CrystalDecisions.CrystalReports.Engine.ReportDocument retVal = new rptProductDownload();
ReportLogon rptLog = new ReportLogon();
rptLog.Logon(retVal, "RPT_PRODUCT_DOWNLOAD");
retVal.SetParameterValue("p_product_id", productUnit);
I keep having the "Value does not fall within the expected range" when I debug. My question is, is the data type I used for procedure/Crystal report/ and C# correct ? I always have problem with the data type. Any help would be
appreciated
Thank youHi progGirl,
Thank you for your post, but Microsoft doesn't provide support for CrystalReport now. Please post your question in SAP official site here:
http://forums.sdn.sap.com/forum.jspa?forumID=313
Thank you for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Unable to select the value from a list item in forms 6i
Hi ,
I'am using forms 6i. I have created a list item in my form as below.
Item_type = list item
list style - popup list
elements in list - A, B, C,D
When I open the form all the above values are displayed for the list item. But I'am unable to select the item( either A,B,C,D).
Please let me know if I need to add any thing else programatically to acheive this. The block on whixh these values are diplayed is a datablock.
This is very urgent. Any suggestions would be of great help.
Thanks
DeepthiIf you have a list item where you have:
Display A value 1
Display B value 2
Display C value 3
Display D value 4
If want to initial the value of the item to be A, you can set the initial value of the item to 1 in the property pane.
Otherwise in an initialisation triger have
:block.list_item := 1;
HTH
Tony
Maybe you are looking for
-
ITunes bumps list to top when tags are changed
I'm using the latest iTunes and trying to tidy some tags. If I change a tag, iTunes insists on bumping me up to the top of my song list even if the song itself did not change positions in the list. Sometimes it doesn't bump to the top but to a seem
-
REPLENISMENT IN CASE OF CONSIGNMENT SALES
Dear Gurus, I am facing a requirement where in I need to perform consignment sales. the issue lies when I need to transfer the left over stock directly from one customer to another. say for eg. company x has two customers A & B. The first consignment
-
Is the iSO6 upgrade compatible with the iPhone 4?
Is the new iSO6 upgrade compatible with the iPhone 4 or is it going to cause problems with it?
-
Hi All, I want to know about all the released versions of SAP R/3 till now from the very beginning and in the relase order. I also want to know about the added features or upgrades done at each new release. Please help. Rgds, Avijit
-
Can't re-order my queue on Netflix and keep losing the connection
I'm having so much trouble with Netflix! I can't re-order my queue, I keep losing the connection, and it's painfully slow. Is Netflix known to be unstable on iPad? Other internet connecitons seem to be fine.