Problem in passing Journal Entry with Business partner
I intend to pass journal entry for a particular Business partner but business partner is a control account how should I pass journal entry for that particular BP.
Need for this entry is for adjusting some G/L accounts with BP accounts.
Hi Monica,
Here's a short example of how to use a business partner in a journal entry.
Dim oJnl As SAPbobsCOM.JournalEntries
oJnl = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
oJnl.DueDate = Now
oJnl.Lines.ShortName = "C1000"
oJnl.Lines.Debit = 100
oJnl.Lines.Add()
oJnl.Lines.AccountCode = "100000"
oJnl.Lines.Credit = 100
If oJnl.Add <> 0 Then
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Else
oApplication.MessageBox("Success")
End If
Hope it helps,
Adele
Similar Messages
-
Customer Integration with Business Partner in Student Accounting
Dear Experts,
We are having an issue regarding Customer Integration with Business Partner in Student Accounting.
How and where it will be done please provide us steps.
Thanks in Advance.
RadheyHello Radhey,
I’m sorry that I bring up an old question, but how did you realized in system integration of the BP, the customer with the student?
Best Regards
Anastasia -
Problem with Business partner flow from R/3 to CRM
Hi,
We are setting up a process to flow of Business Partners from R/3 to CRM.
We have configured PIDE correctly but the problem is when I am creating any customer in R/3 we are getting DUMP.
Kindly help me in this regards.
ThanksHi,
Check out the following Middleware Configuration :
<b>CRM Middleware configurations</b>
1. Source client for Client copy
Using t-code SCC3 in both CRM and ISU to get the source client used for client copy. Get source client for profile SAP_ALL.
2. RFC Destinations
Use t-code SM59 and check if the following RFC destinations have been created:
CRM
o R/3 Destination for CRM e.g. CRTCLNT240
o R/3 Destination for ISU e.g. ISTCLNT240
o Logical Destination for Middleware R&R queues one for current client and one for client 000. e.g. SAPCRM_MW_RR_240, SAPCRM_MW_RR_000
o TCP/IP Destination for IPC dispatcher e.g. IPC_RFC_DISPATCHER
o TCP/IP Destination for IPC server e.g. IPC_RFC_SERVER
ISU
o R/3 Destination for CRM e.g. CRTCLNT240
o R/3 Destination for ISU e.g. ISTCLNT240
3. Logical Systems
Using t-code SALE check if the following logical systems have been created:
CRM
o Own logical system e.g. CRTCLNT240
o Logical system for ISU e.g. ISTCLNT240
o Logical system for source client used in client copy e.g. CRTCLNT200
ISU
o Own logical system e.g. ISTCLNT240
o Logical system for CRM e.g. CRTCLNT240
o Logical system for source client used in client copy e.g. ISTCLNT200
Check if own logical system is assigned to the client.
Path: Sending and Receiving systems -> Logical Systems -> Assign Client to Logical System.
Convert Logical System name in application tables
Use t-code BDLS to convert logical system names in the application system.
1. Enter old logical system name retrieved in step 1. e.g. CRTCLNT200
2. Enter new logical system name e.g. CRTCLNT240.
3. Select radio button Conversion of Client-Dependent Tables and execute the transaction.
This process needs to be carried out 4 times: twice in CRM and twice in ISU.
CRM
o Old CRM logical system -> New CRM logical system. e.g. CRTCLNT200 -> CRTCLNT240.
o Old ISU logical system -> New ISU logical system. e.g. ISTCLNT200 -> ISTCLNT240.
ISU
o Old CRM logical system -> New CRM logical system. e.g. CRTCLNT200 -> CRTCLNT240.
o Old ISU logical system -> New ISU logical system. e.g. ISTCLNT200 -> ISTCLNT240.
4. Middleware Parameter tables
Use t-code SM30 to maintain middleware parameters in following tables
CRM
o Table SMOFPARSFA:
Change value for following parameter entry:
Key - R3A_COMMON
Para name - CRM_DEFAULT_DESTINATION
Value - Old ISU logical system -> new ISU logical system
E.g. ISTCLNT200 -> ISTCLNT240
ISU
o Table CRMRFCPAR:
Delete the previous entry for the following key:
User - CRM
Object name - *
RFC Destination - Old RFC destination for CRM e.g. CRTCLNT200.
Load types - All Load Types
Create new entry with following data:
User - CRM
Object name - *
RFC Destination - New RFC destination for CRM e.g. CRTCLNT240.
Load types - All Load Types
In Queue flag - X
Send XML No XML
o Table CRMPAROLTP:
Change value for following parameter entry:
Para name - CRM_DEFAULT_DESTINATION
User - CRM
Value - Old CRM logical system -> new CRM logical system
E.g. CRTCLNT200 -> CRTCLNT240
5. Admin Console (Sites and subscriptions)
Using t-code SMOEAC in CRM change attributes for the following sites.
CRM site
o Name: Change name from old CRM logical system -> new CRM logical system e.g. CRTCLNT200 -> CRTCLNT240
o Description: Change description from old CRM logical system -> new CRM logical system e.g. CRTCLNT200 -> CRTCLNT240
o Site attributes: Change RFC destination from old CRM RFC destination to new CRM RFC destination e.g. CRTCLNT200 -> CRTCLNT240
o Click on get values button to refresh logical system details.
ISU site
o Name: Change name from old ISU logical system -> new ISU logical system e.g. ISTCLNT200 -> ISTCLNT240
o Description: Change description from old ISU logical system -> new ISU logical system e.g. ISTCLNT200 -> ISTCLNT240
o Site attributes: Change RFC destination from old ISU RFC destination to new ISU RFC destination e.g. ISTCLNT200 -> ISTCLNT240
o Click on get values button to refresh logical system details.
Check if ISU site is assigned to following subscriptions.
All Business Agreements (MESG)
All Business Partner Relationship (MESG)
All Business Partners (MESG)
All Business Transactions
IS-U Connection Objects (MESG)
IS-U Contracts (MESG)
IS-U Points of Delivery (MESG)
Product Materials (MESG)
6. CRM Middleware Queues
Inbound Queues:
I. Execute transaction SMQR.
II. Change AS group from DEFAULT to parallel generators. Path: Edit -> Change AS Group
III. Register following queues:
CRM
o CSA*
o R3A*
ISU
o R3A*
Outbound Queues:
I. Execute transaction SMQS.
II. Change AS group from DEFAULT to parallel generators. Path: Edit -> Change AS Group
III. Register following queues:
CRM
o CSA*
o R3A*
ISU
o R3A*
R&R Queues:
I. Execute transaction SMOHQUEUE in CRM.
II. Check if all queues have status Released.
III. Start Queue Demon by clicking on Start Queue Demon.
<b>Please reward points if it helps.</b>
Regards,
Amit Mishra -
Problem with Business Partner List - State
I'm using SAP B1 2007A. We recently added several International countries and their regions (states). We are having a problem with the state that appears on the Business Partner List (list that appears when you search using part of a company name or *). The query that gets the data does not take into consideration the Country where the state is located. The result is that the query returns the first state it finds based on the state code not the state associated with the country.
Is there a fix for this query or is there a way I can adjust the query to get the correct state results in the Business Partner List.
Thanks,
MarkNo. Different state name but same state code.
Ex:
GA - Georgia in USA
GA - Galapagos Islands in Galapagos Islands
When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia. -
Problem with business partner activation
Hello experts!
I try to archive business partner but face with one issue.
My steps:
1) set the indicator Archiving flag in the Business Partner dialog on the tab page Status
2) in the initial screen of the archive administration (transaction SARA), enter the object name CA_BUPA
3) create a variant (add BP number)
But log is empty
This BP isn’t assign to any document.
Did I make mistake?
Thank you!
Best regard,
YuliyaNo. Different state name but same state code.
Ex:
GA - Georgia in USA
GA - Galapagos Islands in Galapagos Islands
When searching for the Business Partner the city is Atlanta the Country is USA but the State is Galapagos Islands not Georgia. -
Hello everyone,
I have this problem:
ive been using extractor 0crm_sales_act_1 for crm, but i just realized that there is no business partner for my activities. I do have a business partner associated to my service order, but not to my activity that belongs to my service order in the extractor.
I checked on the configuration for crm, and they do have a business partner for every activity, how do i get that?
I want to link the same business partner that i have for my service order to my activity in the extractor 0crm_sales_act_1.
please help mehi, im checking that field but it comes blank to all activities that are associated to a service order, im only getting the bp for all my service orders but not my activities
-
Problem with Business Partner setup
Dear Experts
I am setting up master data for business partner and would like to build relationship for customers that within the same group.
E.g. Company A, B and C are in the same group of customer, Company A is the parent company while B and C are its subsidiaries.
My requirement is: to set up a relationship between these three companies which could let me to run a Receivable Aging Report to show the receivable for each of these companies and the total receivable for this group of company as a whole.
Can this requirement be met?
What would be the bset approach to meet this requirement?Dear All
I have decided to change the field 'Remark' in the BP Master Data to 'BP Group' to store the information for customer groups.
However, it is a 'text' field by default which implies users can type anything they want. Manual typing errors in this case, would affect the reporting.
Would it be possible to make the field as a drop down list? (which similar to the default BP group field) and
What will be a good query to retrieve data from this field in order to show the aging in the manner I have requested above?
Thanks all
Regards
Elton -
Problem with business partner cumulative balance
Hi
I used to used the business partner balance enqury to quickly tell customers what they were due to pay up to the start of the month. I just looked at the cumulative balance of the last transaction of the previous month and that was it. I know I could run an aged credit report but this was quicker and easier. However since upgrade to 2007A the cumulative balance does not give the amount due for a part paid invoice so this does not work any more.
Question is has anyone writen a fast query or other report that calculates the cumulative balance based on outstanding amount?
Thanks in advance
DerekHi!
Run this in SAP B1 Query Manager
SELECT T0.CARDCODE, MIN(T0.CARDNAME) 'Customer Name', SUM(T0.DOCTOTAL - T0.PAIDTODATE) 'Last Balance'
FROM DBO.OINV T0
WHERE DOCSTATUS = 'O' AND T0.DOCTOTAL - T0.PAIDTODATE > 1 AND T0.CANCELED = 'N' AND DATEPART(month,T0.DOCDUEDATE) < DATEPART(month,getdate()) AND T0.CARDCODE = '[%1]'
Group By T0.CARDCODE
UNION ALL
SELECT T0.CARDCODE, MIN(T0.CARDNAME) 'Customer Name', -SUM(T0.DOCTOTAL - T0.PAIDTODATE) 'Last Balance'
FROM DBO.ORIN T0
WHERE DOCSTATUS = 'O' AND T0.DOCTOTAL - T0.PAIDTODATE > 1 AND T0.CANCELED = 'N' AND DATEPART(month,T0.DOCDUEDATE) < DATEPART(month,getdate()) AND T0.CARDCODE = '[%1]'
Group By T0.CARDCODE
ORDER BY T0.CARDCODE -
Adding journal entry to bussiness partner
Hello There
I am trying to create a journal entry for a business partner.
the issue is because the business partner doesn't appear officially/directly in the chart of account- I get an error for that.
(the property is : jr.Lines.AccountCode )
(when I use an account that appears in the chart of account, everything works fine)
any suggestions?
rgds
HAGAI
jr.Lines.SetCurrentLine(0)
jr.TaxDate = TAX_DATE
jr.Lines.AccountCode = cardId
jr.Lines.Debit = SUM
jr.Lines.DueDate = DUE_DATE
' vje.Lines.Line_ID = 0
jr.Lines.ReferenceDate1 = Date.Today
jr.Lines.ShortName = cardName
jr.Lines.TaxDate = TAX_DATE
jr.Lines.Add()
'MsgBox(vje.Lines.Line_ID)
jr.Lines.SetCurrentLine(1)
jr.Lines.AccountCode = BANKCODE
jr.Lines.Credit = SUM
jr.Lines.DueDate = DUE_DATE
jr.Lines.ReferenceDate1 = Date.Today
jr.Lines.ShortName = BANKCODE
jr.Lines.TaxDate = TAX_DATE
If lRetCode <> jr.Add() Then
oCompany.GetLastError(lErrCode, sErrMsg)
writeToLog(lErrCode, sErrMsg, Date.Today, False)
Return
End IfHi Hagai!
hope that thread helps you to solve your problem:
JournalEntries -
Customer creation with Business Partner Error
Hello Experts,
I am a Functional consultant and trying to create Customer which has to create a Business Partner in one of the test system. All the config to create Business Partner is completed.
When trying to create customer it throws a RFC connection error. I have pasted the dump details below. Please help me to solve the issue.
Category
ABAP Programming Error
Runtime Errors
CALL_FUNCTION_OPEN_ERROR
ABAP Program
CL_RPM_FES_BUFFER_MANAGEMENT==CP
Application Component PPM-PFM
Date and Time
22.09.2014 19:43:45
Short text
Error when opening an RFC connection ("CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_RPM_FES_BUFFER_MANAGEMENT==CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An error occurred when executing a Remote Function Call.
"CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=236#SAP gateway connection failed. Is
SAP gateway started? "
Status of connection.... "CODE=CM_PRODUCT_SPECIFIC_ERROR -1 -1 SAPCODE=236
CONV= "
Internal error code.... "RFC_IO5"
There is an error in the communication system. To clarify
and resolve the error, contact your system administrator.
Last error logged in SAP kernel
Component............ "NI (network interface)"
Place................ "SAP-Gateway on host KNACKS06 / sapgw01"
Version.............. 40
Error code........... "-10"
Error text........... "partner 'knacks06:sapgw01' not reached"
Description.......... "NiPConnect2: 54.201.94.167:3301"
System call.......... "connect"
Module............... "nixxi.cpp"
Line................. 3286
The error reported by the operating system is:
Error number..... 10060
Error text....... "WSAETIMEDOUT: Connection timed out"
Check the host name and service that define the remote program. Are
these parameters correct? You can use the "ping" command to check
whether the specified host is reachable. If the remote program is an
application server, check whether it is running and whether the local
gateway of this server is listening for the specified service. If the
service is sapgw<nn>, the remote server must run with SAPSYSTEM number
<nn>.
Trigger Location of Runtime Error
Program CL_RPM_FES_BUFFER_MANAGEMENT==CP
Include CL_RPM_FES_BUFFER_MANAGEMENT==CM00J
Row 2
Module type (METHOD)
Module Name CHANGES_BY_ORG
Source Code Extract
Line SourceCde
1 METHOD changes_by_org.
>>>>> CALL FUNCTION 'RPM_FES_RECALCULATE_BY_ORG' STARTING NEW TASK 'RPM_FES_RECALCULATE_BY_ORG'
3 EXPORTING
4 old_image = old_image
5 new_image = new_image
6 plog_tab = plog_tab
7 tb_plog_tab = tb_plog_tab
8 * IMPORTING
9 * ET_MSG =
10 * EV_RC =
11 .
12
13 ENDMETHOD.
Active Calls/Events
No. Ty. Program Include Line
Name
13 METHOD CL_RPM_FES_BUFFER_MANAGEMENT==CP CL_RPM_FES_BUFFER_MANAGEMENT==CM00J 2
CL_RPM_FES_BUFFER_MANAGEMENT=>CHANGES_BY_ORG
12 METHOD CL_IM_RPM_FES_ORG_CHANGES=====CP CL_IM_RPM_FES_ORG_CHANGES=====CM004 4
CL_IM_RPM_FES_ORG_CHANGES=>IF_EX_HRBAS00INFTY~IN_UPDATE
11 METHOD CL_EX_HRBAS00INFTY============CP CL_EX_HRBAS00INFTY============CM004 35
CL_EX_HRBAS00INFTY=>IF_EX_HRBAS00INFTY~IN_UPDATE
10 FORM SAPLRHAP LRHAPF1R 110
UPDATE_DATABASE
9 FUNCTION SAPLRHAP LRHAPU08 19
RH_BASE_UPDATE_DB_DIALOG
8 FORM SAPLRHAP LRHAPF30 248
UPDATE_PLOG
7 FUNCTION SAPLRHAP LRHAPU40 31
RH_UPDATE_DATABASE
6 FORM SAPLBUBA_4 LBUBA_4F31 14
HR_DATA_SAVE
5 FORM SAPMSSY0 SAPMSSY0 504
%_PROCESS_P_O_C
4 FORM SAPMSSY0 SAPMSSY0 249
%_COMMIT
3 FORM SAPMF02D MF02DFS0 511
SCHLUSS_BEARBEITUNG
2 FORM
SAPMF02D
MF02DFO0
2335
OKCODE_BEARBEITEN
1 MODULE (PAI) SAPMF02D
MF02DI00
5632
OKCODE_BEARBEITEN
Regards,
BV PATILHi,
It would make more sense to speak to a technical resource who is familiar with your system. Based on the error, it looks like you have connection issues in your landscape - I'm assuming you have CRM & ERP systems communicating and it looks like there is a problem with their connectivity. Best get some basis resource to help you out.
cheers,
G. -
Organizational Units with Business Partner
Hi Experts,
I'm creating my organizational structure on CRM system: on transaction "PPOMA_CRM" I'm creating all the organizations I need. But I 'm facing with a problem: I'm not able to assign them a business partner. I mean: in the transaction "PPOMA_CRM" under the column "Business Partner" I'm not able to insert any business partner.
And on the other hand, if I go on transaction "BP" in order to define a new organization, when I select which is the BP role to use for the creation of the organization, I don't see BUP004.
Do you have any suggestions.
Why I can't see it?
And what I have to do to assign a business partner to an organization?
Full point sif it helps.
Thanks a lot.
Best regards,
StefanoHi,
Please find below my answers:-
In a first moment I configured the HR-CRM integration and when I go on transaction PPOMA_CRM in order to display the Organizational Structure I can see, for each Organizational unit downloaded from HR, a business partner ID under the column "business partner". This is the same number ID which allows to identify the same Organizational Unit on transaction BP.
Answer- In Transaction BP you can find the same Org unit business prtner created in PPOMA_CRM.
Suppose you have created BP_Org in PPOMA_CRM which has got generated with certain BP number.But this will not reflect in transaction BP. All the Business Partners created under BP_Org will be getting reflected.
Now I deactivated the HR-CRM integration and when I create a new Organizational Unit on PPOMA_CRM I'm not able to fill the column "Business Partner".
Ans- If you have not maintained in HR-CRM Integration there will be no number range.
If I insert the Organizationa Unit ID (displayed on PPOMA_CRM) in transaction BP I don't get any results.
Ans- While searching in BP , first you donu2019t have option of searching BP with Org Unit ID but you will find number instead. But as I told you earlier this will search the Business Partner under your Root Organization in our case it is BP_Org. You cant search for BP_Org in Tx-BP
I need to assign a business partner to my organizational unit for escalation purposes since the escalation is succesfully only for the organizational units with that business partner ID, i.e. all the organizational units downloaded from HR.
So at the moment the escalation process doesn't work for the organizational units just created only on CRM standalone system.
I think it is possible to make it work also for these organizations, but I don't know how!
Ans- You will have to maintain as below-
Customer Relationship ManagementMaster DataBusiness PartnerIntegration Business Partner-Organization Management Set Up Integration with Organizational Management
HRALX- OBPON =ON
HRALX- ONUMB
HRALX-OSUBG
HRALX-HRAC=
Regds...
Arup -
DI: About Generating a Journal Entry with Returns
Hi since Mexico, I have a problem when I add a Return based on a Delivery. The problem is that the Journal Entry that has to generate for doing the seat of warehouse against cost of sale it does not it do. How can I solve this problem or what I missed for do this task.
Greetings and thanks for your help.Hi Rafael,
What I understodd about your note is this:
When you post a return based on a Delivery using the DI API object, the system is not posting any journal entry?
Is that right?
I've checked this issue in SBO version 6.5 SP1 EF: 07 and you are right.
The RETURNS object from the DI API is not posting any journal entry for this transaction. Hence, the stock for the item is right, but the balance of the stock account and the COGM account is wrong since no posting was made by the RETURNS object.
Anybody has a solution for this problem?
Kind Regards,
Iván Juárez -
Issue with Business Partner in SRM
Hi Experts,
we are sending Business partner data from one client to another client in SRM.
In the target client for the tab "Control" in the Business Hours,when I click on the calling hours button we are getting an warning message "Assignment of appointment rules to rule ID incorrect"
we are sending the data related to business hours thru database tables CRMM_BUT_FRG0060 and CRMM_BUT_FRG0061.
Can any provide me with a solution?
Regards
DKHi
This issue was resolved by SAP by applying some OSS notes.
Regards,
Ashish -
BPs with Business Partner (Gnrl) role are not replicating to ECC
Dear all,
I want to replicate BPs with General Business Partner role from CRM to ECC, all sold to pary (Role) customers are replicating to ECC perfectly.
Kindly help. your help will be greately appreciated.
Best regards
Shravanthi RHi Srinivas,
Could you please eloberate that, how and where can I maintain filter settings for BP roles.
I have reached R3AC1>BUPA_MAIN>FILTER SETTINGS-->SELECTED SOURCE SYSTEM AS 'OLTP'.
Don't know how to proceed further, Please help.
Your help will be appreciated.
Best regards
Sharavanthi R -
Tables involved with business partner
Hi to all,
i would like to know more about which tables ( besides but100 ) are involved within the business partner data model within sap 4.6c ?
thanks for any hints, points will be generously awarded
clemensHi,
See the tables and their important fields related to business partners in SAP:
KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
LFA1: Vendor Master-General (LIFNR,NAME1,ORT01)
LFB1: Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
LFC1: Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
Business Partner related
BUT_HIER_NODE
BUT_HIER_NODE_BP
BUT_HIER_NODE_D
BUT_HIER_STRUCT
BUT_HIER_TREE
BUT_HIER_TREE_D
BUT_HIER_TYPE
reward if useful
regards,
Anji
Message was edited by:
Anji Reddy Vangala
Maybe you are looking for
-
I got a new rogers box and I had a Norton Security installed and since then the games like farmville and cityville have been crashing on a regular basis. I have called about the Norton 3 times, and i tried the Internet wireless and wired and nothing
-
Error while installing an Applicationserver for SolMan 4.0 / Windows 2003
Hi, we try to install a Solutionmanager 4.0 on a Windows 2003 HP-System. When installing an Applicationserver I get the following errormessage: ERROR 2007-05-24 10:42:01 CJS-00030 Assertion failed: in function (nothrow) { NW.trace("NW.hasABAP(",
-
I can't find a Bridge forum, so I'll ask my question(s) here. I've been using CS3 for years and just subscribed to Creative Suite Cloud. I've never used Bridge; hardly even knew what it was. I just started exploring Bridge Cloud and am sold, though I
-
Attachments not automatically viewable on mail messages
Hiya, I have recently updated to Mavericks & at the same time updated Adobe Reader. Before the updates I could do this... Receive an email from my suppliers with a PDF invoice, I would just click on the message & the email with the PDF invoice would
-
Issues during reinstallation Oracle 10g express edition and Forms 6i
I've been racking my head over this issue for the past two three days. Exasperated, I tried searching in the forums but could not find a specific scenario like this. I am facing issues while trying to get forms 6i to work with oracle 10g Express edit