on 10-08-2010 7:22 AM
Hi All,
I have created 4 udf's on BoM to capture Sales order No, SO date, Item code and Customer name. I have created FMS to capture so created in the system and they are working fine. The only problem that I am facing here is that as soon as i copy the item code from udf to product number and press tab, the values in the udf disappear. We have to search for the bom created and then update these values again.
These values are important because we have to generate an alert to production dept whenever a BoM is created based n any sales order. Please suggest how to configure this?
Thanks,
Joseph
Hi Joseph,
Sales Order is better linked to Production Order. In that case, you got information already. No need UDF.
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gordon,
I have created alert based on sales order but the person who creates BoM had to open the sales order and then copy the item code to create a new BoM. So I gave him this udf to capture item code and copy it from udf which doesn't work with Auto refresh but works well other wise.
Thanks,
Joseph
The only work around I see is to just select the sales order o, use the fms in product number to get the item code, select row level item and then update the sales order number again and use auto refresh coz it now workin as desired anyway. Any other suggestions how to make this work?
Thanks,
Joseph
Hi Joseph...
I guess you need to modify this query.....
It would be
Select ltrim(str(T0.DocNum))+'!'+ltrim(str(T1.linenum)), T0.CardCode, T0.CardName
FROM ORDR T0 Inner Join RDR1 T1 On T0.DocEntry=T1.DocEntry
Select this in BOM in SO No. UDF. This will give you the SO no. with the Line No. in combination.
Then Apply
SELECT T1.[ItemCode] FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
WHERE ltrim(str(T0.DocNum))+'!'+ltrim(str(T1.linenum)) = $[OITT.U_SoNo]
in Item Code of BOM......
Hope this will work fine.....
Regards,
Rahul
Hi Joseph,
Can you paste your FMS for item code and size of that UDF??
Thanks
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joseph.....
BOM might be the same for more than one SO. then in such case how SAP will recognize that this BOM is for particular SO?
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
I will explain the scenario to you.
We have created our standard BoM's. Every time we create a sales order, we create a new item. We copy this new item in udf (through fms) and then copy it to the product No. field. But as soon as we press tab, the values disappear. How to avoid this?
Thanks,
Joseph
User | Count |
---|---|
109 | |
15 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.