Adding "Sending company code" to Transaction FCHN
Hi,
We would like to add a column "Sending company code" to the report out of transaction FCHN. The info for this column is present in REGUH-ABSBU. Is there anyway this could be done without copying the standard program into a custom program and modifying it.
Any help will be appreciated.
Thanks,
ALAM.
Hi
I believe you would need an exit cause, FCHN is feed from table PAYR, and in taht table you don t have the sending company code field
Regards
Jose
Similar Messages
-
Adding Company code to Transaction KP90.
Hi Experts,
Is it possible to add company code on the selection screen of KP90 and then clear the plan data based on the company code value entered?
Please let me know if this is possible.
If yes, then few hints will be of great help.Hi
I believe you would need an exit cause, FCHN is feed from table PAYR, and in taht table you don t have the sending company code field
Regards
Jose -
How to calculate no.of records for a specific company Code and Transaction
Hi All,
Could you please help me how to calculate or count no.of records, in a table which are having a specific Company Code and Transaction Code and populate in an output table displaying that these many records are present for this company code and Transaction code.
The table is having the data like this:
LOB TRAN CODE COUNT
X1 1
X1 2
X1 3
X1 4
F1 NB 5
F1 NB 6
F1 NB 7
F1 NB 8
F1 NB 9
F1 NB 10
F1 NB 11
F1 NB 12
F1 NB 13
F1 NB 14
F1 NB 15
F1 NB 16
F1 NB 17
F1 NB 18
F1 NB 19
F1 NB 20
F1 NB 21
F1 NB 22
F1 NB 23
F1 24
F1 25
F1 26
F1 27
In the above table there are totally 27 records,where as the no.of records with F1 as company code and NB as transaction code are 18..so i have to display like F1 NB and 18 as one record as output.
Thanks and Regards,
JohnyYou can go for Control Breaks for your requirement.
First sort the internal table by company code and transaction. Declare a counter variable.
Now loop the internal table and increment the counter variable. within the loop use AT END OF tcode.......ENDAT. Within the control break append the counter variable as well as the company code and tcode to some other ITAB and clear the counter.
This will give you the total number of records for a combination of co code and tcodes.
This will be a good reference for your requirement. What I am doing here is, for each Vendor i am calculating total number of deliveries and amounts for that vendor. For every new vendor i am writing the ouput on to a list and clearing the counter variables.
LOOP AT t_vend_prod_grp INTO fs_vend_prod_grp.
w_total_delv = w_total_delv + 1.
w_total_amt = w_total_amt + fs_vend_prod_grp-dmbtr.
AT NEW matkl.
w_mat_grp = fs_vend_prod_grp-matkl.
* To display the material group and the header texts for the data
* grouped by material group and vendor.
SKIP 1.
WRITE: text-mtk COLOR COL_HEADING
INTENSIFIED,
/ w_mat_grp COLOR COL_NORMAL
INTENSIFIED OFF.
SKIP 1.
FORMAT COLOR COL_HEADING ON INTENSIFIED.
ULINE 1(54).
WRITE:/ sy-vline,
2 text-ven,
12 sy-vline,
text-dlv,
26 sy-vline,
38 text-amt,
sy-vline,
46 text-cur,
54 sy-vline.
ULINE /1(54).
FORMAT COLOR COL_HEADING OFF INTENSIFIED.
ENDAT. " AT NEW MATKL
AT END OF lifnr.
* To display the actual data for the grouping based on Material group
* and Vendor.
FORMAT COLOR COL_NORMAL ON INTENSIFIED OFF.
WRITE: / sy-vline,
2 fs_vend_prod_grp-lifnr COLOR COL_KEY,
12 sy-vline,
w_total_delv,
26 sy-vline,
w_total_amt CURRENCY text-usd,
sy-vline,
46 text-usd,
54 sy-vline.
FORMAT COLOR COL_NORMAL OFF INTENSIFIED OFF.
CLEAR: w_total_amt,
w_total_delv.
ENDAT. " AT END OF LIFNR
ENDLOOP. " LOOP AT T_VEND_PROD_GRP -
How to process AT END OF command for company code and transaction number.
Hi,
I have report with selection screen with company code and key date. Based ON key date given I should calculate Accrued interest for all transaction with in each company code.
When I run report with one company code it works fine. But when I run with multiple company codes the amounts are messed up.
I am getting all company codes with transaction details in to ITAB1 like this below, and PERFORM get_processdata. has my calculation for interest rate.
SORT itab1 BY company_code transaction.
LOOP AT itab1 INTO wa_tab1.
itab2 = wa_tab1.
APPEND itab2.
AT END OF transaction.
PERFORM get_processdata.
ENDAT.
ENDLOOP.
Thank you.Hello,
You need to use AT New event to clear your total variables.
AT New - this will go for first time also but we want to clear variables from second time. it requires flag to stop going it first time
Pseudo code:
clear: flag.
Loop at itab1 to itab2.
At New.
if flag eq c_x.
clear: <total variables>, intenal tables.
move c_x to flag.
endif.
tab2 = wa_tab1.
APPEND itab2.
AT END OF transaction.
PERFORM get_processdata.
ENDAT.
ENDLOOP. -
What is sending company code in APP???
Hello
I am bit confused abt what is sending company code in APP. I have searched in google also but no answer is clear. It only says sending company code is ur known business partner but that does not clearify anything.
Can anyone explain with detail.........I will be greatful to you.Hi,
Example 1:
Company code 0001 pays its own items and the items of company codes 0002 and 0003. All items are grouped into one payment.
Company code Paying company code Sending company code
0001 0001 0001
0002 0001 0001
0003 0001 0001
Example 2:
Company code 0001 pays its own items and the items of company codes 0002 and 0003. However, a separate payment is created for each company code.
Company code Paying company code Sending company code
0001 0001 0001
0002 0001 0002
0003 0001 0003
Hope this helps..
Br, Vivek -
More than one Paying Company Code per Sending Company Code
This is related to numerous previous threads, but never has there been a final answer.
Scenario: One company that pays for it's own expenses, but certain expenses is paid for by the parent company. SAP only allows one paying company per sending company. We would thus like to use different payment methods to pay via the different company codes.
Some of the suggestions has been to use BTE 1860/1830 or sample_process_00001860, but no-one has ever confirmed whether this actually works or not.Hi,
Company Code 1 pays for the invoice booked in Company Code 2. This calls for cross company code transaction. When we say cross company, it means we need to create a Reconciliation Account which will have those transaction posted which are cross company
Let me give you accounting entries:
1. Invoice Booked in Company 2
Dr. Expense / Stock
Cr. Vendor
2. Payment of above invoice made by Company 1
Dr. Reconciliation Account
Cr. Bank
Simultanseously, in Company Code 2
Dr. Vendor
Cr. Reconciliation Account
The companies has to settle this reconciliation periodically.
For doing the above, following are the customisation:
T.Code: OBYA for assigning the reconciliation account
This account can be a GL / Vendor / Customer
T.Code: OBVU In company code 2, we will assign paying company as 1.
Hope the above helps, if yes, please assign points.
Regards,
Harish -
Delete G/L Accounts for one company code when transaction data exists
SAP transaction OBR1 can be used to reset transaction data.
If you execute this transaction for a specific company code, the FI transaction data of that company is deleted. Because of the procedure to keep FI and CO in line, also the CO data has te be deleted.
But you can not reset CO transaction data for one company code. You have to reset CO transaction data for a whole controlling area.
If you can not delete the FI and CO transaction data for a specific G/L account in one company code, you can not delete that G/L account.
There exists another solution for the deletion of FI and CO transaction data for one company code, and thus for the deletion of G/L accounts?
Thank you very much for your feedback.
Edited by: E. Deleu on Mar 3, 2008 3:42 PMHelllo,
I believe the account group information is what you get when loading hierarchies. Please look into the hierarchy extractor 0GL_ACCOUNT_T011_HIER.
Regards,
Christoffer -
New requirement in adding a Company Code...
Hi All,
There is a new requirement is adding some new Company Codes. Once the company code is segregated and added in ECC. How much effort required to set up this new company code in BI?
Could anyone please guide, what would be the activities performed in BI (Settings, Config, mapping, etc)? to make the new company codes available in BI.
Thanks
Regards
SanSan5891 wrote:
Hi All,
>
> There is a new requirement is adding some new Company Codes. Once the company code is segregated and added in ECC. How much effort required to set up this new company code in BI?
>
> Could anyone please guide, what would be the activities performed in BI (Settings, Config, mapping, etc)? to make the new company codes available in BI.
>
> Thanks
>
> Regards
> San
Mostly cleaning.. Ensure the data is harmonic & coherent, i.e same case, lettering etc. Perform the update in master, run the ACR via RSATTR to reflect the changes. If you have used some restrictions in BEx reports, ensure they have been removed or changed. It's nice to learn you are pro-active than reactive.. Anyways, just keep posting. -
Hello!
I am not sure if this is the correct thread for this question but I think this is the most appropriate.
My inquiry is how can I configure another system company code? For example, we are now Company A1B1 and would like to add A1B2.
Also, how do I add it to table T043G (Tolerances for Groups of Customers/Vendors)?
Thanks a lot! _Hello Ricardo,
If you want to add new company code then it is suggested to consult with your FICO consultant, because it will require some of the financial settings for that company code i.e. chart of account, posting period etc.
To add Entries in Table T043G you need to do add your company code in OBA3 transaction code.
Hope this helps.
Regards
Arif Mansuri -
Set up Payment Methods Per Company code for Transaction
Hi All,
Can any expert please suggest whether do we need to enter only paying company codes while defining the payment methods per company code or enter all company codes.
Ex: We have 10 company codes for which there are 3 paying company codes. After defining the payment methods in the country, while defining payment methods per company code do we need to define for only 3 paying company codes or for all 10 company codes. Because when you are paying through one company code on behalf of three company codes, how does it make sense having the payment method in company codes which are not paying. I hope my query is sensible.
Thanks&Regards
SrinivasHi,
You should define the payment method in all the 10 company codes regarding they are the paying or non paying company code.
If you are not defining them they you will not have the option to select the payment for that particular company code.
regards
pbb -
Within Company Code Material transaction
Hi All,
We are making a Stock Transfer betweeen 2 plants( A to B) WITHIN a company code.
Here we have maintained the cost of material in Plant A as USD100. Now when this material from plant A is transferred to plant B the cost of this material in B should automatically increase by 4% i.e. it should become USD104.
Can somebody tell us how this can be done.
Regards,
Jn.
Edited by: terrence jn on Mar 10, 2008 10:36 AMSee thread:
Re: BAPIs for asset transfer
Regards. -
Report painter,cross company code transactions
Hi Masters,
1, Please send material of REPORT PAINTER ?
2, Please Send material of CROSS COMPANY CODE TRANSACTIONS
3. Please send material of FUNCTIONAL SPECTS
my mail id [email protected]
Thank you friendsHi,
Hi,
Cross-Company-Code Configurations
Step1: T Code: OBYA
We have to maintain Receiver Company Code as Customer in Sender Company Code and Sender Company Code as Vendor in Receiver Company Code. Then problem will be solved.
Step2: T Code: OB60
There you can find 4 line items, Copy all the 4 Line Items using Copy As button and customize to your company code.
Cross-Company-Code Transactions
1. To Change Cross Company Code Document: T Code: FBU2 - Change
2. To Display Cross Company Code Document: T Code: FBU3 - Display
3. To Reverse Cross Company Code Document: T Code: FBU8 - Reverse
regards,
Santosh kumar -
Cross company code transactions
All gurus,, I have one problem in Cross company code transactions:
Ex: I have Company code A and B,,, where A pays on behalf of B. how to configure and what is process to follow in APP for making payment to vendor of B...
A pays to vendor of B... how it happens in APP.
Santosh.Hi,
Hi,
Cross-Company-Code Configurations
Step1: T Code: OBYA
We have to maintain Receiver Company Code as Customer in Sender Company Code and Sender Company Code as Vendor in Receiver Company Code. Then problem will be solved.
Step2: T Code: OB60
There you can find 4 line items, Copy all the 4 Line Items using Copy As button and customize to your company code.
Cross-Company-Code Transactions
1. To Change Cross Company Code Document: T Code: FBU2 - Change
2. To Display Cross Company Code Document: T Code: FBU3 - Display
3. To Reverse Cross Company Code Document: T Code: FBU8 - Reverse
regards,
Santosh kumar -
Hi Gurus,
I have to add new company code 7000 to my daily data.
How to add new company code ?
All ready 2000 and 5000 comapny code is available.
That 2000 and 5000 is one info package and abap routine is written in that info package.
Kindly tell me procedure?
Thanks in advance
RamuRoutine changed and added 7000 company code to unfi pack with init with data then populated delta.
-
No Company Code Track in Inter Company Code Transactions
Hi,
When we post an inter company code transaction system generates two documents in Both company codes involved in the transaction and an internal auto generated cross company code document number. But when i view these documents i am unable to see from which company receivable is standing and two which company payable is standing. it only shows in which company code the transaction was posted but no information is being provided against line item so that we can see on which company behalf have we booked or paid the expense. we are posting inter company code transaction through f-02. is there any other specific transaction code for this? or any report or any other way to view how much from which company is recyclable/Payable standing? please also not that we are using two different g/l for inter company receivable and payable.
Regards,hi ,
Can you please post the screen shot of one of those document . IF i am not wrong you want to know that in which company ocde it posted . YOu can find out from the Number range and then Comapny code in Docuemnt number .( In this Trading Partner poplauted Automatically) So definately you need Tranding partner to do intercomapny reconciliation
IF you have Cross comapny code Transaction you will have cross comapny docuemnt number in FB03 as below which you can see in FBU3 .
Sometime you do not post Cross company transaction but you post in Individual companies with trading Partner .
in this case there will not be any cross company document .. Please check your OBYA configuration and check which GL code you have defined and whether you have maintaned the config tfor that
Maybe you are looking for
-
Disable few record in a table control not all records
Hi I have an internal table of 6 rows with table control .first field char 1 (ws_flag) which I am using for line selection of row in the table control . I have to disable some rows in a table control (user can not select or deselect it). I dont w
-
Getting error while using isIntialized
Hi i wrote the code like this.B init{ if(not isIntialized(fahrenheit)){ fahrenheit=celcius * 9 / 5 + 32 i'm getting the error like this.Any one plz help me to solve this, executing commandline: [C:\Externals\java\NetBeans\javafx2\javafx-sdk1.0\bin\..
-
Totaling specific value within data
I have data that contains a bunch of "Y" (yes) and "N" (no) values. I want to total up only the "Y" values. The only way I have found so far is build another column with 1's and 0's, then sum that column, but that looks goofy. Any ideas? I cant seem
-
Hi, Presently we have 20 company codes in our group recently 2 of them had sold out. But as per mutual understanding they still use SAP under the same data base. But now the problem is currency. Before we at Singapore maintaining currency rates for t
-
Deleted Quicktime Plugin in Mozilla Firefox
Hi there, a week ago i accidently was cleaning up my mac and deleted a quicktime plugin for firefox... Since then i go to my plugins page and it is gone - therefore no quicktime movies on the internet are playing. I have Quicktime Player Version 10.2