PO creation with call tranaction fails in a BDC program

Hi All,
There is a BDC with out client which creates Purchase order with the delivery numbers.
We are using the call transaction as shown below:
CALL TRANSACTION 'ME21'USING bdcdata UPDATE synch MODE display.
Where display = 'A"
Before that the BDC_DATA is filled as follows:
PERFORM dynpro USING:
   space        space  space   'BDC_OKCODE'   'KOPF',
  'SAPMM06E'    '101'  'X'     space          space  ,
   space        space  space   'EKKO-IHREZ'   int_lips-vbeln,
   space        space  space   'EKKO-UNSEZ'   int_lips-vgbel,
   space        space  space   'BDC_OKCODE'   '/11',
* Have to code past message screen and save, despite absence of output.
  'SAPLSPO1'    '300'  'X'     space          space  ,
   space        space  space   'BDC_CURSOR'   'SPOP-OPTION1',
   space        space  space   'BDC_OKCODE'   'YES'.
Now when we try to execute the report the report shows as a error message as follows:
System messages received during processing.
          S00                  378 Start screen does not exist in batch input data
          S00                  378 Above reason code caused PO Creation to fail.
Please help me understand why this happens.
Thanks & Regards,
Selvakumar M.

HI,
You can use the BAPI --> BAPI_PO_CREATE1  for PO creation.
Or there might be screen missing in the BDC can you show the BDC data fill program
Regards,
Madhukar Shetty

Similar Messages

  • Adobe form creation with fillable=X fails

    Hello experts,
    I am working with a form designed in SFP - in the PDF preview everything is fine, the fields are fillable.
    When I create the form with the generated function module, it only works when docparams-fillable is empty (but then it is a static form)
    If I call the function module with fillabe=X I get a FPRUNX error. I need a fillable form (unfortunately).
    I have seen in the forum that others had the same problem - but have not found a solution yet.
    What do I need to tell the basis people for checking ADS configuration or installation?
    best regards,
    Johannes

    Hello!
    If you want yo make form fillable that means it becomes not just print form, but interactive form. Even if you are not planning to send data back to SAP and just want to change smth in the form before output - it is still sort of interaction, isn't it?
    Unlike print-forms part of this solution (which is included in you SAP license), interactive part requires additional licensing and installation of special credential on ADS server.
    Only if you have credential installed at the server you can make form fillable.
    See this note <a href="https://service.sap.com/sap/support/notes/736902">736902</a>
    Regards,
    Petr Perstnev

  • Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx.

    Sql 2008 R2
    Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx. 
    If I call rs.exe with the various parameters from the command prompt I  have success(other than rs.exe using the temp folder, which is a different issue).  But when I try to execute the same process from a Visual Basic 6.0 application utilizing
    the ShellEx api call, the report creation and output to PDF format do not occur.   There is no error raised.
    Yes, I wish I could use a newer dev tool but that isn't an option right now. I think this should work.  Can ya'll tell me what I'm doing wrong?
    sArgs = "-i " & Chr(34) & "'C:\Program Files\Dura Supreme\OrderEntry\RunOrdReports.rss'" & Chr(34) & _
    " -s 'http://walnut/reportserver' -v 'DuraOrderNum=" & _
    Chr(34) & sOrdDuraID & Chr(34) & "' -e Exec2005 -t"
    ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & Chr(34), EShellShowConstants.essSW_SHOWNORMAL, sArgs
    TIA,
    Jim M.

    ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & ....
    Hello Jim,
    The path for rs.exe includes spaces, you should set it in hyphen, as you already did for file "RunOrdReports.rss" in variable "sArgs2
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.

    I am experiencing this error with one of our cluster environment. Can anyone help me in this issue.
    The Cluster Service function call 'ClusterResourceControl' failed with error code '1008(An attempt was made to reference a token that does not exist.)' while verifying the file path. Verify that your failover cluster is configured properly.
    Thanks,
    Venu S.
    Venugopal S ----------------------------------------------------------- Please click the Mark as Answer button if a post solves your problem!

    Hi Venu S,
    Based on my research, you might encounter a known issue, please try the hotfix in this KB:
    http://support.microsoft.com/kb/928385
    Meanwhile since there is less information about this issue, before further investigation, please provide us the following information:
    The version of Windows Server you are using
    The result of SELECT @@VERSION
    The scenario when you get this error
    If anything is unclear, please let me know.
    Regards,
    Tom Li

  • First call attempt fails with 12000; reason="Routes available for this request but no available gateway at this point"

    We've installed a new Audiocodes Mediant 1000B gateway for our customer.  They only have about 6 users enabled for Enterprise voice and using Lync for all calls.  They have an intermittent problem whereby the first call attempt to a number on the
    PSTN fails with 12000; reason="Routes available for this request but no available gateway at this point".  There is only one PSTN gateway installed.  All routes point to this gateway.  What I found initially is that the calls
    were failing after 10 seconds which is the default "failovertimeout" in the OutboundRouting.exe.config.  I found this post http://voipnorm.blogspot.co.uk/2012/06/lync-2010-gateway-timeout-call-failures.html and
    changed the value to 20 seconds.  Subsequent failures failed after 20 seconds (the new value).  The interesting thing is that the second attempt even a couple of seconds later succeeds.  My Lync server event log has 46046 "A call to a PSTN
    number failed due to non availability of gateways." for the failed call and 46047 "A PBX gateway is now responding to requests after some failures." for the successful call moments later.
    My environment is Lync 2010.  A single enterprise edition Front End with collocated mediation.  The server is virtual and in a different physical location to the gateway.  The two sites are connected via a LES1000.  The RTT between the
    sites is very low so it isn't necessarily networking.
    In the Syslog output on the Audiocodes we don't see the call even reach the gateway.  It's likely that Lync has simply marked the gateway as down and doesn't route the first call.  Then it wakes up and marks it as up and routes the next call.
    Update wise I'm on 4.0.7577.183, 199 and 217 for those that are up to date and the only components that are behind say that 223 is available.  Those being Core Components, Lync Server, Conferencing Server and Web Components.
    As I said, this is intermittent, apparently doesn't happen for every user (which I don't buy), but is easily replicated on request.
    I definitely think changing the failovertimeout value has reduced the number of failures.  But realistically I don't want users sitting there for 20 seconds before their call fails.  Or 19 seconds for the call to route.
    I've found a few posts on this and similar issues.  I don't get the 25051 or 25052 errors.
    Any help gratefully appreciated.
    Regards
    Randy Chapman
    Best Regards Randy Chapman

    Try to change the value of Failovertimeout to 1000.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I fail to start the sap server with error:Operating system call recv failed

    I fail to start the sap server in SAP R3 Management Console and the message in the syslog was :
    R/3 Basis System: Operating system call           recv failed (error no. 10053)
    Is there any one could tell me how to resolve the problem or give me some advice?I will appreciate him/her very much.Thank you.

    trc file: "dev_disp", trc level: 1, release: "620"
    Sun May 07 13:14:30 2000
    kernel runs with dp version 3(ext=1) (@(#) DPLIB-INT-VERSION-3)
    length of sys_adm_ext is 304 bytes
    systemid   560 (PC with Windows NT)
    relno      6200
    patchlevel 0
    patchno    674
    intno      20020600
    pid        3628
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3628) [dpxxdisp.c   978]
         shared lib "dw_xml.dll" version 674 successfully loaded
         shared lib "dw_xtc.dll" version 674 successfully loaded
         shared lib "dw_stl.dll" version 674 successfully loaded
    Sun May 07 13:14:32 2000
    WARNING => DpNetCheck: NiAddrToHostCanon() took 2 seconds
    Sun May 07 13:14:37 2000
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3212]
    MtxInit: -2 0 0
    DpShMCreate: sizeof(wp_adm)          12784     (752)
    DpShMCreate: sizeof(tm_adm)          1690816     (8412)
    DpShMCreate: sizeof(wp_ca_adm)     18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)     192000     (384)
    DpShMCreate: sizeof(wall_adm)     (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 001E0040, size: 1977824)
    DpShMCreate: allocated sys_adm at 001E0040
    DpShMCreate: allocated wp_adm at 001E0560
    DpShMCreate: allocated tm_adm_list at 001E3750
    DpShMCreate: allocated tm_adm at 001E3778
    DpShMCreate: allocated wp_ca_adm at 00380438
    DpShMCreate: allocated appc_ca_adm at 00384A88
    DpShMCreate: allocated comm_adm_list at 003861F8
    DpShMCreate: allocated comm_adm at 00386210
    DpShMCreate: allocated ca_info at 003B5010
    DpShMCreate: allocated wall_adm at 003B5018
    MBUF state OFF
    Sun May 07 13:14:38 2000
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 2458 MB
    <ES> 2457 blocks reserved for free list.
    ES initialized.
    ***LOG Q0K=> DpMsAttach, mscon ( db01) [dpxxdisp.c   9115]
    CCMS: Initalizing shared memory of size 20000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6200, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   941]
    DpMsgAdmin: Set patchno for this platform to 674
    Release check o.K.
    Sun May 07 13:15:18 2000
    ERROR => W2 (pid 4776) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W2
    Sun May 07 13:15:38 2000
    ERROR => W5 (pid 4548) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W5
    ERROR => W8 (pid 4592) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W8
    ERROR => W9 (pid 4584) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W9
    ERROR => W12 (pid 4676) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W12
    ERROR => W13 (pid 4272) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W13
    my types changed after wp death/restart 0xbf --> 0xb7
    Sun May 07 13:15:58 2000
    ERROR => W4 (pid 4888) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W4
    ERROR => W6 (pid 4788) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W6
    ERROR => W15 (pid 4596) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W15
    Sun May 07 13:16:18 2000
    ERROR => W1 (pid 4892) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W1
    ERROR => W3 (pid 4904) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W3
    ERROR => W7 (pid 4000) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W7
    ERROR => W10 (pid 4864) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W10
    my types changed after wp death/restart 0xb7 --> 0xb5
    Sun May 07 13:16:38 2000
    ERROR => W0 (pid 4900) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W0
    ERROR => W11 (pid 4500) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W11
    ERROR => W14 (pid 4636) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W14
    ERROR => W16 (pid 3532) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W16
    my types changed after wp death/restart 0xb5 --> 0x80
    DP_FATAL_ERROR => DpEnvCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    DpModState: change server state from STARTING to SHUTDOWN
    Sun May 07 13:16:42 2000
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9341]
    MBUF state OFF
    MBUF component DOWN
    ***LOG Q05=> DpHalt, DPStop ( 3628) [dpxxdisp.c   7883]

  • EU_IMPORT5:   DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1017

    Hi,
    The upgrade is on phase EU_IMPORT5 and it seems to run for a long time. But am afraid it this is really true. When I look in the file: E000006.DPR I find the following:
    DbSl Trace: OCI-call 'OCISessionBegin' failed with rc=1017
    DbSl Trace: CONNECT failed with sql error '1017'
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (SQL) INFO: SSEXC.SQL not found
    (DB) INFO: DOKHL~ created #20081003122232
    (IMP) INFO: import of DOKHL~ completed (2185665 rows) #20081003125935
    (DB) INFO: DOKHL^0 created #20081003125948
    (DB) INFO: DOKIL~ created #20081003125949
    Is this means that it  stoped?
    Thanks in advance
    HanseAtik

    Hi,
    Check in SAPup.log if you're not requested to do an action .
    You'll probably see
    >Continue ?
    >Exit ?
    If yes, just stop SAPup and restart, you'll be asked again.
    Hope that was helpfull.

  • Getting error with DbSl Trace: OCI-call 'olog' failed: rc = 1017

    Hi,
    We are working on osdbmigration, exporting from oracle to SQL Server.
    When we run ./R3SETUP -f DBEXPORT.R3S getting the below error:
    INFO 2011-06-10 05:17:46 R3SZCHK_IND_ORA R3ldctlDo:0
        DbSl Trace: OCI-call 'olog' failed: rc = 1017
        DbSl Trace: CONNECT failed with sql error 1017
    We have performed allthe pre-checks successfully and can able to connect system/manager at SQL.
    Regards,
    Karthik.

    Have you followed the Note 400241 - Problems with ops$ or sapr3 connect to Oracle

  • Solaris 10 Zone for Solaris 11.1 creation with template fails.

    Hi,
    We are trying to use the Oracle VM Template for Oracle Solaris 10 Zone to create a solaris 10 zone on a solaris 11.1 GZ
    root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -v
    This is an Oracle VM Template for Oracle Solaris Zones.
    Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
    This software and related documentation are provided under a license
    agreement containing restrictions on use and disclosure and are
    protected by intellectual property laws. Except as expressly
    permitted in your license agreement or allowed by law, you may not
    use, copy, reproduce, translate, broadcast, modify, license,
    transmit, distribute, exhibit, perform, publish, or display any
    part, in any form, or by any means. Reverse engineering,
    disassembly, or decompilation of this software, unless required by
    law for interoperability, is prohibited.
    Version: 1.0.9.12
    root@exsolh0005:/opt/scripts# ./solaris-10u11-sparc -p /rpool -a 10.83.128.35/24 -i net6 -z testzone
    This is an Oracle VM Template for Oracle Solaris Zones.
    Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
    This software and related documentation are provided under a license
    agreement containing restrictions on use and disclosure and are
    protected by intellectual property laws. Except as expressly
    permitted in your license agreement or allowed by law, you may not
    use, copy, reproduce, translate, broadcast, modify, license,
    transmit, distribute, exhibit, perform, publish, or display any
    part, in any form, or by any means. Reverse engineering,
    disassembly, or decompilation of this software, unless required by
    law for interoperability, is prohibited.
    IMAGE: ./solaris-10u11-sparc
    ZONE: testzone
    ZONEPATH: /rpool/testzone
    VNIC: vnicZBI83273795
    IP ADDR: 10.83.128.35
    NETMASK: 255.255.255.0
    DEFROUTER: 10.83.128.1
    TIMEZONE: Europe/Copenhagen
    Checking disk-space for extraction
    Ok
    Extracting in /opt/scripts/bootimage.8Ham6r ...
    100% [===============================>]
    Checking data integrity
    Ok
    Checking platform compatibility
    The host and the image do not have the same Solaris release:
    host Solaris release: 5.11
    image Solaris release: 5.10
    Will create a Solaris 10 branded zone.
    Checking disk-space for installation
    Ok
    Installing in /rpool/testzone ...
    100% [===============================>]
    Attaching testzone
    Problem attaching testzone.
    More details in /var/sadm/install/logs/solaris-10u11-sparc.log
    Cleaning up and exiting.
    Friday, May 10, 2013 03:18:01 PM CEST: cleaning up
    root@exsolh0005:/opt/scripts#
    root@exsolh0005:/opt/scripts# cat /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:56 PM CEST] ==== Starting: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
    [Friday, May 10, 2013 03:17:56 PM CEST] Progress being logged to /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning datasets under rpool/testzone
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:17:56 PM CEST] Pinning rpool/testzone/rpool/ROOT/zbe
    [Friday, May 10, 2013 03:17:56 PM CEST] Log File: /var/log/zones/zoneadm.20130510T131756Z.testzone.attach
    [Friday, May 10, 2013 03:17:57 PM CEST] Converting detached zone boot environment 'zbe'.
    [Friday, May 10, 2013 03:17:57 PM CEST] Unmounting /rpool/testzone/root
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property zoned=on on rpool/testzone/rpool
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property canmount=noauto on rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:00 PM CEST] setting ZFS property mountpoint=legacy on rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:01 PM CEST] Mounting boot environment in rpool/testzone/rpool/ROOT/zbe-0 at /rpool/testzone/root (including child datasets)
    cannot open 'ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1': invalid dataset name
    [Friday, May 10, 2013 03:18:01 PM CEST] ERROR: refresh of ERROR: Error: Command <zfs list -H -o name -t filesystem -r rpool/testzone/rpool/ROOT/zbe-0> exited with status 1 failed
    [Friday, May 10, 2013 03:18:01 PM CEST] ERROR: Error: rpool/testzone/rpool/ROOT/zbe-0: No such dataset.
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning datasets under rpool/testzone
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT
    [Friday, May 10, 2013 03:18:01 PM CEST] Unpinning rpool/testzone/rpool/ROOT/zbe
    [Friday, May 10, 2013 03:18:01 PM CEST] Result: Attach Failed.
    [Friday, May 10, 2013 03:18:01 PM CEST] Exiting with exit code 254
    [Friday, May 10, 2013 03:18:01 PM CEST] ==== Completed: /usr/lib/brand/solaris10/attach testzone /rpool/testzone -c /opt/scripts/bootimage.8Ham6r/sysidcfg.testzone ====
    Looks like a script bug..
    Regards
    Claus

    Hello All,
    I would love to know if someone has a solution to this as I am seeing a similar issue with a slightly different setup.
    Solaris 8 and Netra 240. I get the same result with and without patches and finish scripts. After the jumpstart and the failed boot attempt from disk. I can boot from cd, copy the glm driver from the cd to disk, and then everything works as it should. Obviously this is not a solution but only a work around.
    Is it something to do with the SCSI hardware architecture used in the *240s?
    Edited by: Gareth_Mann on Oct 2, 2007 7:41 PM

  • "Creation of login object failed" after MAS generation

    Hi everybody,
    I am working on CRM Mobile Sales 5.0 SP6. I have performed the initial generation with the .NET Application Studio. It gave me 6 errors and some warnings. Now when I tried to logon my mobile client I 've got following error:
    "Creation of login object failed".
    Visual Studio is installed on partition "C:\Program Files\" and Mobile Sales on "D:\SAP\"
    Has someone any ideas? Thanks in advance,
    Mirko

    Hi Mirko!
    In your app you're calling unknown data structures. While generating the "compiler" read the names and want to create the relevant structures but the necessary data to do this are missing. You have to start fist the client console doing a complete meta data generation. If this runs without error your generation inside the studio will succeed, too.
    BTW: In your first posting you've written "D:SAP..." and in your last the error-message was "D:ProgrammeSAP..."...
    Perhaps different settings?
    Do you have made already a successful generation with the actual installation?
    Good luck,
    Ingo
    Message was edited by:
            Ingo Schmökel

  • Po Creation With Reference to contract

    Dear Experts
                       We are creating the purchase order with reference to contract the contract quantity not copied to po. it is asking to enter the qty. but it should copy the contract quantity. the same contract price also not copied to po. it is copying from the info record price.
    my scenario is at the time of po creation with reference to contract it should copy the contract qty and price any copy control assignment is there or any other settings required.
    Please help
    Regards
    Anand

    Hi,
    If a contract with one of your principal vendors exists for a material, you can create purchase orders referencing this contract. Purchase orders created in this way are called contract release orders.
    The price, vendor data,  terms of payment, delivery costs, and any instructions to the vendor are adopted from the contract automatically.
    If  you have created the contract & info records is also exists  then system will give priority to contract to determine the conditions.
    Please check the source list ,whether contract is maintained over there or not.
    Thanks,
    AMIT

  • Creation of login object failed

    Hi all,
    I've got a problem with the mobile client development.
    We are using the mobile client for many years and we even develop a lot with it, but now i have a problem never seen.
    After extending a bDoc and start testing the application, after the generation and login, system states "Creation of login object failed".
    So i did a full generation. Result the same.
    I debugged the ValidateLogin class and found out, that in the following statement is failing
           BOLOGIN = BusinessRootObject.BusinessFactory.LoadBusinessObject("LOGIN", determineUser)
    BOLOGIN is Nothing at the end. I tried out to create the Object via        BOLOGIN = BusinessRootObject.BusinessFactory.CreateBusinessObject("LOGIN")
    same result. Next i tried to create the BOACTIVITY and it failed as well. One day before everything was fine, even with changing business documents.
    The error in the VB.ERR object says:
    -     err     {Microsoft.VisualBasic.ErrObject}     Microsoft.VisualBasic.ErrObject
         Description     "In der Methode BusinessFactoryCore.LoadBusinessObject ist eine System-Exception aufgetreten"     String
         Erl     0     Integer
         HelpContext     0     Integer
         HelpFile     ""     String
         LastDllError     3     Integer
         Number     5     Integer
         Source     "MTBLLFW"     String
    Can anybody please give a hint.
    We are using CRM 5.0 SP7 and MSA SP7 on MS 2003 Server with local repository. DB is SQL2000.
    Yesterday i was releasing a changelist and now its no longer working at all, what a mess.
    Thanks to all,
    Andreas Rose

    Hi Andreas,
    The problem may be incorrect or corrupt ARSREP.DAT file.
    The reason may be that the BDOCs are not synched from MAS. Once you sync this through MAS you will find the *.bdoc files at the location
    mentioned under the registry key HKLM\SOFTWARE\SAP\MSA\MW\TL\BDocPath
    Usually this would be default as C:\Program Files\SAP\Mobile\tpsfiles.
    After this when you generate the BusinessLibrary the Arsrep.dat file
    will have the *.bdocs incorporated in the Arsrep.dat file.
    Hope this helps.
    Regards, Gervase
    ps. For synching the BDocs refer to SAP Note 942942

  • Creation of upgrade packages fails

    Dear all
    We did an upgrade from 4.0 to 2007, but now found out among other things that the MUP definition in the upgrade console was not updated. As such if we now want to create a new upgrade package with the predefined units (BOL, BDOc and UI) the creation of these units fails as some files are missing.
    Does anybody know: Were the units redefined when upgrading to 5.0? And if so, how can I get my hands on one of these as I do not want to try and build the UI and BOL packages myself from scratch.
    Thanks in advance,
    Kai

    Thanks Shankar,
    The not does not apply (as 2007 SP2 which we are on is 5.0SP11 and the note is SP09 only), but via connecting notes I found the note 1156416 (did not help) and finally 1171933 which provided the correct solution.
    Regards, Kai
    Edited by: Kai Blanke on Jan 16, 2009 10:35 AM
    Set question to solved

  • Service PO creation with BAPI

    Hi All,
    I have to create a file upload program to create service PO's with BAPI_PO_CREATE1. Please if anyone can give me a example of it it would be great.
    Thanks.
    Malinda

    Hi ,
           Check out this program .
    use this program for creating service po's using bapi.
    *& Report ZMM_PO_CREATE1 *
    REPORT ZMM_PO_CREATE1 .
    data : POHEADER like BAPIMEPOHEADER occurs 0 with header line,
    POHEADERX like BAPIMEPOHEADERX occurs 0 with header line,
    POITEM like BAPIMEPOITEM occurs 0 with header line,
    POITEMX like BAPIMEPOITEMX occurs 0 with header line,
    POESLLC like BAPIESLLC occurs 0 with header line,
    POACCOUNT like BAPIMEPOACCOUNT occurs 0 with header line,
    POACCOUNTX like BAPIMEPOACCOUNTX occurs 0 with header line,
    POCONDHEADER like BAPIMEPOCONDHEADER occurs 0 with header line,
    POCONDHEADERX like BAPIMEPOCONDHEADERX occurs 0 with header line,
    POCOND like BAPIMEPOCOND occurs 0 with header line,
    RETURN like BAPIRET2 occurs 0 with header line.
    data : po_no(10).
    data : begin of it_head occurs 0,
    ref(10),
    bsart like ekko-bsart,
    lifnr like ekko-lifnr,
    ekorg like ekko-ekorg,
    ekgrp like ekko-ekgrp,
    bukrs like ekko-bukrs,
    verkf like ekko-verkf,
    telf1 like ekko-telf1,
    ihrez like ekko-ihrez,
    unsez like ekko-unsez,
    kdatb(10),
    kdate(10),
    end of it_head.
    data : begin of it_det occurs 0,
    ref(10),
    knttp like ekpo-knttp,
    pstyp like ekpo-pstyp,
    txz01 like ekpo-txz01,
    matkl like ekpo-matkl,
    werks like ekpo-werks,
    afnam like ekpo-afnam,
    ktext1 like esll-ktext1,
    srvpos like esll-srvpos,
    frmval1 like esll-frmval1,
    frmval2 like esll-frmval2,
    menge like esll-menge,
    kostl like eskn-kostl,
    sakto like eskn-sakto,
    zzcode like eskn-zzcode,
    kbetr like konv-kbetr,
    end of it_det.
    data : c_col1 TYPE i VALUE '0001',
    c_col2 TYPE i VALUE '0002',
    c_col3 TYPE i VALUE '0003',
    c_col4 TYPE i VALUE '0004',
    c_col5 TYPE i VALUE '0005',
    c_col6 TYPE i VALUE '0006',
    c_col7 TYPE i VALUE '0007',
    c_col8 TYPE i VALUE '0008',
    c_col9 TYPE i VALUE '0009',
    c_col10 TYPE i VALUE '0010',
    c_col11 TYPE i VALUE '0011',
    c_col12 TYPE i VALUE '0012',
    c_col13 TYPE i VALUE '0013',
    c_col14 TYPE i VALUE '0014',
    c_col15 TYPE i VALUE '0015',
    c_col16 TYPE i VALUE '0016'.
    data : v_currentrow type i,
    v_currentrow1 type i.
    data : itab_head like ALSMEX_TABLINE occurs 0 with header line,
    itab_det like ALSMEX_TABLINE occurs 0 with header line.
    data : file_head type RLGRAP-FILENAME,
    file_item type RLGRAP-FILENAME.
    file_head = 'C:Documents and SettingsDesktophead.xls'.
    file_item = 'C:Documents and SettingsDesktopitem.xls'.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    filename = file_head
    i_begin_col = 1
    i_begin_row = 1
    i_end_col = 12
    i_end_row = 50
    tables
    intern = itab_head
    EXCEPTIONS
    INCONSISTENT_PARAMETERS = 1
    UPLOAD_OLE = 2
    OTHERS = 3
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    filename = file_item
    i_begin_col = 1
    i_begin_row = 1
    i_end_col = 16
    i_end_row = 50
    tables
    intern = itab_det
    EXCEPTIONS
    INCONSISTENT_PARAMETERS = 1
    UPLOAD_OLE = 2
    OTHERS = 3
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF itab_head[] IS INITIAL.
    WRITE:/ 'No Header Data Exists '.
    STOP.
    ELSE.
    sort itab_head by row col.
    read table itab_head index 1.
    v_currentrow = itab_head-row.
    loop at itab_head.
    if itab_head-row ne v_currentrow.
    APPEND it_head.
    v_currentrow = itab_head-row.
    ENDIF.
    CASE itab_head-col.
    WHEN c_col1.
    it_head-ref = itab_head-value.
    WHEN c_col2.
    it_head-bsart = itab_head-value.
    WHEN c_col3.
    it_head-lifnr = itab_head-value.
    WHEN c_col4.
    it_head-ekorg = itab_head-value.
    WHEN c_col5.
    it_head-ekgrp = itab_head-value.
    WHEN c_col6.
    it_head-bukrs = itab_head-value.
    WHEN c_col7.
    it_head-verkf = itab_head-value.
    WHEN c_col8.
    it_head-telf1 = itab_head-value.
    WHEN c_col9.
    it_head-ihrez = itab_head-value.
    WHEN c_col10.
    it_head-unsez = itab_head-value.
    WHEN c_col11.
    it_head-kdatb = itab_head-value.
    WHEN c_col12.
    it_head-kdate = itab_head-value.
    ENDCASE.
    ENDLOOP.
    APPEND it_head.
    CLEAR it_head.
    ENDIF.
    IF itab_det[] IS INITIAL.
    WRITE:/ 'No Item Data Exists '.
    STOP.
    ELSE.
    sort itab_det by row col.
    read table itab_det index 1.
    v_currentrow1 = itab_det-row.
    loop at itab_det.
    if itab_det-row ne v_currentrow1.
    APPEND it_det.
    v_currentrow1 = itab_det-row.
    ENDIF.
    CASE itab_det-col.
    WHEN c_col1.
    it_det-ref = itab_det-value.
    WHEN c_col2.
    it_det-knttp = itab_det-value.
    WHEN c_col3.
    it_det-pstyp = itab_det-value.
    WHEN c_col4.
    it_det-txz01 = itab_det-value.
    WHEN c_col5.
    it_det-matkl = itab_det-value.
    WHEN c_col6.
    it_det-werks = itab_det-value.
    WHEN c_col7.
    it_det-afnam = itab_det-value.
    WHEN c_col8.
    it_det-srvpos = itab_det-value.
    WHEN c_col9.
    it_det-ktext1 = itab_det-value.
    WHEN c_col10.
    it_det-frmval1 = itab_det-value.
    WHEN c_col11.
    it_det-frmval2 = itab_det-value.
    WHEN c_col12.
    it_det-menge = itab_det-value.
    WHEN c_col13.
    it_det-kostl = itab_det-value.
    WHEN c_col14.
    it_det-sakto = itab_det-value.
    WHEN c_col15.
    it_det-zzcode = itab_det-value.
    WHEN c_col16.
    it_det-kbetr = itab_det-value.
    ENDCASE.
    ENDLOOP.
    APPEND it_det.
    CLEAR it_det.
    ENDIF.
    loop at it_head.
    poheader-doc_type = it_head-bsart.
    poheader-vendor = it_head-lifnr.
    poheader-purch_org = it_head-ekorg.
    poheader-pur_group = it_head-ekgrp.
    poheader-comp_code = it_head-bukrs.
    poheader-sales_pers = it_head-verkf.
    poheader-telephone = it_head-telf1.
    poheader-REF_1 = it_head-ihrez.
    poheader-OUR_REF = it_head-unsez.
    poheader-VPER_START = it_head-kdatb.
    poheader-VPER_END = it_head-kdate.
    loop at it_det where ref = it_head-ref.
    poitem-acctasscat = it_det-knttp.
    poitem-item_cat = it_det-pstyp.
    poitem-short_text = it_det-txz01.
    poitem-matl_group = it_det-matkl.
    poitem-plant = it_det-werks.
    poitem-PREQ_NAME = it_det-afnam.
    POESLLC-SERVICE = it_det-srvpos.
    POESLLC-SHORT_TEXT = it_det-ktext1.
    POESLLC-FORM_VAL1 = it_det-frmval1.
    POESLLC-FORM_VAL2 = it_det-frmval2.
    POESLLC-QUANTITY = it_det-menge.
    POACCOUNT-COSTCENTER = it_det-kostl.
    POACCOUNT-GL_ACCOUNT = it_det-sakto.
    POCONDHEADER-COND_TYPE = 'R000'.
    POCONDHEADER-COND_VALUE = it_det-kbetr.
    endloop.
    endloop.
    poheaderx-doc_type = 'X'.
    poheaderx-vendor = 'X'.
    poheaderx-purch_org = 'X'.
    poheaderx-pur_group = 'X'.
    poheaderx-comp_code = 'X'.
    poheaderx-sales_pers = 'X'.
    poheaderx-telephone = 'X'.
    poheaderx-REF_1 = 'X'.
    poheaderx-OUR_REF = 'X'.
    poheaderx-VPER_START = 'X'.
    poheaderx-VPER_END = 'X'.
    poitemx-acctasscat = 'X'.
    poitemx-item_cat = 'X'.
    poitemx-short_text = 'X'.
    poitemx-matl_group = 'X'.
    poitemx-plant = 'X'.
    poitemx-PREQ_NAME = 'X'.
    *POESLLCx-SHORT_TEXT = 'X'.
    POACCOUNTx-COSTCENTER = 'X'.
    POACCOUNTx-GL_ACCOUNT = 'X'.
    POCONDHEADER-cond_type = 'X'.
    CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
    poheader = poheader
    POHEADERX = poheaderx
    POADDRVENDOR =
    TESTRUN =
    MEMORY_UNCOMPLETE =
    MEMORY_COMPLETE =
    POEXPIMPHEADER =
    POEXPIMPHEADERX =
    VERSIONS =
    NO_MESSAGING =
    NO_MESSAGE_REQ =
    NO_AUTHORITY =
    NO_PRICE_FROM_PO =
    IMPORTING
    EXPPURCHASEORDER = po_no
    EXPHEADER =
    EXPPOEXPIMPHEADER =
    TABLES
    RETURN = return
    POITEM = poitem
    POITEMX = poitemx
    POADDRDELIVERY =
    POSCHEDULE =
    POSCHEDULEX =
    POACCOUNT = poaccount
    POACCOUNTPROFITSEGMENT =
    POACCOUNTX = poaccountx
    POCONDHEADER = pocondheader
    POCONDHEADERX = pocondheaderx
    POCOND =
    POCONDX =
    POLIMITS =
    POCONTRACTLIMITS =
    POSERVICES = poesllc
    POSRVACCESSVALUES =
    POSERVICESTEXT =
    EXTENSIONIN =
    EXTENSIONOUT =
    POEXPIMPITEM =
    POEXPIMPITEMX =
    POTEXTHEADER =
    POTEXTITEM =
    ALLVERSIONS =
    POPARTNER =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT =
    IMPORTING
    RETURN =
    if sy-subrc = 0.
    loop at return.
    write return-MESSAGE_V1.
    write po_no.
    endloop.
    endif.
    Also check this link
    [Service Order through BAPI|Service PO creation with BAPI;

  • BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N

    Hi Everybody,
           We are in ECC 5.0 version.
           I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
           Is any BAPI available for this ?
           Any input on this will be very much helpfull.
           Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
           Thanks in advance.
    regards,
    Nagarajan.J

    Hi Nagarajan,
    The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
    The below is the sample code...
      data:lt_request      like bapideliciousrequest
                                    occurs 0 with header line,
           lt_createditems like bapideliciouscreateditems
                                    occurs 0 with header line,
           lt_return       like bapiret2
                                    occurs 0 with header line.
        lt_request-document_type      = 'A'.
        lt_request-document_numb      = vbeln.
        lt_request-document_item      = posnr.
      lt_request-material           = matnr.
      lt_request-plant              = werks.
      lt_request-stge_loc           = lgort.
      lt_request-quantity_base__uom = base_uom_qty.
      lt_request-delivery_date      = sy-datum.
      append lt_request.
      call function 'BAPI_DELIVERYPROCESSING_EXEC'
      EXPORTING
        DELIVERY_EXTEND       =
        TECHN_CONTROL         =
        tables
          request               = lt_request
          createditems          = lt_createditems
          return                = lt_return.
      loop at lt_return where type = 'A'
                          or  type = 'E'.
        exit.
      endloop.
      if sy-subrc <> 0.
    Use the BAPI for Commit
        call function 'BAPI_TRANSACTION_COMMIT'
             exporting
                  wait = 'H'.
      endif.
    Thanks
    Ramakrishna

Maybe you are looking for

  • Senario maping for sending goods for replacement

    Hi All, We have a senario to be mapped in SAP MM. We are into aircraft maintenence business. All our air craft are insured from tip to tail. If any of the part the aircraft shows any problem then it will be send to the OEM and shall be replaced by th

  • How to restore accounts and Mail?

    My Mail account suddenly disappeared (MacBook, 10.5.8, POP). So I reentered all the settings and logged in again. Many emails were missing so I deleted the Envelope file and restarted Mail. Now it is sort of back, but one of my accounts is missing, a

  • Install LaserJet P1102w on network error

    I am trying to enable my HP LaserJet P1102w printer to print wirelessly from my Chromebook.  I have successfully gotten the Chromebook to print while having my other computer connected - but would like to just print straight from the Chromebook.  I a

  • Object moving locked in marketing plan

    Hello, We have created a marketing plan with a specific nomenclature.Then we have released it so that the budget can be transfered to BW and then to R/3. But it shows the status as Object moving locked where as it should be with status approved and r

  • Upgrading WLC 4404

    I need to upgrade our Wireless Lan Controller to support new APs. I was able to get the new code due to a security advisory on the code we are running now. I am upgrading from 6.0.196.0 to 7.0.220.0 (MD). I have read in some of the technical docs tha