Calling L_TO_CREATE_SINGLE using NCO 3

I'm attempting to programmatically invoke the L_CREATE_TO_SINGLE to emulate an LB12 command after successfully calling a BAP_GOODSMVT_CREATE to retreive a document no. Although the method returns me a TO number it doesn't appear to link back to the material document number leaving a quantity of material in UML_ZONE. I guess I'm missing some inportant parameter(s). To assist here's a fragment of the code I'm using:
// Connect to Sap using appropriate config key
RfcDestination destination = RfcDestinationManager.GetDestination(Destination);
// Create L_TO_CREATE_SINGLE function
IRfcFunction function = destination.Repository.CreateFunction("L_TO_CREATE_SINGLE");
// Set Import Parameters
function.SetValue("I_BNAME", sapUsername);
function.SetValue("I_LGNUM", warehouse);
function.SetValue("I_WERKS", plant);
function.SetValue("I_MATNR", materialNo);
function.SetValue("I_ANFME", qty);
function.SetValue("I_BWLVS", movementType); /
function.SetValue("I_BESTQ", stockCategory);
function.SetValue("I_SOBKZ", specialStock);
function.SetValue("I_SONUM", specialStockNumber);
function.SetValue("I_VLTYP", sourceStorageType);
function.SetValue("I_VLPLA", sourceStorageLoc);
function.SetValue("I_NLTYP", destinationStorageType);
function.SetValue("I_NLPLA", destinationStorageLoc);
// Add Document no. to table T_LTAK
IRfcTable Tbl = function.GetTable("T_LTAK");
Tbl.Append();
Tbl[0].SetValue("LGNUM", warehouse);
Tbl[0].SetValue("BNAME", sapUsername);
Tbl[0].SetValue("MBLNR", docNumber);
Tbl[0].SetValue("MJAHR", docYear);
// Invoke the function
function.Invoke(destination);
// Retrieve the TO Number
ResultDTO.TONumber = Tbl[0].GetValue("TANUM").ToString();
The move in question is an on hand stock to floor stock move. Any help would be greatly appreciated.
Thanks in advance

Hi,
Please check the WM config for the Warehouse / Movement type(Tx. OMLX) . There we have option to give as immediate confirmation. This may be the reason for TO getting confirmed when created.
U can this by creating a transfer order for the same movement type manually in TX. LT03. After you save if the To is confirmed then its a config setup @ Warehouse / Movement type.
Regards,
Bhargava

Similar Messages

  • Incoming calls not using Bluetooth / Music tracks repeating

    I've been having a problematic issue with Bluetooth since upgrading to iOS 7. I have my iPhone 5 paired with my 2013 Hyundai Elantra's Bluetooth system.
    Outbound calls use Bluetooth just fine, as does Siri, but any incoming calls all use my iPhone's headset by default. I have to manually switch the phone's output back to my car's bluetooth in order to talk using my car's hands-free system... which really defeats the purpose of hands-free.
    I'll note that this is happening both when my iPhone is plugged in via USB and listening to music on the car's stereo, as well as when the iPhone is simply idle in my pocket. I have not tested what happens when the car is playing my iPhone's music via Bluetooth (the audio quality is sub-par to a direct connection and doesn't display the artist/track/album on the console when playing via Bluetooth - ergo I rarely use it)
    Secondly, I am having another issue, this time with playing music. I don't believe it's related to the above Bluetooth issue, but it may be related to my car.
    Like I said above, I often use my Elanta's USB port to directly plug in my iPhone so I can a) listen to music on the car's stereo and b) skip tracks with the wheel-mounted controls. This all worked flawlessly with iOS 6.
    Now, if I skip a track with my car's controls, the Music app will repeat that next track... over and over. When the song is completed, it will attempt to move on to the next song, then immediately backtrack and start playing the previous song again (you can tell so by watching the Music app. The album art will swipe over, then quickly swipe back). I have to manually skip forward to play a new song... Highly irritating.
    I'll also note that skipping songs via the wheel-mounted controls is considerably slower than it was with iOS 6. It's definitely a couple seconds after I press a button before the next song starts to play. It used to be near-immediate.
    Anyone else having either of these issues? Hopefully it's something Apple picks up on and fixes soon!

    Don't know if you got this yet, but I came here looking for answer. Since I just found one, figured I'd pass it on for others:
    You have to set your phone's incoming calls to "headset" under accessibility. (Silly, I know, considering, if you hook up a bluetooth, it should automatically default there, but no ...) This walks you through:
    http://www.imore.com/how-set-default-call-answer-mode-iphone

  • Cannot receive calls when using Edge network for data?

    Hi,
    This afternoon someone was trying to reach me urgently and all her calls to my iPhone went straight into my voicemail. My phone never rang and never showed missed calls.
    I spoke to Aaron at Apple, thinking there might be a problem with my phone, and he told me that when the Edge network is in use, then the phone will not ring and calls will be routed straight to voicemail.
    Is this really expected behavior? I was not aware of it.
    iPhone 8GB    

    This has nothing to do with EDGE all other phones will notify you and pause the connection. i posted about this 2 days ago but the thread got deleted.
    here is a video that proves this, the noise is from the GSM but the user is clearly on the edge network.
    http://youtube.com/watch?v=NMm2AY-_TTY
    this is from Tier 2 suport at Apple.
    Everyone having this issue should call 1-800-MY iPhon. Ask to speak to Tier II support, the person you get may try to help, and may need to give you a case number. You'll probably have to wait a while on hold.
    I just spent an hour on the phone with Tier I & II. The tier I guy started by saying that when you use EDGE it will always go to voicemail. I told him, I was on a user forum & some people said they don't have the issue. He then tested it on his phone & experienced the direct to v-mail issue. We talked about how this was a real problem & how both of our nokia phones didn't have this issue (he actually had the E-61 also). He gave me a case number & transferred my to tier II. The tier II guy told me that this was a software issue. That a pop-up needs to be designed into the software to allow the user the option to disconnect the data connection & accept the voice call, or not. I told him that I'd read on a user forum that some users get voice calls while using EDGE. He said that if they are using you tube the call will automatically interrupt & switch out of you tube. We then tested this on my iPhone & it worked (i.e. the call interupted you tube). He said the software currently decides to disconnect data or send calls to voice mail during EDGE transmissions based on what the user is doing. Phone calls take priority over you tube & widgets (stock & weather)but safari and e-mail take priority over phone calls. He said the thought was, it would be more annoying to users to be in the middle of sending an e-mail and having mail disconnected for a phone call, than having the call go to voicemail. The ideal solution is to have a choice (like other phones allow) but right now the iPhone software does not have a pop-up designed allowing the user to accept the call or keep the data connection. (He seemed to be familiar with this on other phones while being tethered to a macbook to use their data connections & getting voice calls during downloads).
    He said he was submitting this to the engineering group & said the more people that call tier II about this & submit it as an issue via online feedback, the higher priority it will get to be addressed in the first software update. So if you want to see this fixed start calling and submitting the issue http://www.apple.com/feedback/iphone.html in as much detail as possible (specifically say that other existing phones Nokia S60s etc. have this function).
    and here is a thread that is discussing this serious problem. note it is now many pages long.
    http://www.howardforums.com/showthread.php?t=1197377

  • When I call someone using FaceTime from my mac, they can see me but no hear me. Is there something I need to do to make this happen? I also have an iPad 2 and FaceTime works great on it if I call somebody. Why no sound from my mac FaceTime using a mac pro

    When I call someone using FaceTime from my mac, they can see me but not hear me. Is there something I need to do to make this happen? I also have an iPad 2 and FaceTime works great on it if I call somebody. Why no sound from my mac FaceTime using a mac pro and isight camera, mike combo.
    If I use google it works. If I use Ichat, it works. If I use skype it works.

    This sounds like something similar to https://discussions.apple.com/thread/3388112?start=105&tstart=0.
    Try turning down the speak volume (System Preferences->Sound->Output->Output Volume)  or the microphone gain (System Preferences->Sound->Input->Input Volume). Do this on both sides of the call.

  • Is there a way to hang up call without using the touchscreen?

    I'm using an HP Veer 4G.  In the wintertime, when I need to wear gloves, I'm wondering how I will handle calls without using the touchscreen.
    I've figured out most of the process:  hold down the volume down button for a couple of seconds to load the Voice Dial app, then speak the name of the person I want (which has worked flawlessly for me so far!) and then I'm connected.
    The problem I'm having is how to hang up without using the touchscreen.  If someone answers the call, that's no problem because I can just wait for them to hang up.  But if I get their voicemail then what?  I thought I'd be clever and use my nose, but the sensors black the screen out so that doesn't work.  How are people ending calls without taking their gloves off?
    Post relates to: HP Veer p160una (AT&T)

    Hello!
    Unfortunately this is the trade with using capacitive touchscreen
    HP has logged this in its software issue tracking system. We endeavor to continuously improve our software quality and thank you for bringing this to our attention.  We are grateful to the community and will evaluate options based on customer feedback and software best practices.
    In mean time, there is a patch in the homebrew community that allows closing the slider to drop calls and can check more into that via precentral.net

  • My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay in store?

    My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay for repairs in store because I didnt get the Apple care plan when I purchased it. Sprint said it may be a phone problem not sure if I should take it to Sprint or Apple...I just need my phone

    I'm sorry to learn that you are not able to make/receive calls chelseabee! (ticket number removed) results indicate that there is no issues with the network or account provisioning. Since you have already done a hard reset http://vz.to/1gBkSJc (as per your post), I recommend exploring replacement options. If your phone is within the one year manufacturers' warranty we can provide a Certified Like New replacement http://vz.to/uyYF0o as long as no physical/liquid damage exist. If your phone has sustained physical/water damage and you have insurance, you can submit a claim to the insurance company online at this link http://bit.ly/07CrqPK
    AntonioC_VZW Follow us on Twitter at www.twitter.com/VZWSupport
    >> Edited to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • Error  while  calling badi using class cl_exithandler with getInstance

    hi experts...we are using SAP ECC 6.0  version
    I have created  BADI Def   and  Implementation using  se18   and se19 with some interface methods..
    Problem:
    I'm writing  a report to call  that using  class CL_EXITHANDLER but it shows an  Exception..
    " Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised."
    Report example:
    DATA: CL_EXIT  TYPE REF TO CL_EXITHANDLER,
          IF_USER_INSTANCE TYPE REF TO ZIF_EX_USER_MAILID1.
    CALL METHOD cl_exithandler=>get_instance
      EXPORTING
       EXIT_NAME                       = 'ZBADI_USERMAIL_DEF'
    *    NULL_INSTANCE_ACCEPTED        = SEEX_FALSE
    *  IMPORTING
    *    ACT_IMP_EXISTING              =
      CHANGING
        instance                       = IF_USER_INSTANCE
    *  EXCEPTIONS
    *    NO_REFERENCE                  = 1
    *    NO_INTERFACE_REFERENCE        = 2
    *    NO_EXIT_INTERFACE             = 3
    *    CLASS_NOT_IMPLEMENT_INTERFACE = 4
    *    SINGLE_EXIT_MULTIPLY_ACTIVE   = 5
    *    CAST_ERROR                    = 6
    *    EXIT_NOT_EXISTING             = 7
    *    DATA_INCONS_IN_EXIT_MANAGEM   = 8
    *    others                        = 9
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    so i found that all  EXITs  are in the Table " SXS_ATTR" 
    but  what i have created BADI  has not exist  in that Table so that  it gets  an  Exception(while i'm debugging found this)
    so kindly tel me whats problem my BADI "ZBADI_USERMAIL_DEF"  not maintained that  Database table
    but  in Implentation class  its working fine..

    yes i have created  badi  in  Enhancement spot so  regarding what u told i'm using  GET BADI  and CALL BADI
    DATA:W_HANDLE TYPE REF TO ZBADI_USERMAIL_DEF.
    GET BADI W_HANDLE.
    CALL BADI w_handle->get_user_mailid
      EXPORTING
        uname  = UNAME
      changing
        mailid = W_EMAIL
    WRITE: / 'UNAME:',UNAME.
    WRITE: / 'EMAIL ID',W_EMAIL.
    CALL BADI w_handle->get_user_address_data
      EXPORTING
        uname    = UNAME
      changing
        addrdata = W_ADDRDATA
    IF W_ADDRDATA IS NOT INITIAL.
      WRITE: / W_ADDRDATA-BNAME,W_ADDRDATA-NAME1,W_ADDRDATA-NAME2,W_ADDRDATA-TELPR,W_ADDRDATA-TELNR,W_ADDRDATA-TEL01.
    ENDIF.
    but  here  BADI  are not  called 
    Interface implementation class methods  not  executed  so kindly tel me whats problem here.
    Thanks in Advance
    sivakumar

  • Call transaction using bdc tab and also skip first screen??

    Hi,
    Please help.
    I want to call transaction PA30 fill it with values which are determined only at runtime and then skip first screen.
    The screen doesn't have parameter fields so i cannot use 'set parameter id'.
    I also cannot create a transaction with parameters as I only have these at runtime.
    Anyone done anything like this???

    hi,
      you might be populateing the itab bdc_tab with the corresponding values fronm the recording.
    while doing the recording go until to the screen wher u want to finsih.
    and populate the bdc_tab wit the ok code,screen number and the value.
    this will do.
    for eg see the code below.
    METHOD analyze_log.
      DATA : wrk_extid TYPE balhdr-extnumber.
      DATA : wrk_date(10) TYPE c.
      DATA : it_rspar TYPE TABLE OF rsparams .
      DATA : wa_rspar TYPE rsparams.
      DATA: it_bdcdata TYPE STANDARD TABLE OF bdcdata,
          wa_bdcdata TYPE bdcdata.
      DATA: params TYPE ctu_params.
      CONSTANTS : object TYPE balhdr-object VALUE 'ZKIV_LOG'.
      IF wa_kopf-vertr_nr IS NOT INITIAL.
        CONCATENATE wa_kopf-vertr_nr '/' wa_kopf-nachtr_nr  INTO wrk_extid.
        wrk_date = '01.09.2006'.
        SET PARAMETER ID 'BALOBJ' FIELD object .
        SET PARAMETER ID 'BALEXT' FIELD wrk_extid.
        wa_rspar-selname = 'ALDATE'.
        wa_rspar-sign = 'I'.
        wa_rspar-kind = 'P'.
        wa_rspar-option = 'EQ'.
        wa_rspar-low = wrk_date.
        APPEND wa_rspar TO it_rspar.
      ELSE.
        CLEAR wrk_extid.
        SET PARAMETER ID 'BALEXT' FIELD wrk_extid.
      ENDIF.
    Update BDC tab
    --Call SLG1 using BDC--&
      params-dismode = 'E'. "Show errors only
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = 'SAPLSLG3'.
      wa_bdcdata-dynpro   = '0100'.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_CURSOR'.
      wa_bdcdata-fval = 'BALHDR-ALDATE'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BALHDR-ALDATE'.
      wa_bdcdata-fval = wrk_date.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_OKCODE'.
      wa_bdcdata-fval = '=SELE'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = 'SAPLSLG3'.
      wa_bdcdata-dynpro   = '0100'.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_OKCODE'.
      wa_bdcdata-fval = '=&F03'.
      APPEND wa_bdcdata TO it_bdcdata.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = 'BDC_SUBSCR'.
      wa_bdcdata-fval = 'SAPLSBAL_DISPLAY                        0101SUBSCREEN'.
      APPEND wa_bdcdata TO it_bdcdata.
      CALL TRANSACTION 'SLG1' USING it_bdcdata OPTIONS FROM params.
    --End of BDC--&
    ENDMETHOD.
    here wat i m doing is that i dont want the subscreen 101 to be displayed..
    Message was edited by:
            Sandeep S

  • Since i have updated to IOS 7.1 my phone no longer can make calls, connect using 3G or send text messages. can someone help please?

    since i have updated to IOS 7.1 my phone no longer can make calls, connect using 3G or send text messages. has anyone else had this trouble? i've tried resetting the phone, but had no luck. i can recieve calls and texts, but cannot make calls, text or use the 3G.
    please can anyone help?

    Yes! All the above. I have to buy a new phone. I contacted my phone company and there is nothing they can do 

  • HT201401 My iPhone3GS has started crashing. I'll be mid-phone call, or using an app, when the screen will go dark. I have to restart it. Then it shows low battery sign (even though it was 100%). Within 1 minute of charging, iphone starts. Pl. resolve.

    My iPhone3GS has started crashing. I'll be mid-phone call, or using an app, when the screen will go dark. I'll have to do a restart. It dumps to the warning screen that there's no power and needs to be plugged in.
    Once I connect the phone to a power source, in a couple of minutes it's ready to roll again, and displaying a "full battery" icon.
    The phone is almost always fully charged when this happens, and I don't get a crash when the phone is plugged into a power source.
    Took my iphone to apple store, they informed that battery is very good and there is no need for replacement. Might be there is a problem with iphone motherboard. But they can't repair it as my 3GS crossed warranty.
    Where should I go to repair this. Within 2 years...this 32GB 3GS is almost garbage for me with no support from apple. I am ready to send it to apple for repairs and pay the repair charges.
    I tried everything... deep reset ... factory settings .... nothing is working... Apple staff pl. take care of your customers ...

    This is a User to User Forum... You are Not Addressing Apple here...
    iPhone User Guide
    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • How to call serlvet using ftp protocal

    Hai,
    How to call servlet using ftp protocal . if any one having please send that program . because generic servlet will receive any protocal request .

    The basics are to have your Server listen to port 21.
    You would then have to parse the request information to determine what is being asked for and generate an appropriate response.

  • Error trying to call channel using accessor

    Hello All,
    Messages are failing while accessor is trying to call channel
    Please help me figure out a fix for the problem. Hope that the following trace information helps.
    <Trace level="1" type="T">Interface Mapping http://imprintlabs.com/I33A_Goods_Receipt/XI IM_A1_ZWMMBIDMASS01_to_SCPM_ZWMMBIDMASS01</Trace>
      <Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="1" type="T">ValueMapping Exception - List ID 44 not found in the Integration Directory Value Mapping Table.</Trace>
      <Trace level="1" type="T">Turn on Logging.</Trace>
      <Trace level="1" type="T">Hash is null - need to lookup values from DB</Trace>
      <Trace level="1" type="T">Exception: trying to get System Accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
    <Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_A1_ZWMMBIDMASS01_to_SCPM_ZWMMBIDMASS01_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZWMMBIDMASS01/IDOC/EDI_DC40/SERIAL. The message is: Exception:[java.lang.RuntimeException: stdLookup- Unable to get lookup values] in class
    com.sap.xi.tf._MM_A1_ZWMMBIDMASS01_to_SCPM_ZWMMBIDMASS01_ method
    Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
    - <Trace level="1" type="B" name="interface activity determination">
      <Trace level="1" type="T">Version 006</Trace>
      <Trace level="1" type="T">Message status 012</Trace>
      <Trace level="1" type="T">Interface action ARCH</Trace>
      <Trace level="1" type="T">(must be INIT for a new determination)</Trace>
      <Trace level="1" type="T">Set interface action ARCH into MAST</Trace>
      </Trace>
      </SAP:Trace>
    regards,
    Roshni

    Hello Ramesh/Satish
    The payload was processed and this time the message got through. The value mapping exception did occur, but it there was no System Accessor Error.
    Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="1" type="T">ValueMapping Exception - List ID 44 not found in the Integration Directory Value Mapping Table.</Trace>
      <Trace level="1" type="T">Turn on Logging.</Trace>
      <Trace level="1" type="T">Hash is null - need to lookup values from DB</Trace>
      <Trace level="1" type="T">Content Type text/xml</Trace>
    Although the problem has been resolved I still wonder what caused the accessor error.

  • Problem in calling webservice using https from livecycle designer

    I  want to call a webservice written in .net(c#) using https  from livecycle  designer.I can call webservice using http ,but when i try with https it is  failing.If there any special configuration have to do in server for this ?I have  already put crossdomain in server.
    Waiting  for your reply
    thank's

    How did you call from LC? Please help me out either one is fine to me http or https
    Srujan

  • Problem when call rfc using function control

    i try to call rfc using functin control but error "wdtfuncs error '800a03eb' Fail to call Remote Function Module" be popuped.
    my code like that:
    Set objSAPFunction = Server.CreateObject("SAP.Functions")
              Set objSAPFunction.Connection = objSAPConn.NewConnection
              IsLogOnSAP = False
              If objSAPFunction.Connection.Logon(1, True) Then
                   IsLogOnSAP = True
                   'Upload Cancel Invoice
                  Set objFunc = objSAPFunction.Add("ZRFC_SD_BILLINGDOC_GET1")
                   Set objISGR1 = objFunc.exports("DOCUMENT")
                   Set objISGR2 = objFunc.exports("COMPANYCODE")
                   Set objISGR3 = objFunc.exports("YEAR")
                   set objOSGR1 = objFunc.imports("NETVALUE")
                   set objOSGR2 = objFunc.imports("CURRENCY")
                   set objOSGR3 = objFunc.imports("DATE")
                   set objOSGR4 = objFunc.imports("CUSTOMERCODE")
                   set objOSGR5 = objFunc.imports("CUSTOMERNAME")
                   objISGR1.value = cstr(doc)
                   objISGR2.value = cstr(companycode)
                   objISGR3.value = cstr(year)
                   bResult = objFunc.Call          <<<<< Error
                   GetDataFromSAP = Array(cstr(objOSGR1),cstr(objOSGR2),cstr(InvDateFormat(objOSGR3)),cstr(objOSGR4),cstr(objOSGR5))
                   If IsLogOnSAP Then
                             objSAPFunction.Connection.Logoff
                        End If
              End If
    These code can run on the A machine, but do not run on the B machine. And both two machines have been installed SAP FrontEnd.
    which problem about it?

    To change all definition of parameters of the function from type to like may be solution.

  • Message type in BDCMSGCOLL Structure in Call transaction using BDCDATA

    Hi,
    We are facing issue while capturing message in BDCMSGCOLL structure in Call transaction using bdcdata. The message which are like
    Message 'Message Text' Type 'S' Display LIke 'E' .
    This message is captured as Success on the Message structure instead of error & user are asking to update it as Error as it is looking like Error message to the end user.
    Please provide resolution to the issue.
    Regards,
    Kapil

    Hi Venkat,
    I am not doing any upload, i am just doing a replay of the transaction ME21 & in that there are many error message which encounter while creating a PO but when i have check the logic , they are basically a success message which are display like Error so when i have called ME21 transaction using below statement
    call transaction ME21 using BDCDATA
                                            into messages bdcmsgcoll.
    I am getting the message as success only since the message are of type success but as they are display like E , so user want that in msgcoll structure these messages must be shown as Error.
    Regards,
    Kapil.

Maybe you are looking for