ERROR IN VENMDOR MASTER CREATION??

Hii experts
In IDES i have configuration for vendor master , and i have created reconciliation account for vendor also.
While creating vendor master after entering all details at last its throwing error like the account 4 is already exists????
How we can rectifiy this error
Thanks

>
MM group wrote:
> hii
>
> I have Recon account all those thing . atlast while saving the vendor master i m getting error like this "Accounts 4 already exists "
>
> ANd then if click on exit , it will go out from the vendor master screen and no vendor number has been given .
>
> Thanks
Seems like the problem is with the recon account. Try creating with a different recon account, and see whether the error is coming. Check the post below for creating recon account.
How to Configure FICO Reconciliation
In Co, we create Recon accts to keep Fi gl in balance with CO. Not all transactions affect FI gls, best example of it is internal order settlements, they use secondary cost elements and does not affect your G/l accts. To update FI side of it we maintain recon accts. These are primarily for cross company, cross functional and cross business area transactions.
The number of recon accts to be defined is dependant on various factors, like how your management wants to see the reports.. whether they want to classify the cost based on CO object class or by Co types etc..
However the basic config you got to follow is:
1. Activate Recon accts (if you have created CO area newly, it would be active).
    use T.code: KALA
2. Assignment of Recon document type to the Controlling area.
    T.code: OKKP
3. Creating clearing accts (that you want to us! e for reconciliation. During FI-Co recon.. inter company clearing accounts will be automatically credited or debited and now you need to create offset acct which will show up in P&l acct).
    Acct determination set up thru T.code: OBYA
4. Maintain accts for Automatic Recon posting.
    T.code OBYB
5. Assign Number ranges to Recon activity.
    Tcode OK13                                                                                *-- Radha Krishna
Without creating of reconciliation account, can you create vendor? What is the use of reconciliation?
Customer and vendor accounts are sub ledger GL's. We will have to create two reconciliation GLs in viz. Reconciliation GL for Customer and Vendor in chart of accounts.
After, while creating customer and vendor master records, we have to mention respective reconciliation GL in their company code segment details. This recon a/c will show you the net balances in GL for customer and vendor a/cs.
Without creating Vendor you can still create individual GL for each customer and vendor , but then
1) Your list of GL's in chart of account will be very lengthy.
2) Duplication of work as SD/ MM people are also required to create their own list.
3) Cross company code consolidation will not be possible as the chart of accounts will be different.
4) Very difficult to keep track of individual customer/ vendor a/cs.
5) Not advisable even in real time accounting system i.e. manual book keeping.

Similar Messages

  • Error in Asset Master Creation

    In Asset Master Creation an error occured that is
    CUSTOMIZING INCONSISTENCY MISSING/INCORRECT IN TABLE NO T093B
    Waiting for u r early reply
    venky
    Edited by: venky venky on Jul 11, 2008 2:53 PM

    I suppose you need to check your configuration of Low Value Assets for each
    depreciation area.
    But before that, please tell me which class of Assets you are using ......Is
    it the *LVA Class 5000 ( individual management )* or* 5001 ( collective
    management)*. Either way, you need to assign a maximum value / maximum value
    over quantity, as the case may be. Unless and until you furnish a value cap,
    the asset class does not permit you to create asset master records.
    Please look into your IMG under the path:
    *IMG -> Financial Accounting -> Asset Accounting -> Valuation ->Amount
    Specifications(Company Code / Depreciation Area) ->
    Specify Maximum Amount for LVA + Asset Classes*
    You would see two activities listed.
    Under *Activity 1*, you need to select and assign value check (*represented
    by number 1*) if you are using *LVA Class 5000* ; alternatively, you need
    to select and assign Check Maximum Amount with Quantity (*represented by
    number 2*) if you are using *LVA class 5001*.
    You need to do this for each depreciation area you wish to apply this value
    cap to and save (using the floppy icon and look out for the confirmatory
    message at the bottom left of your screen).
    Under *Activity 2,* You need to furnish a value cap ( a ceiling in monetary
    units, currency-specifically) for each depreciation area ( a column for
    document value and another for Purchase order value ( possibly to
    accommodate any tax, as applicable). Please make sure that you do it for
    your company code and for each depreciation area wherein you want to control
    using a value cap.
    Save and look for the confirmatory message at the bottom left of the screen.
    Regards,
    Bharti

  • ERROR IN CUSTOMER MASTER CREATION -THROUGH IDOC.

    We are facing issue while creating customer through idoc. System is giving error "No batch input data for screen SAPLID_TAXNUM 1000 "
    On analyzing this error - we are able to find out that someone has enabled some duplicity check or message control on filed of tax number 1.In this filed we are storing some other legacy information which is not unique to each customer so system is poping up some screen which shows that this information already exist for other customers . Due to this customers are not getting created.
    We have checked the message control  setting bur there was no such message control.
    Now we are not able to figure it that who has done this change and how. Further how this can be resolved.
    Pls help.
    Rgds,
    Sudhanshu Dang

    Hai Jobi Thottungal,
    Since you can create a Customer with Account type 001, please check what is the PARTNER TYPE assigned.
    Now, GO TO
    IMG Sales and DistributionMaster DataBusiness PartnersCustomersCustomer Hierarchy
    Set Up Partner Determination for Customer Master
    Partner Determination Procedure Assignment
    Assign the Partner procedure to your Account group
    So at the time of creation of Customer master with your Account group, the partner function will get created automatically.
    Regards,
    Mani

  • Error in Vendor master creation

    Hi Experts,
    While creating vendor master , getting error u201CNo entry in table T001 for argumentu201D.
    I think some bank details are missing.
    Any one know how to rectify the same. and what might be the reason for this error.
    Thanks

    hi,
    please reffer the below link.
    Error - no entry in table T001
    Thanking you

  • Error in Asset Master Creation for Low Value assets

    Hi,
    I am trying to create an asset under the asset class Low value asset. while saving the asset the system delivers the following Error:
    01 Book depreciation
    E614 Low value asset max.amount exceeded. No posting allowed
    02 Special tax depreciation for APC in fin.statement
    E614 Low value asset max.amount exceeded. No posting allowed
    I am using the standard Depreciation Key "GWG"  But when i change the depreciation key the system allows me to save the asset. Please guide me how to fix this and why system is giving this error.
    Regards,

    I suppose you need to check your configuration of Low Value Assets for each
    depreciation area.
    But before that, please tell me which class of Assets you are using ......Is
    it the *LVA Class 5000 ( individual management )* or* 5001 ( collective
    management)*. Either way, you need to assign a maximum value / maximum value
    over quantity, as the case may be. Unless and until you furnish a value cap,
    the asset class does not permit you to create asset master records.
    Please look into your IMG under the path:
    *IMG -> Financial Accounting -> Asset Accounting -> Valuation ->Amount
    Specifications(Company Code / Depreciation Area) ->
    Specify Maximum Amount for LVA + Asset Classes*
    You would see two activities listed.
    Under *Activity 1*, you need to select and assign value check (*represented
    by number 1*) if you are using *LVA Class 5000* ; alternatively, you need
    to select and assign Check Maximum Amount with Quantity (*represented by
    number 2*) if you are using *LVA class 5001*.
    You need to do this for each depreciation area you wish to apply this value
    cap to and save (using the floppy icon and look out for the confirmatory
    message at the bottom left of your screen).
    Under *Activity 2,* You need to furnish a value cap ( a ceiling in monetary
    units, currency-specifically) for each depreciation area ( a column for
    document value and another for Purchase order value ( possibly to
    accommodate any tax, as applicable). Please make sure that you do it for
    your company code and for each depreciation area wherein you want to control
    using a value cap.
    Save and look for the confirmatory message at the bottom left of the screen.
    Regards,
    Bharti

  • Error in vendor master creation Tax number 1

    Dear All
    when i tried to create a vendor master ,where the vendor country is US .in general data under the tax information tax number1 which is mandatory when i entered i got an error that tax code 1 is not valid.what should i do, i wan to make that filed optional
    regards
    mac

    Hi Manu,
    If you want put that field optional you can go through t.code  OBD3 .
    There select the  FI Vendors group  and slect field status and in company code data you can change that field from required to optional.
    If you have any doubt feel free to ask
    May be this information is useful to you
    Regards
    Surya

  • Getting error in Vehicle Master creation in DBM7.0

    Hi,
    We are trying to create vehicle master in DBM 7.0 with tcode /dbm/vm. We are getting this error just after we entered tocde /dbm/vm
    "Authorizations or Customizing settings for profile are missing
    Message no. /DBM/VEHICLE_MASTER013"
    SAP user id has SAP_ALL rights.
    SAP Env: SAP ECC 6.0 EHP4
                    DBM 7.0 SPS02
                    SAPKH60402
                    SAPKB70103
                    SAPKA70103
    Please letus know how to resolve this issue.
    Thanks
    Rehan

    Hi Sachin,
    Check your customizing settings in DBM:
    spro->Logistics execution->DBM->Vehicle->Vehicle Master-> Navigation on Vehicle Master
    ->Navigation profile determination-> Assign navigation profile
    Depending on conditions please assign relevant navigation profile.
    The standard settings look like as follow:
    DBM/VEHPRO/CTL3                /DBM/VM               INIT
                                                     /DBM/VMN              INIT
                                                     /DBM/VM_LEAN     INITLEAN
    DBM/VEHPRO/CTRL              DBM_PASSENGERCAR   01    DBM1
    DBM/VEHPRO/CTL2              DBM_PASSENGERCAR DBM1
    Please consider also note 1968452.
    Regards
    Joachim

  • Error while deleting master data (Message no. RSDMD118)

    Dear all,
    I am performing a test to create and delete new Company Codes in Consolidation Workbench.
    Creation of new Company Codes went on successfully but deleting them give me the following error message upon saving:
    Error while deleting master data
    Message no. RSDMD118
    Since they are new Company Codes, they have not been used and stored in any BW cubes. Any idea on why BCS prevents me from deleting them?
    Appreciate assistance to troubleshoot and resolve this error.
    Thank you.

    Thank you both for your replies.
    I am sure those are not the case here as I deleted the Company immediately after creating it.
    Just to make sure, I performed "Where-Used List" again and BCS confirmed that it is not being used anywhere:
    Use of: Company UAT1 UAT Company 1
    Number of Uses Found: 0 
    However, the same error message was displayed again after I tried to delete the Company and save the configuration. Still can't find any solid reason behind this.

  • Error in SAP Stock Creation - MB1C

    Dear,
    I am facing an Error while creating SAP Stock Creation through MB1C.
    The error is "Material XYZ is not maintained in Plant 1234".
    Plz can any one explain what the user have to do in order to maintain this material in the Plant 1234.
    This material is created through MM01 & its Plant is 1234.
    Thanks in advance.

    Hello,
    I just managed to check this for the material in plant 1234
    Material xyz not maintained in plant 1234
    Message no. M3351
    To overcome this error;
    No material master data exists for material XYZ in plant 1234. This may be for one of the following reasons:
    In this case, create the plant data by maintaining material master record XYZ from the Purchasing, MRP, or Storage view.
    If your material is a planned material, that is, the data has been scheduled for this plant level for a future point in time.
    In this case, you can display the planned changes for the material.
    Br,
    Tushar.

  • While doing LSMW standard method for Customer master creation..

    while doing LSMW standard method for Customer master creation.....
    In 13th step I am getting this king of error
    FB012                    Session 1 : Special character for 'empty field' is /
    FB007                    Session 1 session name ZPROJ was opened
    FB109                    Trans. 1 : Transaction xd01 is not supported
    FB016                    ... Last header record ...
    FB014                    ... BKN00-STYPE 1
    FB014                    ... BKN00-TCODE xd01
    FB014                    ... BKN00-KUNNR
    FB014                    ... BKN00-BUKRS
    FB014                    ... BKN00-VKORG A1
    FB014                    ... BKN00-VTWEG 00
    FB014                    ... BKN00-SPART 0
    FB014                    ... BKN00-KTOKD
    FB014                    ... BKN00-KKBER BP01
    FB013                    ....Editing was terminated
    Can anyone help how to solve this?

    Hello TJK,
    <b>FB012 Session 1 : Special character for 'empty field' is /</b>
    This is the special function in LSMW, for empty field system will put / sign automatically, so you need not to worry about that.
    <b>FB007 Session 1 session name ZPROJ was opened</b> It is opening session ZPROJ which is your project name/object name.
    <b>FB109 Trans. 1 : Transaction xd01 is not supported</b>
    Check out your field mapping and conversion rule for object.
    <b>FB013 ....Editing was terminated</b>
    It is not finding proper field mapping rule / file inputs so the sytem terminates the LSMW object.
    Check your field mapping and conversion rule, check your source fields, save the file in tab delimited format.
    Hope this helps.
    Regards
    Arif Mansuri

  • Open Directory Master creation failure.

    I am running into consistent Failures while attempting to setup Open Directory Master on 10.8 server. It seems to fail in creating an Intermidiary CA and suggests there is already one. I have combed Keychain for, and removed any entires that refer to the suggested cert. Yet I am still unable to get this OD Master up and running. Here's the log files:
    2012-09-10 18:49:05 +0000 Success. Master creation is possible.
    2012-09-10 18:49:12 +0000 Success. Master creation is possible.
    2012-09-10 18:49:13 +0000 slapconfig -createldapmasterandadmin
    2012-09-10 18:49:13 +0000 command: /usr/bin/sntp -s time.apple.com.
    2012-09-10 18:49:29 +0000 Success. Master creation is possible.
    2012-09-10 18:49:29 +0000 Starting LDAP server (slapd)
    2012-09-10 18:49:29 +0000 Waiting for slapd to start
    2012-09-10 18:49:31 +0000 slapd started
    2012-09-10 18:49:31 +0000 command: /usr/bin/ldapadd -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:49:46 +0000 command: /usr/sbin/slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
    2012-09-10 18:49:46 +0000 Stopping LDAP server (slapd)
    2012-09-10 18:49:54 +0000 Starting LDAP server (slapd)
    2012-09-10 18:49:54 +0000 Waiting for slapd to start
    2012-09-10 18:49:54 +0000 slapd started
    2012-09-10 18:49:54 +0000 Save of LDAP configuration failed with error 2100
    2012-09-10 18:49:54 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:49:54 +0000 adding new entry "olcOverlay=unique,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=nestedgroup,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay={0}odusers,olcDatabase={-1}frontend,cn=config"
              adding new entry "olcOverlay=syncprov,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=syncprov,olcDatabase={2}bdb,cn=config"
    2012-09-10 18:49:54 +0000 command: /usr/bin/ldapadd -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:49:54 +0000 adding new entry "cn={9}customSchema,cn=schema,cn=config"
    2012-09-10 18:49:54 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:49:55 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config -s base olcServerID
    2012-09-10 18:49:55 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:49:55 +0000 Setting SASL realm to <DANDYBOX.NET>
    2012-09-10 18:49:55 +0000 command: /usr/sbin/mkpassdb -setrealm DANDYBOX.NET
    2012-09-10 18:49:55 +0000 command: /usr/sbin/mkpassdb -o -u diradmin -p -q
    2012-09-10 18:49:56 +0000
    2012-09-10 18:49:56 +0000 command: /usr/sbin/mkpassdb -setadmin 0x4fff1e36fb7811e1bd063c07545a924d 0
    2012-09-10 18:49:57 +0000 Admin's entry UUID is: 77bfb2d2-4884-4303-a9b6-c1d39758ab9b
    2012-09-10 18:49:57 +0000 Starting password server
    2012-09-10 18:49:58 +0000 Stopping LDAP server (slapd)
    2012-09-10 18:50:01 +0000 Starting LDAP server (slapd)
    2012-09-10 18:50:01 +0000 Waiting for slapd to start
    2012-09-10 18:50:01 +0000 slapd started
    2012-09-10 18:50:01 +0000 Configuring Kerberos server, realm is DANDYBOX.NET
    2012-09-10 18:50:01 +0000 command: /usr/sbin/kdcsetup -a diradmin -p **** -v 1 DANDYBOX.NET
    2012-09-10 18:50:06 +0000 Opening ldapi connection to the LDAP user data
              Opening ldapi connection to the LDAP auth data
              Creating KDC for OD Master
              Creating Kerberos directory
              Creating KDC Config File
              Creating Kerberos ACL file
              Adding KDC config data to the KerberosKDC config record
              Adding KDC config data to the KerberosClient config record
              Creating KDC database
              Using existing master key file
              Creating Kerberos principal for 'diradmin'
              Creating Kerberos auth authority for 'diradmin'
              Creating Kerberos alt security identity for 'diradmin'
              Successfully created KDC for OD Master
    2012-09-10 18:50:06 +0000 command: /usr/sbin/sso_util configure -x -r DANDYBOX.NET -f /LDAPv3/ldapi://%2Fvar%2Frun%2Fldapi -a diradmin -p **** -v 1 all
    2012-09-10 18:50:06 +0000 command: /usr/sbin/mkpassdb -kerberize
    2012-09-10 18:50:08 +0000 Updating user records and principals
    2012-09-10 18:50:25 +0000 Asking OpenDirectoryConfig to bind to server: 127.0.0.1
    2012-09-10 18:50:27 +0000 Attempting to open /LDAPv3/127.0.0.1 node
    2012-09-10 18:50:27 +0000 Verified /LDAPv3/127.0.0.1 node is available
    2012-09-10 18:50:29 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/127.0.0.1 -p
    2012-09-10 18:50:30 +0000 Creating root CA with DandyBox Open Directory Certification Authority
    2012-09-10 18:50:32 +0000 Creating intermediate CA with IntermediateCA_DANDYBOX.NET_1
    2012-09-10 18:50:32 +0000 ***Error creating intermediate CA. Error - The specified item already exists in the keychain.
    2012-09-10 18:50:32 +0000 Intermediate CA creation failed with error - -25299
    2012-09-10 18:50:32 +0000 Destroying OD master as CA creation failed with error 75
    2012-09-10 18:50:32 +0000 Logging slapd container data to /var/run/slapconfig_error_1347303032
    2012-09-10 18:50:32 +0000 Stopping LDAP server (slapd)
    2012-09-10 18:50:34 +0000 command: /usr/sbin/slapcat -l /var/run/slapconfig_error_1347303032/user.ldif
    2012-09-10 18:50:34 +0000 command: /usr/sbin/slapcat -b cn=authdata -l /var/run/slapconfig_error_1347303032/authdata.ldif
    2012-09-10 18:50:34 +0000 Error retrieving kerberos realm
    2012-09-10 18:50:34 +0000 CopyReplicaArray: ldap_search_ext_s failed
    2012-09-10 18:50:34 +0000 Error retrieving replica array
    2012-09-10 18:50:34 +0000 Deleting Cert Authority related data
    2012-09-10 18:50:34 +0000 Removed directory at path /var/root/Library/Application Support/Certificate Authority/DandyBox Open Directory Certification Authority.
    2012-09-10 18:50:35 +0000 No intCAIdentity, not removing int CA from keychain
    2012-09-10 18:50:35 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist
    2012-09-10 18:50:35 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist
    2012-09-10 18:50:35 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist
    2012-09-10 18:50:35 +0000 void _destroyLDAPServer(const char *): Failed to find computer record named dandybox.net$: 2100 Connection failed to the directory server.
    2012-09-10 18:50:35 +0000 Updating ldapreplicas on primary master
    2012-09-10 18:50:35 +0000 CopyPrimaryMaster: CopyLdapReplicas failed
    2012-09-10 18:50:35 +0000 Unable to locate primary master
    2012-09-10 18:50:35 +0000 Primary master node is nil!
    2012-09-10 18:50:35 +0000 Unable to locate ldapreplicas record: 0 (null)
    2012-09-10 18:50:35 +0000 Error setting read ldap replicas array: 0 (null)
    2012-09-10 18:50:35 +0000 Error setting write ldap replicas array: 0 (null)
    2012-09-10 18:50:35 +0000 ODRecord *_getODRecord(ODNode *, NSString *, NSString *, NSArray *): ODNodeRef parameter error
    2012-09-10 18:50:35 +0000 int _removeReplicaFromConfigRecord(ODNode *, NSString *): ODRecord not found
    2012-09-10 18:50:35 +0000 Error synchronizing ldapreplicas: 0 (null)
    2012-09-10 18:50:35 +0000 Removing self from the database
    2012-09-10 18:50:35 +0000 Warning: An error occurred while re-enabling GSSAPI.
    2012-09-10 18:50:35 +0000 Stopping LDAP server (slapd)
    2012-09-10 18:50:35 +0000 Stopping password server
    2012-09-10 18:50:36 +0000 cleanKeytab: unable to retrieve default realm
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/__db.001.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/__db.002.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/__db.003.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/__db.004.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/__db.005.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/__db.006.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/altSecurityIdentities.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/apple-config-realname.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/apple-generateduid.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-memberguid.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-nestedgroup.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-realname.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/cn.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/DB_CONFIG.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/dn2id.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/entryCSN.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/entryUUID.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/gidNumber.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/givenName.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/id2entry.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/ipHostNumber.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000001.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/macAddress.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/memberUid.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/objectClass.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/ou.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/sn.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/uid.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/openldap-data/uidNumber.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/__db.001.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/__db.002.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/__db.003.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/__db.004.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/__db.005.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/__db.006.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/alock.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/authGUID.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/DB_CONFIG.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/dn2id.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalAliases.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalName.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/entryCSN.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/entryUUID.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/id2entry.bdb.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/log.0000000001.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/openldap/authdata/objectClass.bdb.
    2012-09-10 18:50:36 +0000 Removed directory at path /var/db/openldap/authdata.
    2012-09-10 18:50:36 +0000 Removed file at path /etc/openldap/slapd_macosxserver.conf.
    2012-09-10 18:50:36 +0000 Removed file at path /etc/openldap/slapd.conf.
    2012-09-10 18:50:36 +0000 Removed file at path /var/db/dslocal/nodes/Default/groups/com.apple.access_dsproxy.plist.
    2012-09-10 18:50:36 +0000 Removed directory at path /etc/openldap/slapd.d/cn=config.
    2012-09-10 18:50:36 +0000 Removed file at path /etc/openldap/slapd.d/cn=config.ldif.
    2012-09-10 18:50:36 +0000 Removed directory at path /etc/openldap/slapd.d.
    2012-09-10 18:50:36 +0000 Removed directory at path /etc/openldap/slapd.d.backup/cn=config.
    2012-09-10 18:50:36 +0000 Removed file at path /etc/openldap/slapd.d.backup/cn=config.ldif.
    2012-09-10 18:50:36 +0000 Removed directory at path /etc/openldap/slapd.d.backup.
    2012-09-10 18:50:36 +0000 Stopping password server
    2012-09-10 18:50:36 +0000 Removed file at path /Library/Preferences/com.apple.openldap.plist.
    2012-09-10 18:50:36 +0000 Removed file at path /var/run/slapconfig.lock.
    2012-09-10 18:53:43 +0000 Success. Master creation is possible.
    2012-09-10 18:53:49 +0000 Success. Master creation is possible.
    2012-09-10 18:53:51 +0000 slapconfig -createldapmasterandadmin
    2012-09-10 18:53:51 +0000 command: /usr/bin/sntp -s time.apple.com.
    2012-09-10 18:53:51 +0000 Success. Master creation is possible.
    2012-09-10 18:53:51 +0000 Starting LDAP server (slapd)
    2012-09-10 18:53:51 +0000 Waiting for slapd to start
    2012-09-10 18:53:53 +0000 slapd started
    2012-09-10 18:53:53 +0000 command: /usr/bin/ldapadd -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:54:06 +0000 command: /usr/sbin/slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
    2012-09-10 18:54:07 +0000 Stopping LDAP server (slapd)
    2012-09-10 18:54:16 +0000 Starting LDAP server (slapd)
    2012-09-10 18:54:16 +0000 Waiting for slapd to start
    2012-09-10 18:54:16 +0000 slapd started
    2012-09-10 18:54:16 +0000 Save of LDAP configuration failed with error 2100
    2012-09-10 18:54:16 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:54:16 +0000 adding new entry "olcOverlay=unique,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=nestedgroup,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay={0}odusers,olcDatabase={-1}frontend,cn=config"
              adding new entry "olcOverlay=syncprov,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=syncprov,olcDatabase={2}bdb,cn=config"
    2012-09-10 18:54:16 +0000 command: /usr/bin/ldapadd -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:54:16 +0000 adding new entry "cn={9}customSchema,cn=schema,cn=config"
    2012-09-10 18:54:16 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:54:16 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config -s base olcServerID
    2012-09-10 18:54:16 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-10 18:54:16 +0000 Setting SASL realm to <DANDYBOX.NET>
    2012-09-10 18:54:16 +0000 command: /usr/sbin/mkpassdb -setrealm DANDYBOX.NET
    2012-09-10 18:54:17 +0000 command: /usr/sbin/mkpassdb -o -u diradmin -p -q
    2012-09-10 18:54:18 +0000
    2012-09-10 18:54:18 +0000 command: /usr/sbin/mkpassdb -setadmin 0xebf131c6fb7811e188913c07545a924d 0
    2012-09-10 18:54:18 +0000 Admin's entry UUID is: dd9b2d61-725e-4e55-9692-844e7d923f90
    2012-09-10 18:54:18 +0000 Starting password server
    2012-09-10 18:54:19 +0000 Stopping LDAP server (slapd)
    2012-09-10 18:54:22 +0000 Starting LDAP server (slapd)
    2012-09-10 18:54:22 +0000 Waiting for slapd to start
    2012-09-10 18:54:22 +0000 slapd started
    2012-09-10 18:54:22 +0000 Configuring Kerberos server, realm is DANDYBOX.NET
    2012-09-10 18:54:22 +0000 command: /usr/sbin/kdcsetup -a diradmin -p **** -v 1 DANDYBOX.NET
    2012-09-10 18:54:27 +0000 Opening ldapi connection to the LDAP user data
              Opening ldapi connection to the LDAP auth data
              Creating KDC for OD Master
              Creating Kerberos directory
              Creating KDC Config File
              Creating Kerberos ACL file
              Adding KDC config data to the KerberosKDC config record
              Adding KDC config data to the KerberosClient config record
              Creating KDC database
              Using existing master key file
              Creating Kerberos principal for 'diradmin'
              Creating Kerberos auth authority for 'diradmin'
              Creating Kerberos alt security identity for 'diradmin'
              Successfully created KDC for OD Master
    2012-09-10 18:54:27 +0000 command: /usr/sbin/sso_util configure -x -r DANDYBOX.NET -f /LDAPv3/ldapi://%2Fvar%2Frun%2Fldapi -a diradmin -p **** -v 1 all
    2012-09-10 18:54:27 +0000 command: /usr/sbin/mkpassdb -kerberize
    2012-09-10 18:54:29 +0000 Updating user records and principals
    2012-09-10 18:54:52 +0000 Asking OpenDirectoryConfig to bind to server: 127.0.0.1
    2012-09-10 18:54:55 +0000 Attempting to open /LDAPv3/127.0.0.1 node
    2012-09-10 18:54:55 +0000 Verified /LDAPv3/127.0.0.1 node is available
    2012-09-10 18:54:57 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/127.0.0.1 -p
    2012-09-10 18:54:58 +0000 Creating root CA with DandyBox Open Directory Certification Authority
    2012-09-10 18:55:00 +0000 Creating intermediate CA with IntermediateCA_DANDYBOX.NET_1
    2012-09-10 18:55:00 +0000 ***Error creating intermediate CA. Error - The specified item already exists in the keychain.
    2012-09-10 18:55:00 +0000 Intermediate CA creation failed with error - -25299
    2012-09-10 18:55:00 +0000 Destroying OD master as CA creation failed with error 75
    2012-09-10 18:55:00 +0000 Logging slapd container data to /var/run/slapconfig_error_1347303300
    2012-09-10 18:55:00 +0000 Stopping LDAP server (slapd)
    2012-09-10 18:55:03 +0000 command: /usr/sbin/slapcat -l /var/run/slapconfig_error_1347303300/user.ldif
    2012-09-10 18:55:03 +0000 command: /usr/sbin/slapcat -b cn=authdata -l /var/run/slapconfig_error_1347303300/authdata.ldif
    2012-09-10 18:55:03 +0000 Error retrieving kerberos realm
    2012-09-10 18:55:03 +0000 CopyReplicaArray: ldap_search_ext_s failed
    2012-09-10 18:55:03 +0000 Error retrieving replica array
    2012-09-10 18:55:03 +0000 Deleting Cert Authority related data
    2012-09-10 18:55:03 +0000 Removed directory at path /var/root/Library/Application Support/Certificate Authority/DandyBox Open Directory Certification Authority.
    2012-09-10 18:55:03 +0000 No intCAIdentity, not removing int CA from keychain
    2012-09-10 18:55:03 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist
    2012-09-10 18:55:03 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist
    2012-09-10 18:55:03 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist
    2012-09-10 18:55:03 +0000 void _destroyLDAPServer(const char *): Failed to find computer record named dandybox.net$: 2100 Connection failed to the directory server.
    2012-09-10 18:55:03 +0000 Updating ldapreplicas on primary master
    2012-09-10 18:55:03 +0000 CopyPrimaryMaster: CopyLdapReplicas failed
    2012-09-10 18:55:03 +0000 Unable to locate primary master
    2012-09-10 18:55:03 +0000 Primary master node is nil!
    2012-09-10 18:55:03 +0000 Unable to locate ldapreplicas record: 0 (null)
    2012-09-10 18:55:03 +0000 Error setting read ldap replicas array: 0 (null)
    2012-09-10 18:55:03 +0000 Error setting write ldap replicas array: 0 (null)
    2012-09-10 18:55:03 +0000 ODRecord *_getODRecord(ODNode *, NSString *, NSString *, NSArray *): ODNodeRef parameter error
    2012-09-10 18:55:03 +0000 int _removeReplicaFromConfigRecord(ODNode *, NSString *): ODRecord not found
    2012-09-10 18:55:03 +0000 Error synchronizing ldapreplicas: 0 (null)
    2012-09-10 18:55:03 +0000 Removing self from the database
    2012-09-10 18:55:03 +0000 Warning: An error occurred while re-enabling GSSAPI.
    2012-09-10 18:55:03 +0000 Stopping LDAP server (slapd)
    2012-09-10 18:55:03 +0000 Stopping password server
    2012-09-10 18:55:04 +0000 cleanKeytab: unable to retrieve default realm
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/__db.001.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/__db.002.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/__db.003.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/__db.004.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/__db.005.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/__db.006.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/altSecurityIdentities.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/apple-config-realname.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/apple-generateduid.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-memberguid.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-realname.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/cn.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/DB_CONFIG.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/dn2id.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/entryCSN.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/entryUUID.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/gidNumber.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/givenName.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/id2entry.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/ipHostNumber.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000001.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/macAddress.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/memberUid.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/objectClass.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/ou.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/sn.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/uid.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/openldap-data/uidNumber.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/__db.001.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/__db.002.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/__db.003.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/__db.004.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/__db.005.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/__db.006.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/alock.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/authGUID.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/DB_CONFIG.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/dn2id.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalAliases.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalName.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/entryCSN.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/entryUUID.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/id2entry.bdb.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/log.0000000001.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/openldap/authdata/objectClass.bdb.
    2012-09-10 18:55:04 +0000 Removed directory at path /var/db/openldap/authdata.
    2012-09-10 18:55:04 +0000 Removed file at path /etc/openldap/slapd_macosxserver.conf.
    2012-09-10 18:55:04 +0000 Removed file at path /etc/openldap/slapd.conf.
    2012-09-10 18:55:04 +0000 Removed file at path /var/db/dslocal/nodes/Default/groups/com.apple.access_dsproxy.plist.
    2012-09-10 18:55:04 +0000 Removed directory at path /etc/openldap/slapd.d/cn=config.
    2012-09-10 18:55:04 +0000 Removed file at path /etc/openldap/slapd.d/cn=config.ldif.
    2012-09-10 18:55:04 +0000 Removed directory at path /etc/openldap/slapd.d.
    2012-09-10 18:55:04 +0000 Removed directory at path /etc/openldap/slapd.d.backup/cn=config.
    2012-09-10 18:55:04 +0000 Removed file at path /etc/openldap/slapd.d.backup/cn=config.ldif.
    2012-09-10 18:55:04 +0000 Removed directory at path /etc/openldap/slapd.d.backup.
    2012-09-10 18:55:05 +0000 Stopping password server
    2012-09-10 18:55:05 +0000 Removed file at path /Library/Preferences/com.apple.openldap.plist.
    2012-09-10 18:55:05 +0000 Removed file at path /var/run/slapconfig.lock.
    Any help would be much apreciated!

    new problem. here's the output of the config log:
    2012-09-11 00:21:04 +0000 slapconfig -backupdb
    2012-09-11 00:21:04 +0000 command: /usr/sbin/sso_util info -r /LDAPv3/127.0.0.1 -p
    2012-09-11 00:21:04 +0000 1 Backing up LDAP database
    2012-09-11 00:21:04 +0000   popen: /usr/sbin/slapcat -l /tmp/slapconfig_backup_stage17861ihVwZK/backup.ldif, "r"
    2012-09-11 00:21:04 +0000   popen: /usr/sbin/slapcat -b cn=authdata -l /tmp/slapconfig_backup_stage17861ihVwZK/authdata.ldif, "r"
    2012-09-11 00:21:04 +0000   popen: /bin/cp /var/db/openldap/openldap-data/DB_CONFIG /tmp/slapconfig_backup_stage17861ihVwZK/DB_CONFIG, "r"
    2012-09-11 00:21:04 +0000   popen: /bin/cp /var/db/openldap/authdata//DB_CONFIG /tmp/slapconfig_backup_stage17861ihVwZK/authdata_DB_CONFIG, "r"
    2012-09-11 00:21:04 +0000   popen: /bin/cp -r /etc/openldap /tmp/slapconfig_backup_stage17861ihVwZK/, "r"
    2012-09-11 00:21:04 +0000   popen: /usr/sbin/mkpassdb -list > /tmp/slapconfig_backup_stage17861ihVwZK/sasl-plugin-list, "r"
    2012-09-11 00:21:05 +0000   popen: /bin/hostname > /tmp/slapconfig_backup_stage17861ihVwZK/hostname, "r"
    2012-09-11 00:21:05 +0000   popen: /usr/sbin/sso_util info -pr /LDAPv3/127.0.0.1 > /tmp/slapconfig_backup_stage17861ihVwZK/local_odkrb5realm, "r"
    2012-09-11 00:21:05 +0000 2 Backing up Kerberos database
    2012-09-11 00:21:05 +0000   popen: /usr/bin/tar czpf /tmp/slapconfig_backup_stage17861ihVwZK/krb5backup.tar.gz /var/db/krb5kdc/kdc.conf /var/db/krb5kdc/acl_file.* /var/db/krb5kdc/m_key.* /etc/krb5.keytab , "r"
    2012-09-11 00:21:05 +0000   popen: /bin/cp /var/db/dslocal/nodes/Default/config/KerberosKDC.plist /tmp/slapconfig_backup_stage17861ihVwZK/KerberosKDC.plist, "r"
    2012-09-11 00:21:05 +0000 3 Backing up configuration files
    2012-09-11 00:21:05 +0000   popen: /bin/cp /Library/Preferences/com.apple.openldap.plist /tmp/slapconfig_backup_stage17861ihVwZK/, "r"
    2012-09-11 00:21:05 +0000   popen: /usr/bin/sw_vers > /tmp/slapconfig_backup_stage17861ihVwZK/version.txt, "r"
    2012-09-11 00:21:05 +0000   popen: /bin/cp -r /var/db/dslocal /tmp/slapconfig_backup_stage17861ihVwZK/, "r"
    2012-09-11 00:21:05 +0000 Backed Up Keychain
    2012-09-11 00:21:05 +0000 4 Backing up CA certificates
    2012-09-11 00:21:05 +0000 Failed to backup CA data as Root/ Intermediate CA were not found
    2012-09-11 00:21:05 +0000 5 Creating archive
    2012-09-11 00:21:05 +0000 command: /usr/bin/hdiutil create -ov -plist -puppetstrings -layout UNIVERSAL CD -fs HFS+ -volname ldap_bk -srcfolder /tmp/slapconfig_backup_stage17861ihVwZK -format SPARSE /var/backups/ServerBackup_OpenDirectoryMaster
    2012-09-11 00:21:14 +0000 Removed directory at path /tmp/slapconfig_backup_stage17861ihVwZK.
    2012-09-11 00:21:14 +0000 Removed file at path /var/run/slapconfig.lock.
    2012-09-11 00:26:03 +0000 slapconfig -updateaddresses
    2012-09-11 00:26:04 +0000 _updateaddresses: successfully completed
    2012-09-11 00:26:54 +0000 slapconfig -updateaddresses
    2012-09-11 00:26:55 +0000 _updateaddresses: successfully completed
    2012-09-11 00:27:34 +0000 slapconfig -updateaddresses
    2012-09-11 00:27:35 +0000 _updateaddresses: successfully completed
    2012-09-11 00:29:33 +0000 slapconfig -updateaddresses
    2012-09-11 00:29:34 +0000 _updateaddresses: successfully completed
    2012-09-11 01:40:20 +0000 Migrating OD master
    2012-09-11 01:40:20 +0000 Removed file at path /Volumes/Server HD/var/db/openldap/openldap-data/DB_CONFIG.example.
    2012-09-11 01:40:20 +0000 /private/var/db/openldap not preserved from previous system.  Nothing to upgrade.
    2012-09-11 01:40:20 +0000 Removed file at path /Volumes/Server HD/Library/Preferences/com.apple.openldap.plist.
    2012-09-11 16:25:30 +0000 Success. Master creation is possible.
    2012-09-11 16:25:36 +0000 Success. Master creation is possible.
    2012-09-11 16:25:38 +0000 slapconfig -createldapmasterandadmin
    2012-09-11 16:25:38 +0000 command: /usr/bin/sntp -s time.apple.com.
    2012-09-11 16:25:38 +0000 Success. Master creation is possible.
    2012-09-11 16:25:38 +0000 Starting LDAP server (slapd)
    2012-09-11 16:25:38 +0000 Waiting for slapd to start
    2012-09-11 16:25:41 +0000 slapd started
    2012-09-11 16:25:41 +0000 command: /usr/bin/ldapadd -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-11 16:25:58 +0000 command: /usr/sbin/slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d
    2012-09-11 16:25:58 +0000 Stopping LDAP server (slapd)
    2012-09-11 16:26:06 +0000 Starting LDAP server (slapd)
    2012-09-11 16:26:06 +0000 Waiting for slapd to start
    2012-09-11 16:26:06 +0000 slapd started
    2012-09-11 16:26:06 +0000 Save of LDAP configuration failed with error 2100
    2012-09-11 16:26:06 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-11 16:26:06 +0000 adding new entry "olcOverlay=unique,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=dynid,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=nestedgroup,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay={0}odusers,olcDatabase={-1}frontend,cn=config"
              adding new entry "olcOverlay=syncprov,olcDatabase={1}bdb,cn=config"
              adding new entry "olcOverlay=syncprov,olcDatabase={2}bdb,cn=config"
    2012-09-11 16:26:06 +0000 command: /usr/bin/ldapadd -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-11 16:26:06 +0000 adding new entry "cn={9}customSchema,cn=schema,cn=config"
    2012-09-11 16:26:06 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-11 16:26:06 +0000 command: /usr/bin/ldapsearch -x -LLL -H ldapi://%2Fvar%2Frun%2Fldapi -b cn=config -s base olcServerID
    2012-09-11 16:26:07 +0000 command: /usr/bin/ldapmodify -c -x -H ldapi://%2Fvar%2Frun%2Fldapi
    2012-09-11 16:26:07 +0000 Setting SASL realm to <SERVIN.DANDYBOX.NET>
    2012-09-11 16:26:07 +0000 command: /usr/sbin/mkpassdb -setrealm SERVIN.DANDYBOX.NET
    2012-09-11 16:26:07 +0000 command: /usr/sbin/mkpassdb -o -u diradmin -p -q
    2012-09-11 16:26:08 +0000
    2012-09-11 16:26:09 +0000 command: /usr/sbin/mkpassdb -setadmin 0x63c3d88efc2d11e1b45a3c07545a924d 0
    2012-09-11 16:26:09 +0000 Admin's entry UUID is: d407cf7d-b3df-43bf-bc65-f6a3321fb30f
    2012-09-11 16:26:09 +0000 Starting password server
    2012-09-11 16:26:10 +0000 Stopping LDAP server (slapd)
    2012-09-11 16:26:13 +0000 Starting LDAP server (slapd)
    2012-09-11 16:26:13 +0000 Waiting for slapd to start
    2012-09-11 16:26:13 +0000 slapd started
    2012-09-11 16:26:13 +0000 dsproxy group already exists, reusing
    2012-09-11 16:26:13 +0000 Configuring Kerberos server, realm is SERVIN.DANDYBOX.NET
    2012-09-11 16:26:13 +0000 command: /usr/sbin/kdcsetup -a diradmin -p **** -v 1 SERVIN.DANDYBOX.NET
    2012-09-11 16:26:19 +0000 Opening ldapi connection to the LDAP user data
              Opening ldapi connection to the LDAP auth data
              Creating KDC for OD Master
              Creating Kerberos directory
              Creating KDC Config File
              Creating Kerberos ACL file
              Adding KDC config data to the KerberosKDC config record
              Adding KDC config data to the KerberosClient config record
              Creating KDC database
              Creating new random master key
              Creating Kerberos principal for 'diradmin'
              Creating Kerberos auth authority for 'diradmin'
              Creating Kerberos alt security identity for 'diradmin'
              Successfully created KDC for OD Master
    2012-09-11 16:26:19 +0000 command: /usr/sbin/sso_util configure -x -r SERVIN.DANDYBOX.NET -f /LDAPv3/ldapi://%2Fvar%2Frun%2Fldapi -a diradmin -p **** -v 1 all
    2012-09-11 16:26:20 +0000 command: /usr/sbin/mkpassdb -kerberize
    2012-09-11 16:26:22 +0000 Updating user records and principals
    2012-09-11 16:26:42 +0000 Asking OpenDirectoryConfig to bind to server: 127.0.0.1
    2012-09-11 16:26:42 +0000 Could not bind - The operation couldn\u2019t be completed. (com.apple.OpenDirectory error 4102.)
    2012-09-11 16:26:42 +0000 Logging slapd container data to /var/run/slapconfig_error_1347380802
    2012-09-11 16:26:42 +0000 Stopping LDAP server (slapd)
    2012-09-11 16:26:46 +0000 command: /usr/sbin/slapcat -l /var/run/slapconfig_error_1347380802/user.ldif
    2012-09-11 16:26:46 +0000 command: /usr/sbin/slapcat -b cn=authdata -l /var/run/slapconfig_error_1347380802/authdata.ldif
    2012-09-11 16:26:46 +0000 Error retrieving kerberos realm
    2012-09-11 16:26:46 +0000 CopyReplicaArray: ldap_search_ext_s failed
    2012-09-11 16:26:46 +0000 Error retrieving replica array
    2012-09-11 16:26:46 +0000 Deleting Cert Authority related data
    2012-09-11 16:26:46 +0000 No intCAIdentity, not removing int CA from keychain
    2012-09-11 16:26:46 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd.plist
    2012-09-11 16:26:46 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertd-helper.plist
    2012-09-11 16:26:46 +0000 command: /bin/launchctl unload -w /System/Library/LaunchDaemons/com.apple.xscertadmin.plist
    2012-09-11 16:26:46 +0000 void _destroyLDAPServer(const char *): Failed to find computer record named servin.dandybox.net$: 2100 Connection failed to the directory server.
    2012-09-11 16:26:46 +0000 Updating ldapreplicas on primary master
    2012-09-11 16:26:46 +0000 CopyPrimaryMaster: CopyLdapReplicas failed
    2012-09-11 16:26:46 +0000 Unable to locate primary master
    2012-09-11 16:26:46 +0000 Primary master node is nil!
    2012-09-11 16:26:46 +0000 Unable to locate ldapreplicas record: 0 (null)
    2012-09-11 16:26:46 +0000 Error setting read ldap replicas array: 0 (null)
    2012-09-11 16:26:46 +0000 Error setting write ldap replicas array: 0 (null)
    2012-09-11 16:26:46 +0000 ODRecord *_getODRecord(ODNode *, NSString *, NSString *, NSArray *): ODNodeRef parameter error
    2012-09-11 16:26:46 +0000 int _removeReplicaFromConfigRecord(ODNode *, NSString *): ODRecord not found
    2012-09-11 16:26:46 +0000 Error synchronizing ldapreplicas: 0 (null)
    2012-09-11 16:26:46 +0000 Removing self from the database
    2012-09-11 16:26:46 +0000 Stopping LDAP server (slapd)
    2012-09-11 16:26:46 +0000 Stopping password server
    2012-09-11 16:26:47 +0000 cleanKeytab: unable to retrieve default realm
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/__db.001.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/__db.002.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/__db.003.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/__db.004.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/__db.005.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/__db.006.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/altSecurityIdentities.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/apple-config-realname.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/apple-generateduid.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-memberguid.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-nestedgroup.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/apple-group-realname.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/cn.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/DB_CONFIG.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/dn2id.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/entryCSN.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/entryUUID.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/gidNumber.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/givenName.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/id2entry.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/ipHostNumber.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/log.0000000001.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/macAddress.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/memberUid.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/objectClass.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/ou.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/sn.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/uid.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/openldap-data/uidNumber.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/__db.001.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/__db.002.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/__db.003.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/__db.004.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/__db.005.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/__db.006.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/alock.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/authGUID.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/DB_CONFIG.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/dn2id.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalAliases.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/draft-krbPrincipalName.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/entryCSN.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/entryUUID.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/id2entry.bdb.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/log.0000000001.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/openldap/authdata/objectClass.bdb.
    2012-09-11 16:26:47 +0000 Removed directory at path /var/db/openldap/authdata.
    2012-09-11 16:26:47 +0000 Removed file at path /etc/openldap/slapd_macosxserver.conf.
    2012-09-11 16:26:47 +0000 Removed file at path /etc/openldap/slapd.conf.
    2012-09-11 16:26:47 +0000 Removed file at path /var/db/dslocal/nodes/Default/groups/com.apple.access_dsproxy.plist.
    2012-09-11 16:26:47 +0000 Removed directory at path /etc/openldap/slapd.d/cn=config.
    2012-09-11 16:26:47 +0000 Removed file at path /etc/openldap/slapd.d/cn=config.ldif.
    2012-09-11 16:26:47 +0000 Removed directory at path /etc/openldap/slapd.d.
    2012-09-11 16:26:47 +0000 Removed directory at path /etc/openldap/slapd.d.backup/cn=config.
    2012-09-11 16:26:47 +0000 Removed file at path /etc/openldap/slapd.d.backup/cn=config.ldif.
    2012-09-11 16:26:47 +0000 Removed directory at path /etc/openldap/slapd.d.backup.
    2012-09-11 16:26:47 +0000 Stopping password server
    2012-09-11 16:26:48 +0000 Removed file at path /etc/ntp_opendirectory.conf.
    2012-09-11 16:26:48 +0000 Removed file at path /Library/Preferences/com.apple.openldap.plist.
    2012-09-11 16:26:48 +0000 Removed file at path /var/run/slapconfig.lock.
    Thanks again for any help. DNS is correct, certs are not present, using FQDN.

  • WF - Error in Material Master extension

    Hello friends
    I have some changes to the coding(in ABAP not BOR) related to a workflow of Material Master creation and extension, there is a Z table from where it picks the profit centre to create and extend materials.
    When Profit centre is there for a plant, the workflow executes without error but when profit centre is not there then workflow is not executed, it gives the following error.
    ROLLBACK WORK executed (SWP_CALLBACK_WI_DONE item 8)
    ROLLBACK WORK executed (SWP_CONTINUE_WITH_NEXT_NODES item 1)
    stating that it could not find agents.
    I have checked in MM01 Profit centre is not a obligatory field and neither is there any check in coding for the same.
    I have no idea what to do, please guide.
    Thanks
    Bhavna

    Dear Bhavna,
    Please check if you are validating Profit Center before calling agent determination. It appears that Agent Determination is linked with Profit Center.
    Hope this is helpful.
    Regards,
    Naveen.

  • Error in : Purchase order Creation using BAPI_PO_CREATE1

    Hell  guys,
    I am trying to create a PO using a BAPI - BAPI_PO_CREATE1
    I want the new PO to have all the characteristics of an existing PO. whose PO # is  stored in wa_order_split_create-docnr and for the new PO, i want the quantity from wa_order_split_create-qty_acptd and the delivery data to be wa_order_split_create-dly_date. But this process and code below gives a short dump in the std FM - MEPO_DOC_ITEM_GET . It raises an exception of failure. I am trying to create many new PO's in the loop below. If there is just one row, sometimes, it creates the PO even with the exception failure ( which is pretty weird).
    Am i making any mistake while filling the header or item or schedule lines for the BAPI_PO_CREATE1 ? Any tips or clues why I am getting a dump ?
    DATA: i_insert,
            i_create_order,
            i_cycle     TYPE cycle,
            i_qty_acpt  TYPE dzmeng,
            i_dly_date  TYPE vbak-vdatu,
            i_item      TYPE roijnomiio .
      DATA: i_order TYPE symsgv,
            i_return TYPE swd_return .
      DATA: i_vbak      TYPE vbak,
            i_vbap      TYPE vbap,
            i_ekko      TYPE ekko,
            i_ekpo      TYPE ekpo,
            i_bsoh      TYPE bapisdhd1,
            i_bsohx     TYPE bapisdhd1x,
            i_bpoh      TYPE bapimepoheader,
            i_bpohx     TYPE bapimepoheaderx,
            i_vbeln     TYPE vbeln_va,
            i_posnr     TYPE posnr_va,
            i_contr     TYPE vbeln_va,
            i_conit     TYPE posnr_va,
            i_ebeln     TYPE ebeln,
            i_ebelp     TYPE ebelp,
            i_pargr     TYPE pargr,
            i_thead     TYPE thead,
            i_line      TYPE tline,
            i_note      TYPE txw_note,
            i_new_vbeln TYPE vbeln_va,
            i_new_ebeln TYPE ebeln,
            i_wa_bsoi   TYPE bapisditm,
            i_wa_bsoix  TYPE bapisditmx,
            i_wa_bsop   TYPE bapiparnr,
            i_wa_bsos   TYPE bapischdl,
            i_wa_bsosx  TYPE bapischdlx,
            i_wa_vbpa   TYPE vbpa,
            i_wa_vbkd   TYPE vbkd,
            i_wa_bpoi   TYPE bapimepoitem,
            i_wa_bpoix  TYPE bapimepoitemx,
            i_wa_bpos   TYPE bapimeposchedule,
            i_wa_bposx  TYPE bapimeposchedulx,
            i_wa_bpop   TYPE bapiekkop,
            i_wa_ekpa   TYPE ekpa,
            i_message   TYPE char72,
            i_bapiretn  TYPE bapiret2,
            i_bapiret2  TYPE TABLE OF bapiret2 INITIAL SIZE 1,
            i_vbpa      TYPE TABLE OF vbpa INITIAL SIZE 1,
            i_vbkd      TYPE TABLE OF vbkd INITIAL SIZE 1,
            i_ekpa      TYPE TABLE OF ekpa INITIAL SIZE 1,
            i_bsoi      TYPE TABLE OF bapisditm INITIAL SIZE 1,
            i_bsoix     TYPE TABLE OF bapisditmx INITIAL SIZE 1,
            i_bsos      TYPE TABLE OF bapischdl INITIAL SIZE 1,
            i_bsosx     TYPE TABLE OF bapischdlx INITIAL SIZE 1,
            i_bsop      TYPE TABLE OF bapiparnr INITIAL SIZE 1,
            i_bpoi      TYPE TABLE OF bapimepoitem INITIAL SIZE 1,
            i_bpoix     TYPE TABLE OF bapimepoitemx INITIAL SIZE 1,
            i_bpos      TYPE TABLE OF bapimeposchedule INITIAL SIZE 1,
            i_bposx     TYPE TABLE OF bapimeposchedulx INITIAL SIZE 1,
            i_bpop      TYPE TABLE OF bapiekkop INITIAL SIZE 1,
            i_text_tab  TYPE TABLE OF tline INITIAL SIZE 1,
            i_line_tab  TYPE TABLE OF tline INITIAL SIZE 1,
            i_txw_note  TYPE TABLE OF txw_note INITIAL SIZE 1,
            i_oij_el_doc_mot TYPE oij_el_doc_mot .
      CONSTANTS: c_char_c VALUE 'C',
                 c_char_e VALUE 'E',
                 c_char_p VALUE 'P',
                 c_char_g VALUE 'G',
                 c_char_i VALUE 'I',
                 c_char_s VALUE 'S',
                 c_char_x VALUE 'X',
                 c_zsw(3) VALUE 'ZSW',
                 c_nomit_stat(4) VALUE 'ZDNY' .
      DATA : lv_nomtk_split        TYPE oij_nomtk.
      DATA : i_order_split_create  TYPE TABLE OF zsws_order_split.
      DATA : wa_order_split_create TYPE zsws_order_split.
      LOOP AT i_order_split_create INTO wa_order_split_create.
        IF NOT i_create_order IS INITIAL .
          CLEAR: i_create_order .
              MOVE: wa_order_split_create-docnr  TO i_ebeln,
                    wa_order_split_create-docitm TO i_ebelp .
              CALL FUNCTION 'ME_EKKO_SINGLE_READ'
                   EXPORTING
                        pi_ebeln         = i_ebeln
                   IMPORTING
                        po_ekko          = i_ekko
                   EXCEPTIONS
                        no_records_found = 1
                        OTHERS           = 2.
              IF sy-subrc <> 0 .
              ENDIF .
    * Fill PO Header
              i_bpoh-comp_code   = i_ekko-bukrs .
              i_bpoh-doc_type    = i_ekko-bsart .
              i_bpoh-vendor      = i_ekko-lifnr .
              i_bpoh-langu       = i_ekko-spras .
              i_bpoh-pmnttrms    = i_ekko-zterm .
              i_bpoh-purch_org   = i_ekko-ekorg .
              i_bpoh-pur_group   = i_ekko-ekgrp .
              i_bpoh-currency    = i_ekko-waers .
              i_bpoh-agreement   = i_ekko-konnr .
              i_bpoh-incoterms1  = i_ekko-inco1 .
              i_bpoh-incoterms2  = i_ekko-inco2 .
    * Fill PO update indicator 'X'
              i_bpohx-comp_code  = c_char_x .
              i_bpohx-doc_type   = c_char_x .
              i_bpohx-vendor     = c_char_x .
              i_bpohx-langu      = c_char_x .
              i_bpohx-pmnttrms   = c_char_x .
              i_bpohx-purch_org  = c_char_x .
              i_bpohx-pur_group  = c_char_x .
              i_bpohx-currency   = c_char_x .
              i_bpohx-agreement  = c_char_x .
              i_bpohx-incoterms1 = c_char_x .
              i_bpohx-incoterms2 = c_char_x .
              CALL FUNCTION 'ME_EKPO_SINGLE_READ'
                   EXPORTING
                        pi_ebeln         = i_ebeln
                        pi_ebelp         = i_ebelp
                   IMPORTING
                        po_ekpo          = i_ekpo
                   EXCEPTIONS
                        no_records_found = 1
                        OTHERS           = 2.
              IF sy-subrc <> 0 .
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF .
    * Fill PO Item
              i_wa_bpoi-po_item    = i_ekpo-ebelp .
              i_wa_bpoi-material   = i_ekpo-matnr .
              i_wa_bpoi-plant      = i_ekpo-werks .
              i_wa_bpoi-stge_loc   = i_ekpo-lgort .
              i_wa_bpoi-quantity   = wa_order_split_create-qty_acptd .
              i_wa_bpoi-po_unit    = i_ekpo-meins .
              i_wa_bpoi-tax_code   = i_ekpo-mwskz .
              i_wa_bpoi-val_type   = i_ekpo-bwtar .
              i_wa_bpoi-item_cat   = i_ekpo-pstyp .
              i_wa_bpoi-acctasscat = i_ekpo-knttp .
              i_wa_bpoi-agreement  = i_ekpo-konnr .
              i_wa_bpoi-agmt_item  = i_ekpo-ktpnr .
              APPEND i_wa_bpoi TO i_bpoi .
    * Fill PO Item update indicator 'X'
              i_wa_bpoix-po_item    = i_ekpo-ebelp .
              i_wa_bpoix-po_itemx   = c_char_x .
              i_wa_bpoix-material   = c_char_x .
              i_wa_bpoix-plant      = c_char_x .
              i_wa_bpoix-stge_loc   = c_char_x .
              i_wa_bpoix-quantity   = c_char_x .
              i_wa_bpoix-po_unit    = c_char_x .
              i_wa_bpoix-tax_code   = c_char_x .
              i_wa_bpoix-val_type   = c_char_x .
              i_wa_bpoix-item_cat   = c_char_x .
              i_wa_bpoix-acctasscat = c_char_x .
              i_wa_bpoix-agreement  = c_char_x .
              i_wa_bpoix-agmt_item  = c_char_x .
              APPEND i_wa_bpoix TO i_bpoix .
    * Fill PO Item Schedule
              i_wa_bpos-po_item       = i_ekpo-ebelp .
              i_wa_bpos-sched_line    = '0001' .
              i_wa_bpos-delivery_date = wa_order_split_create-dly_date .
              i_wa_bpos-quantity      = wa_order_split_create-qty_acptd .
              APPEND i_wa_bpos TO i_bpos .
    * Fill PO Item schedule update indicator 'X'
              i_wa_bposx-po_item       = i_ekpo-ebelp .
              i_wa_bposx-sched_line    = '0001' .
              i_wa_bposx-delivery_date = c_char_x .
              i_wa_bposx-quantity      = c_char_x .
              APPEND i_wa_bposx TO i_bposx .
              CLEAR: i_pargr .
              SELECT SINGLE pargr
                INTO i_pargr
                FROM t161
               WHERE bstyp = i_ekko-bstyp
                 AND bsart = i_ekko-bsart .
              CLEAR i_ekpa[].
              CALL FUNCTION 'MM_READ_PARTNERS'
                   EXPORTING
                        application = c_char_p
                        ebeln       = i_ebeln
                        bstyp       = i_ekko-bstyp
                        pargr       = i_pargr
                   TABLES
                        x_ekpa      = i_ekpa[].
              LOOP AT i_ekpa INTO i_wa_ekpa .
                i_wa_bpop-partnerdesc = i_wa_ekpa-parvw .
                i_wa_bpop-langu = sy-langu .
                IF NOT i_wa_ekpa-lifn2 IS INITIAL .
                  i_wa_bpop-buspartno = i_wa_ekpa-lifn2 .
                ELSE .
                  i_wa_bpop-buspartno = i_wa_ekpa-parnr .
                ENDIF .
                APPEND i_wa_bpop TO i_bpop .
                CLEAR: i_wa_ekpa, i_wa_bpop .
              ENDLOOP .
              CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
              CALL FUNCTION 'BAPI_PO_CREATE1'
                   EXPORTING
                        poheader         = i_bpoh
                        poheaderx        = i_bpohx
                   IMPORTING
                        exppurchaseorder = i_new_ebeln
                   TABLES
                        return           = i_bapiret2
                        poitem           = i_bpoi[]
                        poitemx          = i_bpoix[]
                        poschedule       = i_bpos[]
                        poschedulex      = i_bposx[].
              i_order = i_new_ebeln .
              SHIFT i_order LEFT DELETING LEADING '0' .
              i_return-errortype = c_char_i .
              i_return-workarea  = c_zsw .
              i_return-message   = '064' .
              i_return-variable1 = i_order .
            loop at i_bapiret2 into i_bapiretn where type ca 'EAX' .
            append i_bapiretn to t_bapi_return .
          endloop .
          if t_bapi_return[] is initial .
             i_create_order = c_char_x .
               CALL FUNCTION 'SWD_POPUP_MESSAGE_SEND'
                   EXPORTING
                        act_return = i_return. "Popup with new PO no.
          ENDCASE .                                     " Docind
        ENDIF .
      ENDLOOP.

    Hi Shareen,
    I think in the following parts of the code,
              CALL FUNCTION 'MM_READ_PARTNERS'
                   EXPORTING
                        application = c_char_p
                        ebeln       = i_ebeln
                        bstyp       = i_ekko-bstyp
                        pargr       = i_pargr
                   TABLES
                        x_ekpa      = i_ekpa[].
    Error in : Purchase order Creation using BAPI_PO_CREATE1
    Posted: Mar 20, 2006 7:39 PM      Reply      E-mail this post 
    Hell guys,
    I am trying to create a PO using a BAPI - BAPI_PO_CREATE1
    I want the new PO to have all the characteristics of an existing PO. whose PO # is stored in wa_order_split_create-docnr and for the new PO, i want the quantity from wa_order_split_create-qty_acptd and the delivery data to be wa_order_split_create-dly_date. But this process and code below gives a short dump in the std FM - MEPO_DOC_ITEM_GET . It raises an exception of failure. I am trying to create many new PO's in the loop below. If there is just one row, sometimes, it creates the PO even with the exception failure ( which is pretty weird).
    Am i making any mistake while filling the header or item or schedule lines for the BAPI_PO_CREATE1 ? Any tips or clues why I am getting a dump ?
    DATA: i_insert,
            i_create_order,
            i_cycle     TYPE cycle,
            i_qty_acpt  TYPE dzmeng,
            i_dly_date  TYPE vbak-vdatu,
            i_item      TYPE roijnomiio .
      DATA: i_order TYPE symsgv,
            i_return TYPE swd_return .
      DATA: i_vbak      TYPE vbak,
            i_vbap      TYPE vbap,
            i_ekko      TYPE ekko,
            i_ekpo      TYPE ekpo,
            i_bsoh      TYPE bapisdhd1,
            i_bsohx     TYPE bapisdhd1x,
            i_bpoh      TYPE bapimepoheader,
            i_bpohx     TYPE bapimepoheaderx,
            i_vbeln     TYPE vbeln_va,
            i_posnr     TYPE posnr_va,
            i_contr     TYPE vbeln_va,
            i_conit     TYPE posnr_va,
            i_ebeln     TYPE ebeln,
            i_ebelp     TYPE ebelp,
            i_pargr     TYPE pargr,
            i_thead     TYPE thead,
            i_line      TYPE tline,
            i_note      TYPE txw_note,
            i_new_vbeln TYPE vbeln_va,
            i_new_ebeln TYPE ebeln,
            i_wa_bsoi   TYPE bapisditm,
            i_wa_bsoix  TYPE bapisditmx,
            i_wa_bsop   TYPE bapiparnr,
            i_wa_bsos   TYPE bapischdl,
            i_wa_bsosx  TYPE bapischdlx,
            i_wa_vbpa   TYPE vbpa,
            i_wa_vbkd   TYPE vbkd,
            i_wa_bpoi   TYPE bapimepoitem,
            i_wa_bpoix  TYPE bapimepoitemx,
            i_wa_bpos   TYPE bapimeposchedule,
            i_wa_bposx  TYPE bapimeposchedulx,
            i_wa_bpop   TYPE bapiekkop,
            i_wa_ekpa   TYPE ekpa,
            i_message   TYPE char72,
            i_bapiretn  TYPE bapiret2,
            i_bapiret2  TYPE TABLE OF bapiret2 INITIAL SIZE 1,
            i_vbpa      TYPE TABLE OF vbpa INITIAL SIZE 1,
            i_vbkd      TYPE TABLE OF vbkd INITIAL SIZE 1,
            i_ekpa      TYPE TABLE OF ekpa INITIAL SIZE 1,
            i_bsoi      TYPE TABLE OF bapisditm INITIAL SIZE 1,
            i_bsoix     TYPE TABLE OF bapisditmx INITIAL SIZE 1,
            i_bsos      TYPE TABLE OF bapischdl INITIAL SIZE 1,
            i_bsosx     TYPE TABLE OF bapischdlx INITIAL SIZE 1,
            i_bsop      TYPE TABLE OF bapiparnr INITIAL SIZE 1,
            i_bpoi      TYPE TABLE OF bapimepoitem INITIAL SIZE 1,
            i_bpoix     TYPE TABLE OF bapimepoitemx INITIAL SIZE 1,
            i_bpos      TYPE TABLE OF bapimeposchedule INITIAL SIZE 1,
            i_bposx     TYPE TABLE OF bapimeposchedulx INITIAL SIZE 1,
            i_bpop      TYPE TABLE OF bapiekkop INITIAL SIZE 1,
            i_text_tab  TYPE TABLE OF tline INITIAL SIZE 1,
            i_line_tab  TYPE TABLE OF tline INITIAL SIZE 1,
            i_txw_note  TYPE TABLE OF txw_note INITIAL SIZE 1,
            i_oij_el_doc_mot TYPE oij_el_doc_mot .
      CONSTANTS: c_char_c VALUE 'C',
                 c_char_e VALUE 'E',
                 c_char_p VALUE 'P',
                 c_char_g VALUE 'G',
                 c_char_i VALUE 'I',
                 c_char_s VALUE 'S',
                 c_char_x VALUE 'X',
                 c_zsw(3) VALUE 'ZSW',
                 c_nomit_stat(4) VALUE 'ZDNY' .
      DATA : lv_nomtk_split        TYPE oij_nomtk.
      DATA : i_order_split_create  TYPE TABLE OF zsws_order_split.
      DATA : wa_order_split_create TYPE zsws_order_split.
      LOOP AT i_order_split_create INTO wa_order_split_create.
        IF NOT i_create_order IS INITIAL .
          CLEAR: i_create_order .
              MOVE: wa_order_split_create-docnr  TO i_ebeln,
                    wa_order_split_create-docitm TO i_ebelp .
              CALL FUNCTION 'ME_EKKO_SINGLE_READ'
                   EXPORTING
                        pi_ebeln         = i_ebeln
                   IMPORTING
                        po_ekko          = i_ekko
                   EXCEPTIONS
                        no_records_found = 1
                        OTHERS           = 2.
              IF sy-subrc <> 0 .
              ENDIF .
    Fill PO Header
              i_bpoh-comp_code   = i_ekko-bukrs .
              i_bpoh-doc_type    = i_ekko-bsart .
              i_bpoh-vendor      = i_ekko-lifnr .
              i_bpoh-langu       = i_ekko-spras .
              i_bpoh-pmnttrms    = i_ekko-zterm .
              i_bpoh-purch_org   = i_ekko-ekorg .
              i_bpoh-pur_group   = i_ekko-ekgrp .
              i_bpoh-currency    = i_ekko-waers .
              i_bpoh-agreement   = i_ekko-konnr .
              i_bpoh-incoterms1  = i_ekko-inco1 .
              i_bpoh-incoterms2  = i_ekko-inco2 .
    Fill PO update indicator 'X'
              i_bpohx-comp_code  = c_char_x .
              i_bpohx-doc_type   = c_char_x .
              i_bpohx-vendor     = c_char_x .
              i_bpohx-langu      = c_char_x .
              i_bpohx-pmnttrms   = c_char_x .
              i_bpohx-purch_org  = c_char_x .
              i_bpohx-pur_group  = c_char_x .
              i_bpohx-currency   = c_char_x .
              i_bpohx-agreement  = c_char_x .
              i_bpohx-incoterms1 = c_char_x .
              i_bpohx-incoterms2 = c_char_x .
              CALL FUNCTION 'ME_EKPO_SINGLE_READ'
                   EXPORTING
                        pi_ebeln         = i_ebeln
                        pi_ebelp         = i_ebelp
                   IMPORTING
                        po_ekpo          = i_ekpo
                   EXCEPTIONS
                        no_records_found = 1
                        OTHERS           = 2.
              IF sy-subrc <> 0 .
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF .
    Fill PO Item
              i_wa_bpoi-po_item    = i_ekpo-ebelp .
              i_wa_bpoi-material   = i_ekpo-matnr .
              i_wa_bpoi-plant      = i_ekpo-werks .
              i_wa_bpoi-stge_loc   = i_ekpo-lgort .
              i_wa_bpoi-quantity   = wa_order_split_create-qty_acptd .
              i_wa_bpoi-po_unit    = i_ekpo-meins .
              i_wa_bpoi-tax_code   = i_ekpo-mwskz .
              i_wa_bpoi-val_type   = i_ekpo-bwtar .
              i_wa_bpoi-item_cat   = i_ekpo-pstyp .
              i_wa_bpoi-acctasscat = i_ekpo-knttp .
              i_wa_bpoi-agreement  = i_ekpo-konnr .
              i_wa_bpoi-agmt_item  = i_ekpo-ktpnr .
              APPEND i_wa_bpoi TO i_bpoi .
    Fill PO Item update indicator 'X'
              i_wa_bpoix-po_item    = i_ekpo-ebelp .
              i_wa_bpoix-po_itemx   = c_char_x .
              i_wa_bpoix-material   = c_char_x .
              i_wa_bpoix-plant      = c_char_x .
              i_wa_bpoix-stge_loc   = c_char_x .
              i_wa_bpoix-quantity   = c_char_x .
              i_wa_bpoix-po_unit    = c_char_x .
              i_wa_bpoix-tax_code   = c_char_x .
              i_wa_bpoix-val_type   = c_char_x .
              i_wa_bpoix-item_cat   = c_char_x .
              i_wa_bpoix-acctasscat = c_char_x .
              i_wa_bpoix-agreement  = c_char_x .
              i_wa_bpoix-agmt_item  = c_char_x .
              APPEND i_wa_bpoix TO i_bpoix .
    Fill PO Item Schedule
              i_wa_bpos-po_item       = i_ekpo-ebelp .
              i_wa_bpos-sched_line    = '0001' .
              i_wa_bpos-delivery_date = wa_order_split_create-dly_date .
              i_wa_bpos-quantity      = wa_order_split_create-qty_acptd .
              APPEND i_wa_bpos TO i_bpos .
    Fill PO Item schedule update indicator 'X'
              i_wa_bposx-po_item       = i_ekpo-ebelp .
              i_wa_bposx-sched_line    = '0001' .
              i_wa_bposx-delivery_date = c_char_x .
              i_wa_bposx-quantity      = c_char_x .
              APPEND i_wa_bposx TO i_bposx .
              CLEAR: i_pargr .
              SELECT SINGLE pargr
                INTO i_pargr
                FROM t161
               WHERE bstyp = i_ekko-bstyp
                 AND bsart = i_ekko-bsart .
              CLEAR i_ekpa[].
              CALL FUNCTION 'MM_READ_PARTNERS'
                   EXPORTING
                        application = c_char_p
                        ebeln       = i_ebeln
                        bstyp       = i_ekko-bstyp
                        pargr       = i_pargr
                   TABLES
                        x_ekpa      = <b>i_ekpa[].</b>
              LOOP AT i_ekpa INTO i_wa_ekpa .
                i_wa_bpop-partnerdesc = i_wa_ekpa-parvw .
                i_wa_bpop-langu = sy-langu .
                IF NOT i_wa_ekpa-lifn2 IS INITIAL .
                  i_wa_bpop-buspartno = i_wa_ekpa-lifn2 .
                ELSE .
                  i_wa_bpop-buspartno = i_wa_ekpa-parnr .
                ENDIF .
                APPEND i_wa_bpop TO i_bpop .
                CLEAR: i_wa_ekpa, i_wa_bpop .
              ENDLOOP .
              CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
              CALL FUNCTION 'BAPI_PO_CREATE1'
                   EXPORTING
                        poheader         = i_bpoh
                        poheaderx        = i_bpohx
                   IMPORTING
                        exppurchaseorder = i_new_ebeln
                   TABLES
                        return           = i_bapiret2
                    <b>    poitem           = i_bpoi[]
                        poitemx          = i_bpoix[]
                        poschedule       = i_bpos[]
                        poschedulex      = i_bposx[].</b>
    it should be only i_bpoi, i_bpoix, i_bpos, i_bposx but not  i_bpoi[], i_bpoix[], i_bpos[], i_bposx[].
    CHange the code as follows:
    DATA: i_insert,
            i_create_order,
            i_cycle     TYPE cycle,
            i_qty_acpt  TYPE dzmeng,
            i_dly_date  TYPE vbak-vdatu,
            i_item      TYPE roijnomiio .
      DATA: i_order TYPE symsgv,
            i_return TYPE swd_return .
      DATA: i_vbak      TYPE vbak,
            i_vbap      TYPE vbap,
            i_ekko      TYPE ekko,
            i_ekpo      TYPE ekpo,
            i_bsoh      TYPE bapisdhd1,
            i_bsohx     TYPE bapisdhd1x,
            i_bpoh      TYPE bapimepoheader,
            i_bpohx     TYPE bapimepoheaderx,
            i_vbeln     TYPE vbeln_va,
            i_posnr     TYPE posnr_va,
            i_contr     TYPE vbeln_va,
            i_conit     TYPE posnr_va,
            i_ebeln     TYPE ebeln,
            i_ebelp     TYPE ebelp,
            i_pargr     TYPE pargr,
            i_thead     TYPE thead,
            i_line      TYPE tline,
            i_note      TYPE txw_note,
            i_new_vbeln TYPE vbeln_va,
            i_new_ebeln TYPE ebeln,
            i_wa_bsoi   TYPE bapisditm,
            i_wa_bsoix  TYPE bapisditmx,
            i_wa_bsop   TYPE bapiparnr,
            i_wa_bsos   TYPE bapischdl,
            i_wa_bsosx  TYPE bapischdlx,
            i_wa_vbpa   TYPE vbpa,
            i_wa_vbkd   TYPE vbkd,
            i_wa_bpoi   TYPE bapimepoitem,
            i_wa_bpoix  TYPE bapimepoitemx,
            i_wa_bpos   TYPE bapimeposchedule,
            i_wa_bposx  TYPE bapimeposchedulx,
            i_wa_bpop   TYPE bapiekkop,
            i_wa_ekpa   TYPE ekpa,
            i_message   TYPE char72,
            i_bapiretn  TYPE bapiret2,
            i_bapiret2  TYPE TABLE OF bapiret2 INITIAL SIZE 1,
            i_vbpa      TYPE TABLE OF vbpa INITIAL SIZE 1,
            i_vbkd      TYPE TABLE OF vbkd INITIAL SIZE 1,
            i_ekpa      TYPE TABLE OF ekpa INITIAL SIZE 1,
            i_bsoi      TYPE TABLE OF bapisditm INITIAL SIZE 1,
            i_bsoix     TYPE TABLE OF bapisditmx INITIAL SIZE 1,
            i_bsos      TYPE TABLE OF bapischdl INITIAL SIZE 1,
            i_bsosx     TYPE TABLE OF bapischdlx INITIAL SIZE 1,
            i_bsop      TYPE TABLE OF bapiparnr INITIAL SIZE 1,
            i_bpoi      TYPE TABLE OF bapimepoitem INITIAL SIZE 1,
            i_bpoix     TYPE TABLE OF bapimepoitemx INITIAL SIZE 1,
            i_bpos      TYPE TABLE OF bapimeposchedule INITIAL SIZE 1,
            i_bposx     TYPE TABLE OF bapimeposchedulx INITIAL SIZE 1,
            i_bpop      TYPE TABLE OF bapiekkop INITIAL SIZE 1,
            i_text_tab  TYPE TABLE OF tline INITIAL SIZE 1,
            i_line_tab  TYPE TABLE OF tline INITIAL SIZE 1,
            i_txw_note  TYPE TABLE OF txw_note INITIAL SIZE 1,
            i_oij_el_doc_mot TYPE oij_el_doc_mot .
      CONSTANTS: c_char_c VALUE 'C',
                 c_char_e VALUE 'E',
                 c_char_p VALUE 'P',
                 c_char_g VALUE 'G',
                 c_char_i VALUE 'I',
                 c_char_s VALUE 'S',
                 c_char_x VALUE 'X',
                 c_zsw(3) VALUE 'ZSW',
                 c_nomit_stat(4) VALUE 'ZDNY' .
      DATA : lv_nomtk_split        TYPE oij_nomtk.
      DATA : i_order_split_create  TYPE TABLE OF zsws_order_split.
      DATA : wa_order_split_create TYPE zsws_order_split.
      LOOP AT i_order_split_create INTO wa_order_split_create.
        IF NOT i_create_order IS INITIAL .
          CLEAR: i_create_order .
              MOVE: wa_order_split_create-docnr  TO i_ebeln,
                    wa_order_split_create-docitm TO i_ebelp .
              CALL FUNCTION 'ME_EKKO_SINGLE_READ'
                   EXPORTING
                        pi_ebeln         = i_ebeln
                   IMPORTING
                        po_ekko          = i_ekko
                   EXCEPTIONS
                        no_records_found = 1
                        OTHERS           = 2.
              IF sy-subrc <> 0 .
              ENDIF .
    Fill PO Header
              i_bpoh-comp_code   = i_ekko-bukrs .
              i_bpoh-doc_type    = i_ekko-bsart .
              i_bpoh-vendor      = i_ekko-lifnr .
              i_bpoh-langu       = i_ekko-spras .
              i_bpoh-pmnttrms    = i_ekko-zterm .
              i_bpoh-purch_org   = i_ekko-ekorg .
              i_bpoh-pur_group   = i_ekko-ekgrp .
              i_bpoh-currency    = i_ekko-waers .
              i_bpoh-agreement   = i_ekko-konnr .
              i_bpoh-incoterms1  = i_ekko-inco1 .
              i_bpoh-incoterms2  = i_ekko-inco2 .
    Fill PO update indicator 'X'
              i_bpohx-comp_code  = c_char_x .
              i_bpohx-doc_type   = c_char_x .
              i_bpohx-vendor     = c_char_x .
              i_bpohx-langu      = c_char_x .
              i_bpohx-pmnttrms   = c_char_x .
              i_bpohx-purch_org  = c_char_x .
              i_bpohx-pur_group  = c_char_x .
              i_bpohx-currency   = c_char_x .
              i_bpohx-agreement  = c_char_x .
              i_bpohx-incoterms1 = c_char_x .
              i_bpohx-incoterms2 = c_char_x .
              CALL FUNCTION 'ME_EKPO_SINGLE_READ'
                   EXPORTING
                        pi_ebeln         = i_ebeln
                        pi_ebelp         = i_ebelp
                   IMPORTING
                        po_ekpo          = i_ekpo
                   EXCEPTIONS
                        no_records_found = 1
                        OTHERS           = 2.
              IF sy-subrc <> 0 .
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF .
    Fill PO Item
              i_wa_bpoi-po_item    = i_ekpo-ebelp .
              i_wa_bpoi-material   = i_ekpo-matnr .
              i_wa_bpoi-plant      = i_ekpo-werks .
              i_wa_bpoi-stge_loc   = i_ekpo-lgort .
              i_wa_bpoi-quantity   = wa_order_split_create-qty_acptd .
              i_wa_bpoi-po_unit    = i_ekpo-meins .
              i_wa_bpoi-tax_code   = i_ekpo-mwskz .
              i_wa_bpoi-val_type   = i_ekpo-bwtar .
              i_wa_bpoi-item_cat   = i_ekpo-pstyp .
              i_wa_bpoi-acctasscat = i_ekpo-knttp .
              i_wa_bpoi-agreement  = i_ekpo-konnr .
              i_wa_bpoi-agmt_item  = i_ekpo-ktpnr .
              APPEND i_wa_bpoi TO i_bpoi .
    Fill PO Item update indicator 'X'
              i_wa_bpoix-po_item    = i_ekpo-ebelp .
              i_wa_bpoix-po_itemx   = c_char_x .
              i_wa_bpoix-material   = c_char_x .
              i_wa_bpoix-plant      = c_char_x .
              i_wa_bpoix-stge_loc   = c_char_x .
              i_wa_bpoix-quantity   = c_char_x .
              i_wa_bpoix-po_unit    = c_char_x .
              i_wa_bpoix-tax_code   = c_char_x .
              i_wa_bpoix-val_type   = c_char_x .
              i_wa_bpoix-item_cat   = c_char_x .
              i_wa_bpoix-acctasscat = c_char_x .
              i_wa_bpoix-agreement  = c_char_x .
              i_wa_bpoix-agmt_item  = c_char_x .
              APPEND i_wa_bpoix TO i_bpoix .
    Fill PO Item Schedule
              i_wa_bpos-po_item       = i_ekpo-ebelp .
              i_wa_bpos-sched_line    = '0001' .
              i_wa_bpos-delivery_date = wa_order_split_create-dly_date .
              i_wa_bpos-quantity      = wa_order_split_create-qty_acptd .
              APPEND i_wa_bpos TO i_bpos .
    Fill PO Item schedule update indicator 'X'
              i_wa_bposx-po_item       = i_ekpo-ebelp .
              i_wa_bposx-sched_line    = '0001' .
              i_wa_bposx-delivery_date = c_char_x .
              i_wa_bposx-quantity      = c_char_x .
              APPEND i_wa_bposx TO i_bposx .
              CLEAR: i_pargr .
              SELECT SINGLE pargr
                INTO i_pargr
                FROM t161
               WHERE bstyp = i_ekko-bstyp
                 AND bsart = i_ekko-bsart .
              CLEAR i_ekpa[].
              CALL FUNCTION 'MM_READ_PARTNERS'
                   EXPORTING
                        application = c_char_p
                        ebeln       = i_ebeln
                        bstyp       = i_ekko-bstyp
                        pargr       = i_pargr
                   TABLES
                        x_ekpa      = i_ekpa.
              LOOP AT i_ekpa INTO i_wa_ekpa .
                i_wa_bpop-partnerdesc = i_wa_ekpa-parvw .
                i_wa_bpop-langu = sy-langu .
                IF NOT i_wa_ekpa-lifn2 IS INITIAL .
                  i_wa_bpop-buspartno = i_wa_ekpa-lifn2 .
                ELSE .
                  i_wa_bpop-buspartno = i_wa_ekpa-parnr .
                ENDIF .
                APPEND i_wa_bpop TO i_bpop .
                CLEAR: i_wa_ekpa, i_wa_bpop .
              ENDLOOP .
              CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
              CALL FUNCTION 'BAPI_PO_CREATE1'
                   EXPORTING
                        poheader         = i_bpoh
                        poheaderx        = i_bpohx
                   IMPORTING
                        exppurchaseorder = i_new_ebeln
                   TABLES
                        return           = i_bapiret2
                        poitem           = i_bpoi
                        poitemx          = i_bpoix
                        poschedule       = i_bpos
                        poschedulex      = i_bposx.
              i_order = i_new_ebeln .
              SHIFT i_order LEFT DELETING LEADING '0' .
              i_return-errortype = c_char_i .
              i_return-workarea  = c_zsw .
              i_return-message   = '064' .
              i_return-variable1 = i_order .
            loop at i_bapiret2 into i_bapiretn where type ca 'EAX' .
            append i_bapiretn to t_bapi_return .
          endloop .
          if t_bapi_return[] is initial .
             i_create_order = c_char_x .
               CALL FUNCTION 'SWD_POPUP_MESSAGE_SEND'
                   EXPORTING
                        act_return = i_return. "Popup with new PO no.
          ENDCASE .                                     " Docind
        ENDIF .
      ENDLOOP.

  • Error message during cube creation

    Hi expert,
    System show the following error message during cube creation, please info how to solve this problem. Thanks.
    Define the characteristics of the validity table for non-cumulatives
    Message no. R7846
    Diagnosis
    The InfoCube contains non-cumulative values. A validity table is created for these non-cumulative values, in which the time interval is stored, for which the non-cumulative values are valid.
    The validity table automatically contains the "most detailed" of the selected time characteristics (if such a one does not exist, it must be defined by the user, meaning transfered into the InfoCube).
    Besides the most detailed time characteristic, additional characteristics for the InfoCube can be included in the validity table:
    Examples of such characteristics are:
    A "plan/actual" indicator, if differing time references exist for plan and actual values (actual values for the current fiscal year, plan values already for the next fiscal year),
    the characteristic "plant", if the non-cumulative values are reported per plant, and it can occur that a plant already exists for plant A for a particular time period, but not yet for plant B.
    Procedure
    Define all additional characteristics that should be contained in the validity table by selecting the characteristics.
    In the example above, the characteristics "plan/actual" and  "plant" must be selected.
    The system automatically generates the validity table according to the definition made. This table is automatically updated when data is loaded.

    Hi,
    Go to the Extras Tab in the definition of the Cube and there select " Maintain Non-Cumulatives" and there select the Plant check box. You can also check Material but it is not recommended. Now try to activate the cube. I think it will work for you.

  • Error in loading Master Data

    Hi All,
    i have an error in loading master and i want to know please how can i individuate the data that need to be corrected, i have loaded data in psa and when i click on simulate/cancel update i find an error in data package 19 and data record 6701
    i have searched the record in psa but the status result green light and i don't understand what is the problem...Can somebody help me please...thanks
    this is the error message:
    Error log was written - log can be displayed in the monitor RSDMD 153
    Value '436-9106 ' for characteristic 0DATE is not numeric  RRSV     6
    0DATE : Data record 6701 ('000700242520061001000000005760664116436-9106 '): Version '436-9106

    Hi Voodi,
    in the record i have many columns that refered to date, i have: Valid-from, Valid-To H, created on, Valid From, Valid To- i don't know where is the specified column to check the required format, in PSA in the data package 19 i have 13755 Records posted and i have checked many records to control these columns but i don't find something that demonstrate me a difference between the format, i don't know why the error signalated is only 6701...but you think is only a problem of format it's not not somthing that i have to signalated to the person who works on R/3 if there is something to correct in the datasource?
    Thanks
    Bilal

Maybe you are looking for

  • Mac Mini slow login

    I wonder if anyone can help with this. My Mac Mini, with a 256GB Samsung SSD installed just after purchase, has been very quick for the last 7 months. Suddenly the boot time has become painfully slow with a long delay until I can log in. After login

  • How to remove Editable region from nested template?

    I'm trying to remove an editable region from a nested template while retaining it in the parent template. DW doesn't want to let me do this. Example: - I've created an overall template call ALLPAGES.DWT - In it, there's an editable region called "rel

  • XI to RFC processed successfully but not working

    Hello, I finally configured my RFC - XI - RFC async scenario. If I go to SXMB_MONI the message is processes OK, the mapping is OK too because I can see the output payload data in the technical routing tab. But, the destination RFC must change a DataB

  • Use of smilies in message posts skews line spacing

    I just wanted to report that the use of 'smilies' in posts here seems to affect the line spacing -- i.e., the vertical justification of text is irregular on the line that a smilie appears on. I've just noticed this from one of my own posts. In 'previ

  • Invoice in XL reporter

    Hi Experts,               Is it is possible to create an invoice format in XL reporter