Relation between org_id and master inventory org id
Hi All,
Can some one please help me in finding the relationship between org_id (operating unit level) and master organization id ( Inventory master organization).
My requirement is to get the inventory item for a given transaction in one org from inventory master organization.
Thanks in advance,
Hi Sandeep,
Thanks for the reply
In my case inventory item is assigned to multiple inventory organizations, and these inventory organizations are not same as transaction org_id since transaction org_id is at operating unit level. Because of the above reason i'm trying to get the item which is assigned to a master organization and i want to get the master organization id based on the transaction org_id.
Thanks,
Similar Messages
-
What is relation between atc1 (item master attachment) and item master.
hi.
i am having some problem.
ie.
what is the relation between atc1 and item master header....
i want to execute the below query.... and i want to get the line no from the sql.
if u ask what is the difficulty..
one.jpg may be two items can upload ...the same image. i can not filter based on the file name
select Line from atc1 where FileName ='one.jpg'
is it possible like
select Line from atc1 where FileName ='one.jpg' and itemcode='one'Hi,
Try this:
SELECT T1.[Line] FROM OITM T0 left join ATC1 T1 on T1.[AbsEntry] = T0.[AtcEntry] WHERE T1.[FileName] =[%0]
It will displace name of the file which is attached to item master.
Thanks & Regards,
Nagarajan -
Relation between matnr and kunnr in master tables
Hi Friends,
could you please suggest me database tables where we can get relation between matnr and kunnr in master tables.
Thanks,
SathishHi Satish,
MARA ---> General Material Data
Best regards,
raam -
How to make relation between gl_je_lines and wip_transaction_accounts
I try to write script to make relation between GL and WIP, wip_transaction_accounts and mtl_material_transactions
1.
SELECT
(SELECT meaning
FROM mfg_lookups
WHERE lookup_type = 'WIP_TRANSACTION_TYPE'
AND lookup_code =
(SELECT TRANSACTION_TYPE
FROM wip_transactions
WHERE transaction_id = wta.transaction_id
) "Transaction Type" ,
gjb.NAME "Journal Batch Name" ,
gjh.NAME "Journal Name" ,
gjh.je_source "JE Source" ,
gjh.je_category "JE Category" ,
glp.period_num "GL Month" ,
glp.period_year "GL Year" ,
gjh.default_effective_date "GL Date" ,
NVL(gje.accounted_dr,0) -NVL( gje.accounted_cr,0) "GL Line Amount" ,
gje.description "GL Line Description" ,
(SELECT organization_code
FROM mtl_parameters
WHERE organization_id = wta.organization_id
) "ORG Name" ,
NULL "Vendor/Customer Name" ,
NULL "SO/PO Number" ,
NULL "Reference Number" ,
NULL "AP/AR Invoice Number" ,
NULL "Doc Sequence Value" ,
NULL "Invoice Type Lookup Code" ,
NULL "Check Number" ,
NULL "Line Type" ,
NULL "Category" ,
NVL (wta.base_transaction_value, 0) "Transaction Amt" ,
NULL "AR/PO Receipt Number" ,
NULL "Applied Invoice Number" ,
(SELECT a.segment1
FROM mtl_system_items_b a ,
wip_discrete_jobs b
WHERE a.inventory_item_id = b.primary_item_id
AND a.organization_id = b.organization_id
AND b.wip_entity_id = wta.wip_entity_id
AND b.organization_id = wta.organization_id
) "Item Name" ,
gcc.segment1 "Company" ,
gcc.segment2 "Department" ,
gcc.segment3 "Account" ,
(SELECT description
FROM fnd_flex_values_vl fnd
WHERE flex_value_set_id = 1009707
AND TO_CHAR (fnd.flex_value) = gcc.segment3
) "Account Description" ,
gcc.segment4 "Intercompany" ,
NULL "JE Category Description" ,
NULL "AP Invoice Line Description"
TRUNC (wta.transaction_date) "JE Creation/Inv Trans Date" ,
NULL "JE Created By" ,
NULL "Reversal Flag" ,
NULL "Reason Code" ,
NULL "Subinventory Name" ,
wta.primary_quantity "Quantity" ,
NVL (wta.base_transaction_value, 0) "Value" ,
gje.context ,
gje.attribute1 ,
gje.attribute2 ,
gje.attribute3 ,
gje.attribute4 ,
gje.attribute5 ,
DECODE(gjh.status,'P','Posted','U','Unposted','Error') "Post Status"
FROM gl_je_lines gje ,
gl_je_headers gjh ,
gl_je_batches gjb ,
wip_transaction_accounts wta ,
gl_code_combinations gcc ,
gl_periods glp
WHERE 1 =1
AND gje.je_header_id = gjh.je_header_id
AND gjh.je_batch_id = gjb.je_batch_id
AND UPPER (gjh.je_source) = 'INVENTORY'
AND gcc.code_combination_id = gje.code_combination_id
AND wta.reference_account = gje.code_combination_id
AND TRUNC(wta.transaction_date) BETWEEN glp.START_DATE AND glp.END_DATE
AND gje.reference_1 = wta.gl_batch_id
AND gje.gl_sl_link_table = 'WTA'
AND glp.period_name = gjh.period_name
AND glp.period_set_name = 'OVT_US_CAL'
==
2.
SELECT mtt.transaction_type_name "Transaction Type" ,to_char(mmt.transaction_date,'mm/dd/yyyy hh:mi:ss') as teas, mta.transaction_id,mta.organization_id, mmt.organization_id,
gjb.NAME "Journal Batch Name" ,
gjh.NAME "Journal Name" ,
gjh.je_source "JE Source" ,
gjh.je_category "JE Category" ,
glp.period_num "GL Month" ,
glp.period_year "GL Year" ,
gjh.default_effective_date "GL Date" ,
NVL(gje.accounted_dr,0) - NVL(gje.accounted_cr,0) "GL Line Amount" ,
gje.description "GL Line Description" ,
(SELECT organization_code
FROM mtl_parameters
WHERE organization_id = mta.organization_id
) "ORG Name" ,
NULL "Vendor/Customer Name" ,
NULL "SO/PO Number" ,
mmt.TRANSACTION_REFERENCE "Reference Number" ,
NULL "AP/AR Invoice Number" ,
NULL "Doc Sequence Value" ,
NULL "Invoice Type Lookup Code" ,
NULL "Check Number" ,
NULL "Line Type" ,
NULL "Category" ,
NVL (mta.base_transaction_value, 0) "Transaction Amt" ,
NULL "AR/PO Receipt Number" ,
NULL "Applied Invoice Number" ,
(SELECT segment1
FROM mtl_system_items_b
WHERE inventory_item_id = mmt.inventory_item_id
AND organization_id = mmt.organization_id
) "Item Name" ,
gcc.segment1 "Company" ,
gcc.segment2 "Department" ,
gcc.segment3 "Account" ,
(SELECT description
FROM fnd_flex_values_vl fnd
WHERE flex_value_set_id = 1009707
AND TO_CHAR (fnd.flex_value) = gcc.segment3
) "Account Description" ,
gcc.segment4 "Intercompany" ,
NULL "JE Category Description" ,
NULL "AP Invoice Line Description"
TRUNC (mta.transaction_date) "JE Creation/Inv Trans Date" ,
NULL "JE Created By" ,
NULL "Reversal Flag" ,
(SELECT MGD.SEGMENT1
FROM MTL_GENERIC_DISPOSITIONS MGD,
MTL_MATERIAL_TRANSACTIONS MMTT
WHERE MGD.DISPOSITION_ID = MMTT.TRANSACTION_SOURCE_ID
AND MMTT.TRANSACTION_SOURCE_TYPE_ID = 6
AND MGD.ORGANIZATION_ID = MMTT.ORGANIZATION_ID
AND MMTT.TRANSACTION_ID = MMT.TRANSACTION_ID
) "Reason Code" ,
mmt.SUBINVENTORY_CODE "Subinventory Name" ,
mta.primary_quantity "Quantity" ,
NVL (mta.base_transaction_value, 0) "Value" ,
gje.context ,
gje.attribute1 ,
gje.attribute2 ,
gje.attribute3 ,
gje.attribute4 ,
gje.attribute5 ,
DECODE(gjh.status,'P','Posted','U','Unposted','Error') "Post Status" -
FROM gl_je_lines gje ,
gl_je_headers gjh ,
gl_je_batches gjb ,
mtl_transaction_accounts mta ,
mtl_material_transactions mmt ,
mtl_transaction_types mtt ,
gl_code_combinations gcc ,
gl_periods glp
WHERE 1 =1
AND mta.transaction_id = mmt.transaction_id
AND gje.je_header_id = gjh.je_header_id
AND gjh.je_batch_id = gjb.je_batch_id
AND UPPER (gjh.je_source) = 'INVENTORY'
AND gcc.code_combination_id = gje.code_combination_id
AND mta.reference_account = gje.code_combination_id
AND TRUNC(mta.transaction_date) BETWEEN glp.START_DATE AND glp.END_DATE
and mta.request_id=mmt.request_id
and mta.inventory_item_id=mmt.inventory_item_id
AND gje.reference_1 = mta.gl_batch_id
AND gje.gl_sl_link_table = 'MTA'
AND mtt.transaction_type_id = mmt.transaction_type_id
AND glp.period_name = gjh.period_name
AND glp.period_set_name = 'OVT_US_CAL'
When gl_je_lines have multiple line this script on the same transaction_id it will get wrong information. By setup all wip_transaction_accounts.GL_SL_Lind_id and mtl_transaction_accounts.GL_SL_Lind_id is null
Anyone can help?Hello.
How are you reaching the inconsistencies ? Are you comparing report's results?
Octavio -
Relation between plant and shipping point
Hi all,
my simple question is, what is the relation between plant and shipping point ?
in book i read, it is many to many,
but in some web link it is showing 1 to many
what is the logic behind these two ans.
pls tell me the ans...
Regards
AvinashHi Hegal . K . Charles,
it is correct, as we discussed above it may be MANY to MANY .
Suppose, we hv 2 plant 1 in delhi and 2nd in nagpur. and this company want to export via inland water ways, in this case we can assign mumbai port to delhi and nagpur plant as well.
as you said it is correct, It is just not to overload the master data maintenance
Ex- In case of Sales Org. Its is always advisable to keep it minimum to per company code. Because master data records are multiplied by each additional org. element. -
Is any relation between customerNo and Plant in R/3
hi,
<b>in bapi_salesorder_cretefromdat2 i can get netprice by giving import parameters like customerNo,salesArea,material, etc.......That means customer should be assinged to a plant(one sales area can have many plants( material price can vary from plant to plant) .pls give me clear picture on how net price is calculated in bapi_salesorder_createfromdat2</b>.
regards
GuruThere is a relation between customer and plant in the KNA1 General Data in Customer Master table.
kna1-kunnr
kna1-werks.
Kindly reward the points -
What is the relation between KTOPL and 0CHRT_ACCTS_ATTR? both Chart of Acct
Hi
If an R3 field e.g. KTOPL (in datasource 0fi_gl_4) which is a "Chart of Accout" is extracted a part of 0fi_gl_4 to BI,
is there the need to separately extract 0CHRT_ACCTS_ATTR & 0CHRT_ACCTS_TEXT which are also "Chart of Accout"
What is the relation between KTOPL and 0CHRT_ACCTS_ATTR & 0CHRT_ACCTS_TEXT in R3?
What is the relation between KTOPL and 0CHRT_ACCTS_ATTR & 0CHRT_ACCTS_TEXT in BI?
ThxHi,
I get these well with examples so let me see if I get your point:
So in the tranx data the 0fg_gl will be a value for KTOPL e.g. 450009 as a G/L Account number? (Values for chart of Acct should be GL Accounts, right?)
but before this tranx data is loaded, preferrably, 0CHRT_ACCTS_ATTR and 0CHRT_ACCTS_TEXT should have been extracted to BI; and data loaded; and this will be the master data and there should have been in it:
.._ATTR -
.._TEXT
450009 -
Petty cash Expenses
Is my understanding exact?
Thnx -
What is the relation between bw and netweaver
Hi all
what is the relation between bw and netweaver? any one give answer for thisHi
SAP NetWeaver
The SAP NetWeaver technology platform is the open integration and
application platform that reduces total cost of ownership (TCO) across the
entire IT landscape.
SAP NetWeaver integrates and aligns people, information, and business
processes across technologies and organizations
And BW is a part of Composite Application framework for Information Integration
This framework also contains Other Components such
o Enterprise Portals (EP)
o Exchange Infrastructure (XI)
o Master data management (MDM)
o Solution manager
o Web Application server (WAS)
o xApps
Hope this solves ur question.as if any further doubts
Sonal... -
Relation between idoc and EDI,ALE
Hi,
I am new to IDOC. Can u please tell me whether there is any relation between IDOC and ALE or IDOC and EDI. If so what is the relation between them.Hi Buvana,
ALE is a means of migrating DATA between SAP systems. You configure logical destinations, establish some migrating criteria and the system takes care of getting your data from point A to point B.
EDI ->
EDI is described as the interchange of structured data according to agreed message standards between computer systems, by electronic means. Structured data equates to a simple and direct method of presenting the data content of a document. The method of ensuring the correct interpretation of the information by the computer system is defined by the EDI standard."
EDI is a technique used to communicate business transactions between computer systems of different companies and organizations. Note that sometimes the EDI mechanism deployed at a company is often used to interface to other systems within the same organization."
Info shuttle - "I was implementing EDI at a customer and I wanted some real data to test with in Development, so I asked the Project Manager to see if he could arrange something. Literally, 20 minutes later he came back and said that there were 10 new orders in Development, together with the customer master records related to the order, the carrier vendor master record, the material master records, ... were all there. I asked him how he had done it so quickly which led me to my first exposure with Infoshuttle, a tool that does this for you using the ALE functionality. As an ALE consultant I know how to do this stuff but I also know how long it would take to set that up.
www.sapgenie.com/sapedi/edi_sap_training.htm
www.sap-img.com/basis/ difference-between-edi-and-idoc.htm
www.help.sap.com/saphelp_nw04/helpdata/ en/35/26b592afab52b9e10000009b38f974/content.htm
www.help.sap.com/saphelp_nw04/helpdata/ en/35/26b594afab52b9e10000009b38f974/content.htm
http://www.onestopsap.com/interview-Question/edi/
IDocs act as data containers in an ALE scenario. They are just a format of storing application data and then transferred using ALE. Take a look at http://www.sapgenie.com/ale/why_ale.htm and http://www.sapgenie.com/sapgenie/docs/ale_whitepaper.doc for further details on ALE.
Check this link.
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.henrikfrank.dk/abapexamples/IDOC/IDOC.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm
http://help.sap.com/saphelp_47x200/helpdata/en/0b/2a6095507d11d18ee90000e8366fc2/frameset.htm
Regards,
Priyanka. -
Table relations between vbrk and bkpf for Accounting Document Number
hello,
i am using 4 tables to get data into my programs.
vbrk,vbrp konv and bkpf.
i want to get belnr from bkpf.i found relation between vbrk and belnr.but in vbrk table belnr's value is initial.
can anybody tell me that how should i relate vbrk and bkpf or how to get Accounting Document Number(belnr) from bkpf for Billing Document(vbeln).
regards,
soniya s.hi,
chekc this. its working for me.
data : WA_AWKEY LIKE BKPF-AWKEY.
data : WA_BELNR LIKE BKPF-BELNR.
data : LENGTH TYPE I.
*BREAK MTABAP.
LENGTH = STRLEN( IT_VBRK-VBELN ).
if LENGTH = '10' .
MOVE it_vbrk-VBELN TO WA_AWKEY.
SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
WHERE AWKEY = WA_AWKEY
AND AWTYP = 'VBRK'
and blart = 'RV'.
it_final-acc_doc = WA_BELNR.
CLEAR WA_BELNR .
CLEAR WA_AWKEY .
else.
CONCATENATE '0' it_vbrk-vbeln INTO wa_awkey.
SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
WHERE AWKEY = WA_AWKEY
AND AWTYP = 'VBRK'
and blart = 'RV'.
it_final-acc_doc = WA_BELNR .
CLEAR WA_BELNR .
CLEAR WA_AWKEY.
endif. -
Database table/FM to find relation between plant and company code in SRM
Hi,
I have a requirement where I need to determine the relation between the plant and company code in SRM.
The plant and company code both belong to R/3. We are replicating the plant by using the report BBP_LOCATIONS_GET_ALL.
This plant is now available as a BP in SRM. But from which SRM table or using which SRM FM can I get the relation between this and the company code?
Thanks,
SrivatsanHi
<b>Check table BBP_LOCMAP. (Plants) - Manage Table Business Partner > System > Location
BBP_COMPCODE_FAV User-Specific Favorites for Permitted Company code.</b>
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul -
Relation between Rollup and compression.
Hi All,
Is there a relation between rollup and compression ? i.e if i compress the cube, will the rollup job be faster ?Hi,
Thanks for all your replies. Now the picture is crystal clear.
1. A compression job moves data from F table to E table. This is also applicable for aggregates. If you schedule a compression job for a cube, the aggregates are automatically compressed( You can also compress aggregates of a cube without compressing the cube. There are programs avalibale for the same).
2. Assume that you have not done compression . If you load the data to base cube ,it takes more time to create the indexes after loading.
3) Assume that you have done compression . If you load the data to base cube ,it takes less time than 2 point to create the indexes after loading.
On similar lines, if aggregates of a cube are compressed before rollup, then rollup will be faster. This is what exactly I have experienced. I had a cube which had 1000 request. It was never compressed. The rollup job for the cube used to take around 60,000 seconds. I compressed 900 requests. Now the rollup job gets over in 2400 seconds.So the conclusion is the following:
<b>When aggregates of a cube are compressed, the rollup job runs faster.</b>
Message was edited by: Tej Trivedi -
Table that gives the relation between plant and company code
Hi gurus,
I actually have plant number and using this plant value i need to get the company code.
Is there any table that gives the relation between plant and company code. So,that i can get the company code details.
Thanks in advance.Hi Bhanuphani,
Use T001K where BWKEY is the plant
Reward if useful
Thanks Arjun -
Is There any Relation Between PCD and SSO
Hi,
Is there any relation between PCD and SSO, why because if i am try to connect from portal to R/3 in the user mapping i got one error i.e some pcd error.
pls tell me how to rectify that.
Regards,
Jagadish Babu Kanikanti.Hi Jagadish
The PCD is only a central persistance for storing Portal objects. There is no such relation between PCD and SSO that could create a problem. You can however check for the PCD error in this manner.
1. In the system administration role, choose System Administration -> Support. The Support Desk appears.
2. Select the area Portal Content Directory.
3. Click on PCD Configuration in the test and configuration tools. The next screen shows all the parameter values currently maintained for the PCD.
4. To reload the configuration, choose Reload.
Hope that helped.
Best Regards
Priya -
Can any one explain me the relation between BDC and reports events?
hi experts.....
can any one explain me the relation between BDC and reports events? we are using report events in BDC programmes why?\
Is reports events occurs in each and every concept in ABAP i.e creating custom idocs, smart forms, sap scripts, dialog programmes, module pool technics?
thanks in advanceThe forums are expert forums. So the first thing I would do is change your name.
It's like entering a grand prix in a car with a "Student Driver" sign.
Rob
Maybe you are looking for
-
Call rfc sender adapter from non-sap systems
Hi, is ist possible to connect to an rfc sender adapter from non-sap systems? I want to use the the RFC-Connector from http://rfcconnector.com, but in the client connect options there is no way to specify the program id. Best regards, Daniel
-
Default home page links do not work
Before i updated to 34.0.5, I had images on a new tab page and on the default home page, i could click on the quick links. Nothing on the default home page works! I have no images on a new tab page! What happened?
-
Hi Please can someone advise how I can easily copy and paste styles across slides textually on Keynote? When I copy style in one text box to paste in another text box on Keynote (even on the same slide!), nothing happens. It is really annoying (and I
-
could not install mountain lion We could not complete your purchase. OS X Mountain Lion is not compatible with this computer. I'm running the latest update 10.6.8. Any help to overcome this issue will be great
-
HT201407 My iPad has a iCloud Backup message that stays on the screen and I cannot open the iPad
My IPad is frozen. A message is displayed "I Cloud Backup....." Message stays on screen and I cannot access Ipad