Subcon between companies
we have two company code 7730 and 7731, plant P730 belong to 7730, plant P731 belong to 7731,
7731 is a subcontractor. raw material in P730 is sent to P731 as non-valuated, then activities and valuated raw material , together
with non-valuated raw mat from P730 is under subcontracting manufacturing production order in plant P731. after subcontracting, finished products is sent back to P730.
for standard sucontract process, should we do costing run in P730 or P731? should we do WIP calculation, variance settlement in p730, any key configuration in FI/CO module needs to be done? any t-code s for testing this subcontract process? Thanks
how to close this thread? in the old forum system, we can close the thread, now we can only mark as assumed answer.
do we still having ten threads at maximum limit? thanks
Similar Messages
-
Database design for swapping/trading items between companies
What is the best SQL table schema for items being swapped/traded between companies? For instance:
e.g.1 If company A wants to swap item 0001 (owned by customer X but being managed by company A) with company B who is offering item 0002 (owned by customer Y but being managed by company B) and item 0003 (owned by customer Z but being managed by company B)
e.g.2 If company A wants to swap item 0004 (owned by customer X but being managed by company A) with company B who is offering item 0005 (owned by customer Y but being managed by company B)
These are the tables I have so have so far, it should be good enough to support 1 to 1 trades but not too sure about 1..* to 1..* (many to many) trades, is it correct or can it be improved further?
Note: Trades can only happen between two companies, but they could trade as many items as they wish.
Trade
id: int (primary key)
company1_id: int (foreign key)
company2_id: int (foreign key)
datetime: string
status: string
TradeDetail
id: int (primary key)
trade_id: int (foreign key)
item_id: int (foreign key)
Company
id: int (primary key)
name: string
address: string
phone: string
email: string
rating: int
Customer
id: int (primary key)
f_name: string
s_name: string
dob: string
address: string
phone: string
email: string
Item
id: int (primary key)
customer_id: int (foreign key)
company_id: int (foreign key)
price: doubleI made a few changes.
You need to think about NATURAL KEY for each table. For example, what is the NATURAL KEY for the Customer table. It can be:
CompanyTaxID char(9) NOT NULL UNIQUE
or
SSNO char(9) NOT NULL UNIQUE
Trade
id: int (primary key)
company1_id: int (foreign key)
company2_id: int (foreign key)
datetime: datetime
unique(company1_id, company2_id, datetime)
status: string
TradeDetail
id: int (primary key)
trade_id: int (foreign key)
item_id: int (foreign key)
Company
id: int (primary key)
name: string
address: string
phone: string
email: string
rating: int
Customer
id: int (primary key)
f_name: string
s_name: string
dob: string
address: string
phone: string
email: string
Item
id: int (primary key)
customer_id: int (foreign key)
company_id: int (foreign key)
price: decimal(20,2)
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014 -
Common Clientes between companies
Experts,
I'm in a rollout project, and there is a question that I'm trying to deal with and it's not clear in my mind.
Follows the situation:
- Company A in Spain and Company B in Portugal;
- Client C0000X, common to Company A and Company B;
It is possible for me to create the client once and make is shareable between the two companies. However, I'm not aware of the risks that this option may represent.
I've been searching for documentation that could give me an idea of the risks but haven't found any. Is there any, known, document that I can read to solve my doubts?
Have anyone experienced this situation? How did you solved it?
Thanks for the help, in advance.
Kind Regards
MiguelAnswered
-
Resource sharing between companies
We have setup cross charge and intercompany billing for this scenario: company has 2 OU: US and Canada. And employee of the US unit is performing work on a project owned by the Canada OU. We have enabled the project for cross charge and the labor is entered through the a US responsibility. Then the transactions are not visible in the Canada responsibility. Why is that? Shouldn't the transactions be visible in Canada expenditure inquiry screen? We are able to generate revenue and invoice on these transactions in the Canada responsibility, just not view them in Canada (receiver) expenditure inquiry? Are we missing something in the setup??
Thanks!Hi,
Please try checking under the below navigation.
Expenditures-->Expenditure Inquiry-->All ( The Cross charge transactions will Not be available under Expenditure Inquiry-->Project Tab)
Please also review the following document on Cross Charge.
White Paper On Cross-Charge/Borrowed-Lent/InterCompany Processing In Projects (Doc ID 1351653.1)
Thanks,
Venkat -
Hi,
I am trying to copy all data through qdf file. Copying file is successful.
When trying to copy from file to new data base. I can not.
I use the following options; Delete all records...
copy records...
use accounts in source...
overwrite target...
Error: No matching records found 'bank codes'
Then i tried to copy only the CoA, but same error appeared.
I tried to upload CoA into target through DTW. Then made the copy from file changing the first option to
Add and update records...
copy records...
use accounts in source
overwrite target...
Could not make the copy successfully.
Please advice the right procedure of copying all data from configured data base to new one.
Yours,
HazemHi Khatib,
Please check below links.
Copy Express in SAP Business One - YouTube
New version of the Copy Express
Copy express
Hope this help
Regards::::
Atul Chakraborty -
Dear all,
I need to configure SAP in order to be able to bill some services that are invoiced from one company code to another. I would like to keep it simple and also avoid work duplication. We have: company A invoicing value X to company B. This means a debit note is created in company code A for customer B and in company code B that value is registered as a cost in a document.
Can i reproduce this process through intercompany (because there are no materials or stock)? Should i use idocs? Can anyone give me some tips?
Thank you!
Best regards
Joana TrigoDear Murali,
thank you very much for your answer. I've already looked for that option but these operations include VAT and that process doesn't work well: 1st, because it considers VAT amounts in a single company and afterwards we have to run a report (report RFBUST10); 2nd, because of the following: imagine that for company code A you want:
50 profit account (7214000) u2013 net value
50 VAT account (2433100) - vat
01 Customer account (company B) net value + vat
that corresponds to a posting for company code B like the following:
40 cost account (6221120) net value
40 VAT account (2432300) vat
31 Vendor account (company A) - (net value + vat)
If you do like mentioned the system will create 2 documents, one for A another for B like this:
A:
50 profit account (7214000) u2013 net value
50 VAT account (2433100) - vat
40 VAT account (2432300) vat
01 Customer account (company B) net value
For company code B:
40 cost account (6221120) net value
31 Vendor account (company A) - net value
So at the end, values posted to customer and vendor are net and not net+VAT as they should be.
Best regards
Joana Trigo -
Transferring UDFs between companies
Hello SAP experts.
I have sorted my UDF's, but, as I am using trial and error I always have to use the Test System first (which is a duplicate company used for practising), the info needs to be transferred over to the main company.
I noticed that if I want to just manually add these again to the main company i need other users to log out. What's the best way of doing this?
thanksHello again Groovy,
There is an addon tool that comes free of charge with SAP Business One called Copy Express, I work for a SAP Partner in the UK and I use this to copy anything from print layouts, to master data, or even just user defined fields and the formatted searches. You can also use this to copy user settings. If you still have your SAP Addon CD then you should find it on there, however there will probably be a newer version on the SAP Portal and your SAP Partner should be able to provide you installation files.
What you can do is setup what you want to copy from your test to your live and then save this so that you can run it again and again as you add more fields etc.. You will need to get people out of the database whilst you do this as it does modify tables, but it will make it much quicker and easier for you.
I hope this helps!
Regards,
Adrian
Hi Groovy. Is this still an issue for you?
Edited by: Adrian Johnson on Jan 22, 2008 4:54 PM -
Relation between Company and Personnel Area
Hello friends,
Which table i can find the relation between companies and personnel areas ?
I found T001P, but this table has only the relations between personnel area and personeel subarea...
Thanks for your help.Hi,
Personnel area - company code assignment : V_T500P
Company - company code assignment : V_001_Y
Regards,
Dilek -
Difference between Master Idoc and Communication Idoc.
Can anyone list out the difference between Master Idoc and Communication Idoc?
IDoc (for intermediate document) is a standard data structure for electronic data interchange (EDI) between application programs written for the popular SAP business system or between an SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP's Application Link Enabling (ALE) system. IDocs are used for asynchronous transactions: each IDoc generated exists as a self-contained text file that can then be transmitted to the requesting workstation without connecting to the central database. Another SAP mechanism, the Business Application Programming Interface (BAPI) is used for synchronous transactions.
Form and content: IDoc terminology
As is often the case with proprietary technologies, SAP assigns specific, object-oriented meanings to familiar terms. When referring to IDocs, the term document refers to a set of data comprising a functional group of records with a business identity. (For example, all the data in a purchase order, or all the profile information of a supplier in a supplier master record.)
A message refers to the contents of a specific implementation of an IDoc; its a logical reference. This differs from a reference to the IDoc itself, which specifies the messages physical representation. Think of it this way: If youre watching a parade pass by, the mayor waving to the crowd from his limousine is the message, and the mayors limousine (which is specific to the mayor) is the IDoc. Youre building a logical object, and the IDoc is both its container and the vehicle that moves it.
The IDoc control record
Each IDoc has a single control record, always the first record in the set. The structure of this record describes the content of the data records that will follow and provides administrative information, such as the IDocs functional category (Message Type/IDoc Type), as well as its origin (Sender) and destination (Receiver) as in conventional EDI
Layout of an IDoc control record
This cover slip format informs the receiving system of the IDocs purpose, and the receiving system uses it to determine the correct processing algorithm for handling the arriving IDoc.
Data records
The data records following the control record are structured alike, including two sections: a segment information section and a data section.
In the first part of a data record, the segment information section describes the structure of the data that follows, for the benefit of the IDoc processor. There is a segment name (like an EDI segment identifier) that corresponds to a data dictionary structure to which the IDoc processor has access. The remaining information is useful for foreign systems, such as a partner companys Oracle system, which has no such data dictionary.
The second part of the record is the data itself, a storage area of 1,000 characters.
Status records
If youve ever ordered a package from a faraway location and tracked its progress using the Internet-based tracking utilities now provided by most major parcel carriers, youre familiar with the list of stops and transfer points through which a package passes on its way to you.
This collection of records is exactly what youll see in an IDoc that has begun its work. Following the data records in an IDoc, status records accumulate as an IDoc makes its way from one point in a process to another.
Typically, an IDoc will acquire several of these records as its does its job. They are simple records, consisting of a status code (there are more than 70 codes, covering a broad range of conditions and errors), a date/time stamp, and some additional status information fields for system audit purposes. In addition, as errors occur in the processing of an IDoc, status records are used to record these errors and the date/time of their occurrence.
IDoc Base
IDocs, as data formatting tools, enable the easy sharing of data between databases and applications within a company as well as being an efficient data courier between companies. Typically in SAP, a database of IDoc definitions exists, to which any application may have access.
This IDoc Base gives all the applications and processes in your company domain the capacity to send, receive, and process a document in a contextually appropriate way, without doing anything to the data. For example, a purchase order IDoc can filter through every process it touches, passing from system to system, accumulating status records to track its progress.
Every department using the data can use it appropriately without any cumbersome intermediate processes, because each department draws its key to interpreting the IDoc from the same source.
Multiple messages
One cumbersome feature of conventional EDI is the embedding of more than one functional record type in a document. The unwieldy X-12 888 Item Maintenance transaction set is an example: It purports to handle so many different configurations of product master data that it is horrifically difficult to integrate into an existing system.
IDocs, on the other hand, handle multiple messages with ease. Given the centralized IDoc interpretation that SAP provides to all its parts, its no problem to define an IDoc that will contain more than one message, that is, more than one data record type.
A customer master IDoc, for example, may contain customer profile information records for a customer with many locations. But it may also contain location-specific pricing information records for that customer in the same document. This is an incredibly efficient way of bundling related records, particularly when passing large amounts of complex information from system to system Records in a multiple-message IDoc -
Internet Connection loss after losing connection between 2 sites
Hello,
I have started working for a company over a year ago and recently we are running into an issue with losing internet after a loss of connection between companies site. Below is a summary of setup.
Company has 2 locations, Site A and Site B..both same domain
Site A has DC and other servers such as ERP, Document Control Software.
Site B has DC, Printer Server, File Server and other essentials servers.
Each site has own independed 20 MB connection.
Site A and B are linked via MPLS and only used for ERP, Document Control software, and DC traffic.
Recently we started to have frequent connection issues with the MPLS and as a result I started to notice none of the users at Site B can access the internet such as google.com, msn.com...etc. As soon as MPLS connection is restored interent works.
The DC at Site B was setup before I started working for company.
I have been trying for the past few days to figure out why Site B is losing connection when MPLS Tunnel is not operational...but so far no luck.
I am very sure that internet traffic is not routed via MPLS because when internet is working the IP lookup such as "whatismyipaddress.com" points to ISP IP address for site B. Also when doing tracert to external website the route is via ISP for
Site B.
I think this issue is related to DNS but cannot tell the cause or how to fix?
Thanks for assistance in advance.Hi
Having said internet is not routing via MPLS, Even i think to be a DNS issues,
Try to check the below
Ensure all the client DNS is set to AD DNS server
In AD DNS server ensure its not forwarding DNS query to Other site
During outage check any client PC manually changing the DNS IP to 4.2.2.2
- all client DNS are set to AD DNS server
- I checked the properties for the AD DNS and found there are 3 forwarders listed.
The first IP is at Site A which is resolved.
The second IP I am not sure about since it is not even in our subnet (not resolved)
The 3rd IP seemed to be for an old DC that is no longer operational (not resolved).
- During outage if I change client machine DNS to 8.8.8.8 or 4.2.2.2 they can access the internet.
I guess my issue is with the forwarders. Would the right step be remove all 3 forwarded and add 8.8.8.8 and 4.2.2.2?
Thanks. -
Intercompany stock transfer order
Hi all
I have a STO between different plants in different company codes in two steps (643).
I saw that in the time between the made of 643 and that of 101, the value of stock in transit is 0. I saw already the sap note stock in transit between companies (like that between plants in the same company) or I must calculate it or using in my program?
thanks
DavideHi,
Perhaps for your requirements is so easy control it by deliveries NLCC and its status, ie: you can create a report where you can read the info from table VBFA (flow of documents on you have the MM movements).
I copy some ABAP coding for control stock transfer for deliveries UL.
*& Form selecciona_entregas
form selecciona_entregas .
clear entregas.
select vbeln lfdat kunnr from likp
into corresponding fields of table lt_ul
where lfart = p_lfart
and lfdat in s_lfdat.
describe table lt_ul lines entregas.
check entregas > 0.
select * from vbfa
into table lt_vbfa
for all entries in lt_ul
where vbelv = lt_ul-vbeln.
endform. " selecciona_entregas
*& Form tratar_flujo
text
--> p1 text
<-- p2 text
form tratar_flujo .
data: veces like sy-dbcnt.
check entregas > 0.
delete lt_vbfa where posnv is initial.
loop at lt_vbfa where vbtyp_n = 'R'.
sm_vbfa = lt_vbfa.
append sm_vbfa.
endloop.
loop at lt_vbfa where vbtyp_n = 'i'.
em_vbfa = lt_vbfa.
append em_vbfa.
endloop.
loop at lt_ul.
loop at em_vbfa where vbelv = lt_ul-vbeln.
if em_vbfa-plmin = '+'.
add 1 to lt_ul-mov_p.
elseif em_vbfa-plmin = '-'.
add 1 to lt_ul-mov_n.
else.
nada/nothing
endif.
endloop.
modify lt_ul.
endloop.
loop at em_vbfa where plmin = '+'.
at new vbelv.
clear veces.
endat.
add 1 to veces.
read table lt_ul with key vbeln = lt_vbfa-vbelv.
if sy-subrc = 0
and lt_ul-mov_p > 0.
if lt_ul-mov_p = lt_ul-mov_n.
delete em_vbfa where vbelv = lt_ul-vbeln.
elseif lt_ul-mov_p > lt_ul-mov_n.
if veces < lt_ul-mov_p.
delete em_vbfa.
endif.
endif.
endif.
endloop.
delete em_vbfa where plmin = '-'.
endform. " tratar_flujo
*& Form matriz_de_datos
form matriz_de_datos .
check entregas > 0.
loop at sm_vbfa.
read table em_vbfa with key vbelv = sm_vbfa-vbelv
posnv = sm_vbfa-posnv.
if sy-subrc <> 0.
datos-vbeln = sm_vbfa-vbelv.
datos-posnr = sm_vbfa-posnv.
datos-mblnr = sm_vbfa-vbeln.
datos-zeile = sm_vbfa-posnn.
datos-dmbtr = sm_vbfa-rfwrt. "evita acc.MSEG
append datos.
endif.
endloop.
loop at datos.
read table lt_ul with key vbeln = datos-vbeln.
if sy-subrc = 0.
move-corresponding lt_ul to datos.
select single name1 into datos-name1 from kna1
where kunnr = datos-kunnr.
endif.
select single budat into datos-budat from mkpf
where mblnr = datos-mblnr.
modify datos.
endloop.
endform. " matriz_de_datos
For your requiriment perhaps you can use NLCC (no UL).
I hope this helps you.
Regards,
Eduardo
Edited by: Eduardo Hinojosa on Jul 10, 2008 3:46 PM -
Intercompany Stock Transfer with WM
Hi,
We are doing stock transfer between companies.
The steps we are following are
1) Purchase order created with order type NB.
2) Outbound delivery create which moved our stock to intrerim Storage type 916
3) Inbound delivery is created to receive material in destination Plant
4) While put-away the material , system trying to Pick material from interim storage type 902.
But I was expecting that either at the time OBD system will place stock to 902 interim Storage type OR at the time of inbound -putaway system will pick the material from 916 (instead of 902). But actually it is not happening.
Therefore my question to how to get move stock from Storage type 916 to 902 OR how to adjust inventory between 916 and 902.
Presently at my end , at the time of Put-away material into destination plant system is trying to pick inventory from 902 where no inventory is available and therefore prompting an error "negative stock not allowed"
regards
Shrey
Since no inventory is available is there in Storage type 902Hi Anantharam,
The 'Allow negative stock' for the interim storage type 902, is active and still I get the same error.
For the same scenario, system is able to create a quant for ST 902 and another quant for the destination storage provided I choose a storage location which is not HU managed.
And the same scenario works for delivery type NL (intra company) & vendor purchase.
The problem what I face is only with delivery type NLCC.
As a work around, I am taking stock in to a non HU managed S.Loc and then thru transaction VLMOVE , I move this to a HU managed S.Loc. But this is not the right solution
Please can you giude me were could the error be, and after outbound delivery from the sending plant are we first to take the product into a non HU managed S.Loc and then transfer to a HU managed S.Loc
Appreciate your help
Regards
Prakash Govindarajan -
GL account with line items in line type 'S' document split?
Hi Experts,
We found in PCP0 there are payroll documents which has GL account with with line items in line type 'S' document split. Unlike other line items with line type 'blank' these line items cannot be opened and display the wage type details. How can we know from which wage type these line items were created?
Regards,
AllanThese line items are caused by company transfer and they are cleared by themselves between companies.
-
hi
while posting cross company code posting in F-02 for customer,the open item is not cleared
ex: com.code:1000 have customer debit balance
the customer paid to com.code 2000
in f-02, 40 bank in com.code:2000
15 cus. in com.code:1000 has been taken in new com.code option
but open item is not cleared?
how can i post?
next in company code 1000- 2000 company balance will be there and same com.code 2000 also will have 1000 com.code balance , how can i clear this
regard
sowmyayou can use F-30 for the clearing at the same time as the posting.
But it may be better to have the repsonsible person in the customer's company to do the clearing, so he/she knows the payment has been received (although in the same company).
Current accounts between companies should be "cleared" at regular intervals. ie. offsett asset & liabitily side. It's a business decision on when to clear the balances. -
All,
I am trying to secure XD02 so that the end user is able to VIEW all tabs but only add credit card data to the Payment Transaction tab. I did a trace on the activity and is still unsuccessful in securing this function. I tried using XD03 and just securing F_KNA1_APP to C1 still does not work. Any help would be appreciated.Hi Daisy,
the data you are trying to restrict comes from KNA1 table and is at client level - which means this data is independent of either the company code nor the sales area
The object F_KNA1_GEN controls this data in the Payment transactions tab. please note that even if you have activity 03 for this value and if you have Bank Master data maintenance to the same user (transaction FI01, FI02) he will still be able to edit the payment transactions.
In a ideal set-up, the customer general data once set-up by a responisble team shouldnt be changed by the end-users, they should be able to create views for their company code and sales areas but not modify the general data. Achieving this is a extrermely difficlut task of you have customers shared between companies
But, if you can secure the set-up, then you can have F_KNA1_GEN as a display for the end-users and make use of the BAPI BAPI_CREDITCARD_CHECK to give access to payment card maintenance functionality
Either ways: It is complex situation and needs some careful thought and planning
Maybe you are looking for
-
Drive format for Mac and PC running Vista?
I teach in a Mac lab and have students who have PC's at home. In the past, I advised them to reformat their portable HD as FAT 32. Now, based on communication from one student and research I have done online, it seems that Vista cannot read a FAT 32
-
Problem in loading AdobeSpellingConfig.xml.
I am using Squiggly for my spellcheck requirement in flex. I confired it as describe in douments and its works great in local machine. I am using SpellUI class to get spell check done. Now, My problem start when i upload it to the server. I am using
-
11.1.0.7 SPM is not functioning
Hi all, I'm relying on SPM to control plan change. But it's found that the SPM cannot deliver what it promises to achieve, resulting in performance regression. The SQL Txt driven from application cannot be amended. The explain plan complains about th
-
Search help on select optionbased on other select ooption entered
hi, I need to know search help for selection screen based on value entered in another select options SELECT-OPTIONS : s_bukrs FOR bkpf-bukrs OBLIGATORY, s_belnr FOR bkpf-belnr, s_gjahr FOR bkpf-gjahr OBLIGATORY,
-
Add search parameter in oaf page
Hi, I have an requirement to add a "Experience" search field on candidates:Prospect pool page in iRecruitment application. Candidate Result set should be filterd based on this new search field too.I m able to add search field via personalization.but