Table Link between the Functional Location and work order
Hi Gurus,
I am stuck in a big problem and have to find a way to list down the work order with a specific user status in the system. I am trying to link it based on the functional location as the inputs will have to be functional location and the date. Can any one guide me with the tables to link these two???
Thanks in advance
Anoop
Hi,
Depending on your exact requirement, you might be able to select from view VIAUFKST_IFLOS. This would allow selection based on order, functional location and various dates. The field IPHAS will give you some system status information - value will indicate which status the order has reached. Example value = 3 indicates order is technically completed.
To get the exact system status (or user status) you need to read the JEST table. Read this table by OBJNR. The object number will have the format OR005000123456 (where 5000123456 is the order number). It will be available in the order tables.
Status values in JEST are in the internal format - example I0002 = REL. Check transaction BS23 to see the link. User status values will have the format E0002. If INACT flag is set in a jest record then that status value is not active. If you want to check for a specific status value then call function STATUS_READ.
-Paul
Similar Messages
-
Link between the Schedule Lines and the GR document
Hi
I would like to find the link between the Schedule Lines (of Scheduling Agreement) and the GR document. i.e. which GR has been made against which Schedule Line. I have checked the tables EKET, EKBE, MSEG but there is no link with the Schedule Line, I found the link only with the item number there.
Thanks
PrashanthHi
At the time of posting the GR for a SA you will be not posting this with reference to the Schedule line of the SA item. So system will always update the GR document against the SA item and update qty on the schedule line.
May be this is the reason we donot have any direct relation ship to material document and Scheclue line
Thanks & Regards
Kishore -
Delete the link between the BEx Query and workbook
Hi Experts,
I have a workbook it contains 6 querirs, now i want to delete both.
insteated of delete the first queries in workbook, i deleted directly workbook.
now its not allowing me to delete queries.
i think internally it will maintain a link in some table and there was a programme to delete that link between the queries and workbooks.
Please let me know the programme name which we can delete the links between the queries and workbooks.
Thanks,
BabuBefore even going for changing the table entries.
You can go to query and do "Where used" list if it refers only to the same workbook(which you deleted) then it may be inconsistency.
But the chances are the query is used in workbook or WAD etc and is present in someone else's favorites so that would make the workbook void. -
How to make the link between the technical version and the packaging vers.
Hello,
Does anyone know how to make the link between the technical version number and the packaging version number ?
For exemple, I can download on the SAP Market Place the version B1iSN 8.8 PL7 but if I look into the B1iSN the version information, it returns B1iP_3.0_SP04_HF03.
This is quite confusing.
Thank you.Hi Gordon,
In fact this information is usefull for me. I was looking for a customer installation but he did not remember which version was installed. They are facing some problems. So I don't know if I have to update B1iSN or not to solve it.
B1iSN returns only the technical version number, but I would like to know which version was downloaded from the Market Place. -
Table link between KONA, VBAK, VBRP and S060?
Hi Experts,
How can i link the below tables to prepare 1 single report??
Agrment Type ECC KONA-BOART
Agreement ECC KONA-KNUMA
Status ECC KONA-BOSTA
Description of agreement ECC KONA-BOTEXT
Reb.recip. ECC KONA-BONEM
Matl f. settl. ECC KONP-BOMAT
Amount ECC KONP-KBETR
Unit ECC KONP-KONWA
per ECC KONP-KPEIN
UoM ECC KONP-KMEIN
Accruals ECC S060-RUWRT_K
CdCur ECC ??
Rebate payments ECC S060-AUWRT_K
CdCur ECC ??
Accruals reversed ECC S060-RRWRT_K
Sales Doc. ECC VBAK-VBELN
SaTy ECC VBAK-AUART
Net value ECC VBAK-NETWR
Bill.Doc. ECC VBRK-VBELN
Billing Date ECC VBRK-FKDAT
Net Value ECC VBRK-NETWR
regards
venuscmhi,
please check SQVI.
if you are not able to link it with SQVI then,
you can find intermediate table between the two tables and link it in sqvi.
regards,
balajia. -
Link between delivery line item and sales order item schedule line.
Hello friends,
This is a continuation of my earlier query - for which I got half the solution, and this is the remaining problem.
I want to know: from delivery document line item, how to link it to sales order line item's schedule line (when there are multiple schedule lines with identical quantities).
Thanks for your help.
- ChetanThis is the code which i used for the same purpose and its working.
Hope this will help you too....
****it_itab is my final internal table.
*Internal table for manupulating the Delivery balance when
*its used in more than one schedule line
TYPES: BEGIN OF ty_new,
vbeln TYPE vbep-vbeln," so no
posnr TYPE vbep-posnr," so line no
etenr TYPE vbep-etenr," schedule line
delno TYPE lips-vbeln,"delivery no
delposnr TYPE lips-posnr,"del item no
totval TYPE vbep-wmeng," total del wise value
val TYPE vbep-wmeng," del wise used value
sdval TYPE vbep-wmeng,"schedule wise del used value
sdtotval TYPE vbep-wmeng," total Schedule value
END OF ty_new.
DATA:it_new TYPE ty_new OCCURS 0,
wa_new TYPE ty_new.
DATA: it_vbepvb TYPE TABLE OF vbepvb,
wa_vbepvb LIKE LINE OF it_vbepvb,
fvbfa TYPE TABLE OF vbfa,
fvbup TYPE TABLE OF vbup,
fvbap TYPE TABLE OF vbapvb.
LOOP AT it_vbak INTO wa_vbak.
LOOP AT it_vbap INTO wa_vbap
WHERE vbeln = wa_vbak-vbeln.
SELECT * FROM vbfa INTO TABLE fvbfa WHERE vbelv = wa_vbap-vbeln
AND posnv = wa_vbap-posnr.
SELECT * FROM vbup INTO TABLE fvbup WHERE vbeln = wa_vbap-vbeln
AND posnr = wa_vbap-posnr.
SELECT * FROM vbap INTO TABLE fvbap WHERE vbeln = wa_vbap-vbeln
AND posnr = wa_vbap-posnr.
SELECT * FROM vbep INTO TABLE it_vbepvb WHERE vbeln = wa_vbap-vbeln
AND posnr = wa_vbap-posnr.
CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
EXPORTING
fbeleg = wa_vbap-vbeln
fposnr = wa_vbap-posnr
FVERRECHNUNG = ' '
FS073_ALT = ' '
IF_NO_SORT = ' '
TABLES
fvbfa = fvbfa
fvbup = fvbup
fxvbep = it_vbepvb
FVBLB =
fvbap = fvbap
EXCEPTIONS
FEHLER_BEI_LESEN_FVBUP = 1
FEHLER_BEI_LESEN_FXVBEP = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT it_vbepvb BY vbeln posnr edatu.
LOOP AT it_vbepvb INTO wa_vbepvb
WHERE vbeln = wa_vbap-vbeln
AND posnr = wa_vbap-posnr.
to write data of schedule line with no delivery
MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
IF wa_vbepvb-bmeng EQ wa_itab-openqty.
CLEAR wa_itab.
PERFORM schedule_data. "schedule line based data to be displayed
MOVE: wa_vbap-lgort TO wa_itab-lgort.
MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
wa_vbepvb-bmeng TO wa_itab-kwmeng,
wa_vbepvb-olfmng_flt TO wa_itab-openqty.
APPEND wa_itab TO it_itab .
CLEAR wa_itab.
ENDIF.
LOOP AT it_vbfa INTO wa_vbfa WHERE vbelv = wa_vbepvb-vbeln
AND posnv = wa_vbepvb-posnr.
READ TABLE it_likp INTO wa_likp WITH KEY vbeln = wa_vbfa-vbeln.
CHECK wa_likp-bldat >= wa_vbepvb-edatu.
check the Delivery doc date with the schedule line confirmed date
CLEAR: delbal, deltot,wa_new.
LOOP AT it_new INTO wa_new WHERE vbeln = wa_vbepvb-vbeln
AND posnr = wa_vbepvb-posnr
AND etenr = wa_vbepvb-etenr.
deltot = deltot + wa_new-sdval.
ENDLOOP.
delbal = wa_new-sdtotval - deltot.
CHECK sy-subrc <> 0 OR delbal GT 0.
MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
CHECK wa_vbepvb-bmeng NE wa_itab-openqty.
****To check whether this delivery is already fully allocated against
any other schedule.
LOOP AT it_lips INTO wa_lips WHERE vbeln = wa_vbfa-vbeln
AND posnr = wa_vbfa-posnn.
MOVE: wa_likp-bolnr TO wa_itab-vesname.
MOVE: wa_likp-vbeln TO wa_itab-delno.
MOVE: wa_likp-wadat TO wa_itab-wadat.
MOVE: wa_likp-anzpk TO wa_itab-anzpk.
MOVE: wa_likp-lddat TO wa_itab-lddat.
MOVE: wa_likp-ernam TO wa_itab-ernam.
******end of code added by IVL1 on sep 27 2007 #3618
PERFORM schedule_data.
IF wa_lips-umvkz <> 0.
tempquant = wa_lips-umvkn / wa_lips-umvkz.
ELSE.
tempquant = wa_lips-umvkn. "delivery qty
ENDIF.
tempquant = tempquant * wa_vbfa-rfmng.
***New logic added to get delivery qty schedule wise****
MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
wa_vbepvb-bmeng TO wa_itab-kwmeng,
wa_vbepvb-olfmng_flt TO wa_itab-openqty. "jo
**if delivery qty is less than or equal to schedule line qty******
IF tempquant LE wa_vbepvb-bmeng.
wa_itab-delqty = tempquant.
LOOP AT it_new INTO wa_new WHERE vbeln = wa_vbepvb-vbeln
AND posnr = wa_vbepvb-posnr
AND etenr = wa_vbepvb-etenr
AND delno = wa_lips-vbeln
AND delposnr = wa_lips-posnr.
MOVE-CORRESPONDING wa_itab TO wa_new.
wa_new-delposnr = wa_lips-posnr.
wa_new-val = tempquant.
wa_new-totval = tempquant.
wa_new-sdval = tempquant.
wa_new-sdtotval = wa_vbepvb-bmeng.
MODIFY TABLE it_new FROM wa_new .
IF NOT sy-subrc IS INITIAL.
APPEND wa_new TO it_new.
ENDIF.
ENDLOOP.
IF sy-subrc <> 0.
MOVE-CORRESPONDING wa_itab TO wa_new.
wa_new-delposnr = wa_lips-posnr.
wa_new-val = tempquant.
wa_new-totval = tempquant.
wa_new-sdval = tempquant.
wa_new-sdtotval = wa_vbepvb-bmeng.
APPEND wa_new TO it_new.
ENDIF.
wa_itab-delqty = tempquant.
CLEAR tempquant.
ELSE.
lips qty > so schedule lineqty
CLEAR deltol.
LOOP AT it_new INTO wa_new WHERE vbeln = wa_vbepvb-vbeln
AND posnr = wa_vbepvb-posnr
AND etenr = wa_vbepvb-etenr
AND delno = wa_lips-vbeln
AND delposnr = wa_lips-posnr.
deltol = deltol + wa_new-val.
ENDLOOP.
LOOP AT it_new INTO wa_new WHERE vbeln = wa_vbepvb-vbeln
AND posnr = wa_vbepvb-posnr
AND delno = wa_lips-vbeln
AND delposnr = wa_lips-posnr.
MOVE-CORRESPONDING wa_itab TO wa_new.
wa_new-val = wa_new-totval - deltol.
wa_itab-delqty = wa_new-val.
wa_new-delposnr = wa_lips-posnr.
wa_new-totval = tempquant.
wa_new-sdval = wa_new-val.
wa_new-sdtotval = wa_vbepvb-bmeng.
MODIFY TABLE it_new FROM wa_new .
IF NOT sy-subrc IS INITIAL.
APPEND wa_new TO it_new.
ENDIF.
ENDLOOP.
IF sy-subrc <> 0.
MOVE-CORRESPONDING wa_itab TO wa_new.
wa_itab-delqty = wa_vbepvb-bmeng.
wa_new-delposnr = wa_lips-posnr.
wa_new-val = wa_vbepvb-bmeng.
wa_new-totval = tempquant.
wa_new-sdval = wa_vbepvb-bmeng.
wa_new-sdtotval = wa_vbepvb-bmeng.
APPEND wa_new TO it_new.
ENDIF.
ENDIF.
IF NOT wa_lips-lgort IS INITIAL.
MOVE: wa_lips-lgort TO wa_itab-lgort.
ELSE.
MOVE: wa_vbap-lgort TO wa_itab-lgort.
ENDIF.
APPEND wa_itab TO it_itab .
CLEAR wa_itab.
ENDLOOP.
ENDLOOP.
CLEAR wa_vbepvb.
ENDLOOP.
ENDLOOP.
CLEAR wa_vbak.
ENDLOOP. -
Table Link between Functional Location and Class
Functional location has 'class' ( under section 'general data' in tab 'location'). Could anybody suggest the table name where I can get one to one mapping between the functional location and it's 'class'.
I have put the functional location in KSSK-OBJEK but when I am providing the functional location say
?0100000000000838737 in this field of table KSSK, it is resulting no output. Could you please elaborate
more or suggest something.
Thanks,
HetalHi Gurus
I am also looking for same information.
Would you please advise where to get this Internal Type?
Also would you please advise what is the use of table KSSK in whole process?
Thanks in advance
Kris -
Link between the mode of transport and storage location in IS-OIL Dn Stream
Hi
I am working on IS-OIL Downstream, and while testing the scenario of Purchasing from the other plant (through Purchasing Contract) through Data Collation I am facing a typical problem, and I hope I will get the solution on this.
I am doing the SR Report first and executing the same. After this I run the HR Report and I am putting the difference qty in EUB Item type. When I am verifying this the system is adjusting the qty and proposing the storage location, as per the mode of transport. Means if I maintain the mode of transport in Purchase Contract, for ex if it is 02 -- Train, the storage location will be train. But, I would like to know where is the link between the Storage Location and Mode of Transport, so that I can tell the system to pick up the particular storage location (currently it is picking up wrong storage location).
I will be grateful if any one helps me...
Thanks and Regards,
PKMHi pkm,
if you are working with the OGSD component Data Collation then there is no direct relation to the transport mode. The Data collation is only supporting a vehicle.
Best regards,
Fouad -
Table Link for EQUNR (Eqpt Number) and GEWRK (Main Work Center)
Hello,
I need to fetch the main work center from equipment master. I need a direct table link between the equipment number and mainwork center. We are getting a link of equipment number (EQUNR) to work center (ARBPL) and a link of work center (ARBPL) to main work center (GEWRK). But the problem with this scenario is - main work center is not getting fetched from equipment master once work center is missing.
We want a direct link through some table between EQUNR and GEWRK.
PuneetHi Puneet,
Appreciate your problem !
Many a times in such a situation (which I presume exists where no direct link is available between fields); we have 2 clear cut approaches -
Approach 1:
Develop a SAP Query, Functional Area/Infoset, and User Group ( using T code :SQ03,SQ02,SQ01 respectively )
While developing Functional Area feed in these 2 tables (Table 1- equipment number (EQUNR) & work center (ARBPL) and Table 2 - work center (ARBPL) to main work center (GEWRK) with work center (ARBPL) as the Primary Key- bridge to join these 2 tables.
In SAP Query Development; you may take Plant as the Selection Field or any other field as per business requirement to make a search in the query.
Now when you execute this query, you will get a complete Download of (EQUNR),work center (ARBPL) and main work center (GEWRK) in one table.
For SAP Query, you may also approach your ABAP Team Member. This is a cleaner approach than the other one.
Approach 2:
Take SE16 download of the Table 1 and Table 2 and join them in Excel (using vlookup if required).This approach is however limited to the data volume that you have to process.
Please let me know, if you get stuck !
Thanks,
RAVI. -
PM - Functional location and measuring points
Dear all,
is there any table that stores the link between a functional location and measuring points?
Thanks in advance for any help.
Regards,
sb.Hi
you can go for
EQUI Equipment master data
Arunima -
Table link between product category and responsible purchase group
Hi Expert,
Can anybody tell me if there is a table which contains the link between the product category and its responsible purchase group in SRM 5.0?
Best Regards,
TomHi TOm
Q We have a requirement to read all product categories maintained for purchaser under Extended Attributes tab in Organizational Structure.
A. FM BBP_GET_CATEGORIES_F4 is very useful and exactly what i wanted.
copied from thread.
br
muthu -
Cost Center Linkage between Functional Location and Equipment.
Hi Gurus,
We have found in our analysis that it is impossible to copy the cost center of a superior functonal location to a subordinate one when the cost center of subordinate functional location is changed manually.
We intend to do a mass change for our cost centers of all our functional locations and equipments for all our plants. We need to know how do we achieve this change of cost centers.
Thanks:
SiddharthThanks All for your information.
Actually the Master data team has to do a mass update of cost centers for the Functional locations and Equipments.
And what we have found is that when we change the cost center for an equipment individually it changes the cost center origin of the equipment to "D" which means independent of the changes in the cost center at FL level.
Be it IBIP or any other way what we have found that the linkage(cost center origin) between the FL and the EQUIP changes to "D" when ever we change the cost center for the equipment.
We don't want to change this linkage as it may have other consequences that we can not foresee at this point.
So, my question is :
If the FL and EQUIP linkage (cost center origin field) is changed(from H to D or D to H), what could be the effect on the FL and EQUIP relation?
Cost center origin :
D Independent of changes in cost center at FL level
H It is dependent on the FL cost center.
Thanks:
Siddharth -
Link between schedule Line Number and Delivery
Is there a link between Schedule line Number and Delivery number ?
Eg. Line item 10 with quantity 100.
has 5 schedule lines..with 5 different delivery dates.
1 . quanity 40
2. quantity 30
3. quantity 20
4. quanity 6
5 quantity 4
For schedule line 1, 2 deliveries were created,
one with quantity 20
another with quantity 15
quantity 5 is still not delivered.
also schedule lines 2,3,4 and 5 are fully delivered.
Is there any table, FM etc in SAP which will give me the link between the schedule line and delivery number ?
Total deliveries created : 6. - But which delivery corresponds to which schedule line ?
Please dont tell me to look VGBEL and VGPOS.. that will just give line item number 10.. I need to get the schedule line number.
Also, RV_SCHEDULE_CHECK_DELIVERIES --> will give me the delivered quantity against each schedule line.
My purpose is to create an ontime delivery report .
a report which list each schedule lines, and tell, how many shipments were late/ontime/early etc..
and for Late ones, how many days late has to be found.
this is where i need the delivery.
No. Of days Late = Actual GI Date - Planned GI Date.
Actual GI date is in the delivery.
Any suggestions ?
Thank you in advance.Hi,
Check in the below link.
relation between VBEP-ETENR and LIKP-VBELN
Thanks,
Sree. -
Link between Service Entry Sheet and Material Document
Hi
I am busy with developing a report where i am required to find the link between the Material Document and Service Entry Sheet.
I am aware that on the Purchase Order Data tab of the Material Document has the service entry sheet number and line item. However the problem I have picked up here is in the event I create a Service Entry Sheet with a service in line 1 and for some reason Delete that Line and then capture the service again, it is saved in table ESLL as line 2. This is correct. However when I have a look at the material document, it references it as line 1 of the service entry. Is there any way to get this in sync?
Thanks
VineshThanks
This table does show the service entry sheet number and line item however the line item does not correspond with the line item on the service entry sheet.
Eg.
I create a service entry sheet where I capture a service in line 1.
I delete Line 1
I recapture on line 2.
Post Service Entry
The Material Doc reference document is the service entry however the line item for the reference is 1.
I need to try and link the line items
Thanks
Vinesh -
Sending Functional Location and Equipments using ALE
I want to knbow the transaction code for sending the Functional Locations and Equipments.
Like for Material we have BD10, I need the TCode for both Functional Locations and Equipments
Also please let meknow the message type and basic types for the same.
Thanks in advanceI dont think there is any standard t-code available for distribution of functional area and equipment. Anyway check the menu path SAP Menu -> Tools -> ALE -> Distribution in applications/Master data distribution.
For IDOC and Message type details check transaction codes WE30 and WE81.
Regards
Vinod
Maybe you are looking for
-
How to make a field in Sales order as Display
Hi Friends, I want to make the field pricing date in sales order as display only. Currently the field is changeable. Can someone please tell me how can i do this. Regards, Wasim.
-
Hi all, I uses OracleAS9i and run report services. I kill job id 28 but it show a error: "Cannot Kill Job with Job ID 28SQL-6550: ORA-06550: line 1, column 13: PLS-00201: identifier 'RW_SERVER.REMOVE_JOB' must be declared ORA-06550: line 1, column 7:
-
I have a string variable called codeValue and I want to use it in a dvm:lookupValue. Do you know how to use a variable in a dvm function? Below is my lookup function but I got an XPath error dvm:lookupValue ('cityMap.dvm','Code',codeValue,'CityNames'
-
I have a 8 core 2.4ghz mac pro 5,1 14gb ram OS 10.6.6 Lightroom will just stop responding every 15 minutes or so. Not triggered by any event that I have noticed. I just force quit, restart lightroom and keep working but it is starting to drive me
-
hi Experts, can anybody pls tell me about the CATT