Posting Error using BADI

Hi,
I had Implemeted the badi for third party payments.If i use a single wage type with multiple payee keys it is working.if I use multiple
wage types with multiple payee keys it is considering the first wage type with multiple payee keys.
Thanks
Sasikanth

Hi,
Can you please post your code to have a better understanding of problem ?
KR Jaideep,

Similar Messages

  • POST errors need help

    Can any one tell me what the POST error of 2 beeps pause 1 beep is realted to? The system begins to boot flashes video, video shuts off, cmos info flashes shuts off and give post error.

    Use just one stick of RAM in a green slot. Reset the Bios and be sure the machine is not pluged in when you do those things.
    Remove all unneeded hardware so that you don't have stuff in the box when you try to boot that is not needed to post.
    Find out which Bios you have when the screen first comes up.
    You need to know which CPU core you have. If it is a Clwhammer, Newcastle or Winchester then you need Bios version 3.3 If it is a San Diego, Venice or X2 then you need Bios version 9.1.
    Now that you have a system with the correct Bios you can then install your RAM in slots 2 and 4. You should then get a post into dual channel mode.
    Set in Bios first - Optimized Defaults. Make sure that you do not skip this step.
    Now setup the Bios to match the gear in the box. No overclockinmg as yet.
    Now get Windows cleanly installed with any drivers you may need.
    Now you are ready to install those other items you have in your hot little hands. One at a time.

  • Error While Posting documents using F-28

    Dear Friends,
                            While posting Documents using 'F-28' after I passed posting key and account number I m getting the Error
    'Entry not Possible'. Can anyone tell what may be the problem how to clear this error.
    Regards
    Balamurugan N
    Moderator message: duplicate post locked, follow up on your previous one instead of opening a new thread for the identical problem.
    Edited by: Thomas Zloch on Apr 26, 2011 8:34 PM

    Hi,
    I Guess this error is occuring because of the posting key and account number (Account type) combination is not correct. For each account type a perticular posting is is defined for debit and credit entries.
    Check with your functional the correct posting key for account type and account number you are using.

  • "Submission status" error while posting comments using evcom

    Hi friends,
    I am  getting "Submission status" error while posting comments using evcom. This error comes up even when we use "post comments" option in Action Pane.
    The error text goes like this :
    Error Message -
    This cell can not be updated.  Submission status must be modified to allow changes.
         010_000|2009.TOTAL|INTERCO|NOPC
    How can we get rid of this error?

    That's means the status for that specific category, time entity is approved and you can not do any changes including
    comments chnages.
    You have to change first the work status for that entity and after that you will be able to submit your comments.
    Regards
    Sorin radulescu

  • Display error message in WEBUI using BADI - ORDER_SAVE-CHECK_BEFORE_SAVE

    Hi,
    I am trying to display error message using BADI - ORDER_SAVE (Method-CHECK_BEFORE_SAVE) based on certain conditions when the document is saved from WEB UI.
    I have written it like below:
    If (some conditions).
    Message E000 with 'Error in SAVE' RAISING DO_NOT_SAVE.
    endif.
    I mentioned my message class everything in class, and it is fine.
    However, it is not displaying my error message. It is displaying standard information message saying "Document Could not be saved'.
    Could you please help me out, how can I display my custom message.
    Thanks,
    Sandeep

    Hi Sandeep,
    U can use FM to raise a message from order save badi.
    Inside the if condition, u can raise do_not_save.
    If (some conditions)
          CALL FUNCTION 'CRM_MESSAGE_COLLECT'
            EXPORTING
              iv_caller_name = 'ORDERADM_H'
              iv_ref_object  = iv_guid
              iv_ref_kind    = 'A'
              iv_msgno       = '000'
              iv_msgid       = 'zcrm'
              iv_msgty       = 'A'
              iv_msgv1       = c_text1
              iv_msgv2       = c_text2
              iv_msgv3       = c_text3
            EXCEPTIONS
              not_found      = 1
              appl_log_error = 2
              OTHERS         = 3.
          IF sy-subrc NE 0.
          ENDIF.
          RAISE do_not_save.
    ENDIF.

  • Error out from MB01 and MIGO when using BADI "INSPECTIONLOT_UPDATE"

    Hi all:
    We are currently implementing Quality Level with Dynamic Modification Rule using SAP Quality Management module.
    We are trying to change stage level by modifying the field PRSTUFENAE of the table QDQL (Material Quality Level) using BADI: INSPECTIONLOT_UPDATE, new logic is successful for a goods receipt with a single lot if we use COMMIT WORK within BADI, but an error occurs from MB01 and MIGO when we are receiving multiple lots in same goods receipt.
    Have anyone else got across something similar?
    Thank you in advance,
    Regards
    Daniel Guillen

    Hi Paul,
    First of all, there is a How To Guide for RUNLOGIC implementation. It uses BAdI approach as well, but doesn't call WRITE_BACK that can change from version to version.
    Second, you should be able to see that method GET_DELTA is being called under
    IF D_CALC_DELTA eq abap_true and df_bw_delta eq abap_false.
    D_CALC_DELTA is set to TRUE only in Method WRITE_BACK_INT; I hope you aren't using that one.
    DF_BW_DELTA is taken from DM Package parameters. Can you check what you have there or put just a break-point in PACKAGE_LOGIC_1 to see what value those 2 variables have?
    Hope this helps,
    Gersh

  • Error 0x000012f bad image

    Hi all, need help .
    I already upgrade win 8  single language to win 8.1 single language, the problem is, error 0x000012f bad image appear when I login the windows mention this error for sync with One Drive Microsoft and will appear when I use Adobe Acrobat Reader to print
    an pdf file. I have search about this error but all the solution not help me to solve this problem. anyone can help me ... ??
    Pls tell me when u no the answer

    They'll help you over here.
    http://answers.microsoft.com/en-us/windows/forum/windows8_1?tab=Threads
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Workflow manager IIS site throws a 403 Forbidden error and published workflows throw an error 400 bad request

    Hello All , Request your help on the below issue ,
    We have a single server farm SP 2013 where workflow was working as expected but its broken now , Not sure
    what caused this. Workflow manager is installed alongside Service Bus. Workflow Manager client is installed on the same SP server.
    We are able to create and publish the workflows from SP Designer without errors but when we start the workflow from SharePoint list we get an error " Sorry something went wrong". We have tried creating new workflows but the same problem.
    We receive the below error in event viewer.
    Error processing management request. Method: PUT, RequestUri: http://server URL:12291/$Workflows/89c767d2-82d2-4bd9-8e5e-dcace81d844f, Error: System.ArgumentException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException:
    The remote server returned an error: (400) Bad Request.
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.ServiceBus.Messaging.ServiceBusResourceOperations.GetAsyncResult`1.EndGetResponse(GetAsyncResult`1 thisPtr, IAsyncResult ar)
       at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
       --- End of inner exception stack trace ---
    Server stack trace: 
    Exception rethrown at [0]: 
       at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Workflow.Gateway.HttpAsyncResult.End[TAsyncResult](IAsyncResult result)
       at Microsoft.Workflow.Gateway.WorkflowServiceGateway.<>c__DisplayClass6a.<EndCreateOrUpdateWorkflow>b__69()
       at Microsoft.Workflow.Gateway.WorkflowServiceGateway.ExceptionFilter[T](Func`1 body)
       at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
    ULS logs give below error 
    Error 1 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: Servername.
    Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
     at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)    
     at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)    
     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)     -
     -- End of inner exception stack trace ---    
     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)    
     at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)    
     at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)    
     at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext) StackTrace: 
     at Microsoft.Office.Server.Native.dll: (sig=35339f9c-8871-4ef1-9118-9c1bd0cb6598|2|microsoft.office.server.native.pdb, offset=131CE)
     at Microsoft.Office.Server.Native.dll: (offset=21B4D)
    Error 2 - Error publishing workflow subscription (republish or retry publish) information: Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received
    from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId:
    ServerName. Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500)
    Internal Server Error.    
     at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)    
     at Microsoft.Workflow.Client.HttpGetResponseAsyncResult`1.End(IAsyncResult result)    
     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)     -
     -- End of inner exception stack trace ---    
     at Microsoft.Workflow.Client.ClientHelpers.SendRequest[T](HttpWebRequest request, T content)    
     at Microsoft.Workflow.Client.WorkflowManagementClient.SendRequest[T](HttpWebRequest request, T content)    
     at Microsoft.Workflow.Client.WorkflowManager.Publish(WorkflowDescription description, Boolean terminateActiveInstances)    
     at Microsoft.SharePoint.WorkflowServices.FabricWorkflowManagementClient.PublishWorkflow(String serviceGroupName, WorkflowDescription workflow)    
     at Microsoft.SharePoint.WorkflowServices.WorkflowProxy.CreateDefinitionSubscription(String subscriptionName, String eventSource, List`1 eventTypes, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)    
     at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.<>c__DisplayClass1.<CreateDefinitionSubscription>b__0()    
     at Microsoft.SharePoint.WorkflowServices.WorkflowServiceContextExtensions.InvokeWithEcosystemRetry(WorkflowServicesContext context, EcosystemRequiredMethod method)    
     at Microsoft.SharePoint.WorkflowServices.FabricSubscriptionService.CreateDefinitionSubscription(String subscriptionName, Guid eventSourceId, String eventSource, List`1 eventNames, String definitionName, IDictionary`2 metadata, WorkflowEventContext eventContext)
     at Microsoft.SharePoint.WorkflowServices.WorkflowSubscriptionStorageEventReceiver.ItemUpdating(SPItemEventProperties properties)
    Error3 - Microsoft.Workflow.Client.InternalServerException: An internal error occured. For more details, please see the server logs. HTTP headers received from the server - ActivityId: ba6e77cb-aaae-41a0-9cc8-1ea817d0045e. NodeId: ServerName.
    Scope: /SharePoint/default/bc694777-7bbb-473e-ab2d-20087221a97a/5229793b-31a1-44b1-9b0b-374f38b762fd. Client ActivityId : a6daec9c-7139-7034-b4ee-edeb1f96ec2a. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
     at  SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-182846760-3036401646-508972453-351846, AppPrincipalName= ,bstrUrl=http://sharepointsite ,bstrListName={48A21758-9123-48F0-9BDE-9EB632B07BC6} ,bAdd=False ,bSystemUpdate=False ,bPreserveItemVersion=False
    ,bPreserveItemUIVersion=False ,bUpdateNoVersion=False ,pbstrNewDocId=00000000-0000-0000-0000-000000000000 ,bHasNewDocId=False ,bstrVersion=16 ,bCheckOut=False ,bCheckin=False ,bUnRestrictedUpdateInProgress=True ,bMigration=False ,bPublish=False ,bstrFileName=<null>
    Any help appreciated. Thanks in advance.

    Hi,
    As I understand, you encountered the issue when you published a workflow on SharePoint 2013 workflow platform.
    I wonder does it work well before when using 2013 workflow platform? If it works before, did you install any updates or change the configuration to the workflow related settings?
    If this is the first time after you installed workflow manager 2013, then I’d recommend you try re-registering workflow service per the link below and post the result:
    http://technet.microsoft.com/en-us/library/jj663115(v=office.15).aspx
    http://technet.microsoft.com/en-us/library/jj658588(v=office.15).aspx
    From the message you accessed workflow host uri, please make sure the account to wfsetup and wfservice account are both in wfadmins group.
    http://blogs.msdn.com/b/briangre/archive/2013/02/20/least-privilege-configuration-for-windows-azure-workflow-with-sharepoint-2013.aspx
    Regards,
    Rebecca Tu
    TechNet Community Support

  • FB05 posting problem using POSTING_INTERFACE_CLEARING

    Hi All,
      I have a problem posting FB05 using POSTING_INTERFACE_CLEARING.My requirement is to select open item based on document number and then create another leg for that open item using GL account,posting key and amount that matches the selected open item amount.
    I am not sure whether I am not doing the right thing because I get an error 'Difference is too large for  clearing'. If I actually go to FB05 and 'choose open item' for document number and try to hit 'Save' on the list of open items screen,I get the same error. I then  select 'Charge off difference' and it takes me to screen that is quite similar to FB01 and I enter the other leg of the entry i.e posting key,acct no,amount etc.I want to replicate the same process using funtion module.I am sending you the code,please help me.
    start-of-selection.
      i_splitinput-compcode = '0410'.
      i_splitinput-currency = 'USD'.
      i_splitinput-amount = '299'.
      i_splitinput-reference = '90286483'.
      i_splitinput-date = '20090320'.
      i_splitinput-type = 'D'.
      i_splitinput-clearingacct = '101002'.
      append i_splitinput.
      loop at i_splitinput.
        at first.
          perform posting_interface_start using 'C'.
        endat.
        at new currency.
          perform f_create_document_header using i_splitinput-compcode
                                                 i_splitinput-currency.
        endat.
        perform f_create_document_items .
        at end of currency.
          perform f_post_gl_document.
        endat.
        at last.
          perform f_posting_interface_end.
        endat.
      endloop.
    *&      Form  posting_interface_start
          text
         -->P_P_TYPE  text
    form posting_interface_start  using    p_type.
      data lv_mode type c value 'N'.
      if p_type = 'C'.
        call function 'POSTING_INTERFACE_START'
          exporting
            i_function         = 'C'
            i_mode             = lv_mode
            i_update           = 'S'
          exceptions
            client_incorrect   = 1
            function_invalid   = 2
            group_name_missing = 3
            mode_invalid       = 4
            update_invalid     = 5
            others             = 6.
        if sy-subrc <> 0.
          message 'Error initializing posting interface'(e05) type 'I'.
        endif.
      endif.
    endform.                    " posting_interface_start
    *&      Form  f_create_document_header
          text
    -->  p1        text
    <--  p2        text
    form f_create_document_header using p_compcode p_currency.
      data: l_waers type waers,
    l_postdate(10) type c,
    l_docdate(10),
    l_bktxt type bktxt,
    l_blart type blart.
    *---Convert dates to proper format MM/DD/YYYY
      write p_pstdat to l_postdate mm/dd/yyyy.
      write p_docdat to l_docdate  mm/dd/yyyy.
      i_ftpost-stype = 'K'.   "Header
      i_ftpost-count = 1.
      perform ftpost_field using: 'BKPF-BUKRS' p_compcode,  "Company Cd
                                  'BKPF-WAERS' p_currency,  "Doc Currency
                                  'BKPF-BLART' p_doctyp,  "Doc Type
                                  'BKPF-BLDAT' l_docdate,   "Doc Date
                                  'BKPF-BUDAT' l_postdate,   "Posting Dt
                                  'BKPF-BKTXT' p_doctxt,  "Header Text
                                  'BKPF-XBLNR' p_ref,     "Ref Doc
                                  'RF05A-AUGTX' 'Test'.  "Clearing item text
    *creditnote to your own
    *debit to customer but sometimes you post credit
    *payor-vendor +ve    payee-customer  -ve
      i_ftpost-count = 0.
    endform.                    " f_create_document_header
    *&      Form  ftpost_field
          text
         -->P_1045   text
         -->P_PA_BUKRS  text
    form ftpost_field using field_name type any
                            field_value type any.
      i_ftpost-fnam = field_name.
      i_ftpost-fval = field_value.
      append i_ftpost.
    endform.                    " ftpost_field
    *&      Form  f_create_document_items
          text
    -->  p1        text
    <--  p2        text
    form f_create_document_items .
    *concatenate i_splitinput
      i_ftclear-agkoa  = 'D'."D-cust, v-vend
      i_ftclear-agkon  = '1041048'."cust/ven acct
      i_ftclear-agbuk  = i_splitinput-compcode.
      i_ftclear-xnops  = 'X'.
      i_ftclear-xfifo  = space.
      i_ftclear-agums  = space.
      i_ftclear-avsid  = space.
      i_ftclear-selfd  = 'BELNR'.
      i_ftclear-selvon = i_splitinput-reference.
      i_ftclear-selbis = 'Test'.                              
      collect i_ftclear.clear i_ftclear.
    i_ftclear-selvon = '101002'.
    i_ftclear-selbis = '101002'.                           
    append i_ftclear.
      i_ftpost-stype = 'P'.  "Details
      i_ftpost-count = i_ftpost-count + 1.
      perform ftpost_field using: 'RF05A-NEWBS' '15',      "Post Key
                                  'RF05A-NEWKO' '1071990',   "GL Account
                                  'BSEG-WRBTR'  '299',     "DC Amount
                                  'BSEG-SGTXT'  'SAN'.      "Item Text
                                 'BSEG-ZUONR'  i_post-merchant_id.
    *lt_ftclear-selvon = p_doc2.
    *lt_ftclear-selbis = p_doc2.
    *APPEND lt_ftclear.
    endform.                    " f_create_document_items
    *&      Form  f_post_gl_document
          text
    -->  p1        text
    <--  p2        text
    form f_post_gl_document .
      refresh i_blntab.
      clear i_blntab.
      call function 'POSTING_INTERFACE_CLEARING'
        exporting
          i_auglv                          = 'UMBUCHNG'
          i_tcode                          = 'FB05'
        I_SGFUNCT                        = ' '
        I_NO_AUTH                        = ' '
        importing
          e_msgid                          = v_msgid
          e_msgno                          = v_msgno
          e_msgty                          = v_msgty
          e_msgv1                          = v_msgv1
          e_msgv2                          = v_msgv2
          e_msgv3                          = v_msgv3
          e_msgv4                          = v_msgv4
          e_subrc                          = g_subrc
        tables
          t_blntab                         = i_blntab
          t_ftclear                        = i_ftclear
          t_ftpost                         = i_ftpost
          t_fttax                          = i_fttax
       exceptions
         clearing_procedure_invalid       = 1
         clearing_procedure_missing       = 2
         table_t041a_empty                = 3
         transaction_code_invalid         = 4
         amount_format_error              = 5
         too_many_line_items              = 6
         company_code_invalid             = 7
         screen_not_found                 = 8
         no_authorization                 = 9
         others                           = 10
      if sy-subrc <> 0.
        v_message = 'Posting Interface Error.'.
      endif.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = v_msgid
            lang      = sy-langu
            no        = v_msgno
            v1        = v_msgv1
            v2        = v_msgv2
            v3        = v_msgv3
            v4        = v_msgv4
          IMPORTING
            msg       = v_message
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
    WRITE : V_MESSAGE.
    endform.                    " f_post_gl_document
    *&      Form  f_posting_interface_end
          text
    -->  p1        text
    <--  p2        text
    form f_posting_interface_end .
      call function 'POSTING_INTERFACE_END'
        exporting
          i_bdcimmed              = ' '
        exceptions
          session_not_processable = 1
          others                  = 2.
      if sy-subrc <> 0.
      endif.
    endform.                    " f_posting_interface_end
    Thanks in advance.

    Hi Abaper,
      This is in continuation of my previous email,I am sending you my code.Please take a look and let me know your suggestions.Also can you please share with me your code if you have ever worked with FB05.
    Also I have debugged and found that at the end on program SAFM05A screen 0733 ,the code enters document number BELNR and does okcode - /11. This takes to the screen SAPDF05X  screen 3100 where it does try to save.I believe 3100 is a final screen according to the FM code but there is something I may not be passing which is not allowing it to save.
    *Session header
          perform populate_xbgr00.
          append xbgr00 to dataset.
        write p_docdat to p_docdat mm/dd/yy.
        write p_pstdat to p_pstdat mm/dd/yy.
    *Document header
              perform populate_xbbkpf using
                i_splitinput-compcode
                p_docdat
                p_pstdat
                p_doctyp
                 i_splitinput-currency
                sum_inprec_hd_tmp-xblnr
                'Test'.
              append xbbkpf to dataset.
    *bbseg bselk and bselp
            perform populate_xbbseg .
    *********forms
    form populate_xbgr00 .
      move '0' to xbgr00-stype.
      move 'zsan' to xbgr00-group.
      move sy-mandt to xbgr00-mandt.
      move sy-uname to xbgr00-usnam.
      move 'X' to xbgr00-xkeep.
    move space to xbgr00-xkeep.
      move '/' to xbgr00-nodata.
    endform.                    " populate_xbgr00
    form populate_xbbkpf  using  p1 p2 p3 p4 p5  p7.
      move '1' to xbbkpf-stype.
      move 'FB05' to xbbkpf-tcode.
      move p2 to xbbkpf-bldat.
      move p4 to xbbkpf-blart.
      move p1 to xbbkpf-bukrs.
      move p3 to xbbkpf-budat.
      move '/' to xbbkpf-monat.
      move p5 to xbbkpf-waers.
      move '/' to xbbkpf-kursf.
      move '/' to xbbkpf-belnr.
      move '/' to xbbkpf-wwert.
    move p6 to xbbkpf-xblnr.
      move '/' to xbbkpf-bvorg.
      move p7 to xbbkpf-bktxt.
      move '/' to xbbkpf-pargb.
      move 'UMBUCHNG' to xbbkpf-auglv.
    endform.
    form populate_xbbseg  .
      move '2' to xbbseg-stype.
      move 'BBSEG' to xbbseg-tbnam.
      move '15'  to xbbseg-newbs.
      move '100'  to xbbseg-wrbtr.
      move 'Assign'  to xbbseg-zuonr.
      move 'Itemtext'  to xbbseg-sgtxt.
      move I_SPLITINPUT-CLEARINGACCT to xbbseg-newko.        "G/L
      append xbbseg to dataset.
    xbselk-stype = '2'.
    xbselk-agkon = 'CUST0010'.
    xbselk-agbuk = i_splitinput-compcode.
    xbselk-agkoa = 'K'.
    xbselk-sende = '/'.
    xbselk-tbnam = 'BSELK'.
    XBSELK-XNOPS = 'X'.
    append xbselk to dataset.
    xbselp-stype = '2'.
    xbselp-feldn_1 = 'BELNR'.
    xbselp-slvon_1 = i_splitinput-reference.
    xbselp-slbis_1 = 'Test'.
    xbselp-tbnam = 'BSELP'.
    append xbselp to dataset.
    endform
    Edited by: abap78 on Mar 23, 2009 5:10 AM

  • Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.

    Installed SP 2013 Foundation in my Hyper-V machine
    Created and done all the steps mentioned here http://blogs.msdn.com/b/shariq/archive/2013/05/07/how-to-set-up-high-trust-apps-for-sharepoint-2013-amp-troubleshooting-tips.aspx && http://msdn.microsoft.com/en-us/library/office/fp179901%28v=office.15%29.aspx
    for self signed certificate
    copied those two certificates in my local machine(base machine) D drive
    (D:\Cert)
    Both VM and base machine are in same domain
    Installed VS 2013 in my base machine and create a Provided hosted app with the copied certificates, (For creation i followed the above mentioned URL)
    Just created and hit F5 to run in my base machine, but getting this error
    Error occurred in deployment step 'Uninstall app for SharePoint': The remote server returned an error: (502) Bad Gateway.
    Please help me to resolve this issue, trying to figure out from last 2 days
    Thanks in Advance
    Arun

    Hi Harminder,
    This happens because an app has already been deployed and you are deploying it again using the same version.
    Resolution:
    Open the AppManifest.xml file and change the version.
    Vivek Jagga - MCTS SharePoint
    SharePointExcellence

  • Error in badi ME_GUI_PO_CUST for ME21n/22n/23n

    Dear All,
    I want to add 1 tab in ME21n/22n/23n.
    In that 2 field in EKKO table using ci_ekkodb include is add
    For that I use badi ME_GUI_PO_CUST.
    in that
    MAP_DYNPRO_FIELDS
    TRANSPORT_FROM_MODEL
    TRANSPORT_TO_DYNP
    TRANSPORT_FROM_DYNP
    TRANSPORT_TO_MODEL
    these method find error do to field name passing.
    method IF_EX_ME_GUI_PO_CUST~MAP_DYNPRO_FIELDS.
      FIELD-SYMBOLS: <mapping> LIKE LINE OF ch_mapping.
        LOOP AT ch_mapping ASSIGNING <mapping>.
          CASE <mapping>-fieldname.
            WHEN 'ZZDEPT'.                                            " Field Name
              <mapping>-metafield = mmmfd_cust_03.
            WHEN 'ZZPOGR'.                                            " Field Name
              <mapping>-metafield = mmmfd_cust_04.
          ENDCASE.
        ENDLOOP.
    endmethod.
    Referening **************** - Step by step guide on adding a new tab in ME21N using a BADI
    Replay is appreciable.
    Regards,
    Pooja

    First you go to se18 and read documentation of this badi.
    You have to implement BAdI ME_PROCESS_PO_CUST before implementing this BAdI.
    Sample code is available here.... goto->sample code->display
    In case any doubt u ask..
    Regards
    Sreekanth

  • Getting "Method 'sign_in' does not exist" Error (using Charles)

    This may be a bit off the FLEX field, and have to do with Zend Framework's ZEND_AMF class. Unfortunately I haven't been able to dig anything up, and comments posted on Wade Arnolds site have not received any responses, so I thought I'd give it a go here.
    My ServiceController Class:
    public function loginAction()
         $this->_helper->viewRenderer->setNoRender();
         $server = new Zend_Amf_Server();
         $server->setClass('LoginAmfService', 'LoginService');
         $server->setClassMap('CurrentUserVO', 'CurrentUserVO');
         $server->setProduction(false);
         print($server->handle());
    My LoginAmfService class:
    class LoginAmfService
          * Main login function.
          * @param  string        $name
          * @param  string        $password
          * @return CurrentUserVO
         public function sign_in($name, $password)
              $authAdapter     = new Zend_Auth_Adapter_DbTable(Zend_Registry::get('db'), 'users', 'user_name', 'password', 'PASSWORD(?) AND active = 1');
              $returnValue     = new CurrentUserVO();
              $authAdapter->setIdentity(htmlspecialchars($name))
                   ->setCredential(htmlspecialchars($password));
              $authResult = $authAdapter->authenticate();
              if ($authResult->isValid())
                   $userArray                          = $authAdapter->getResultRowObject(array('id', 'first_name', 'last_name', 'title', 'photo'));
                   $returnValue->first_name     = $userArray->first_name;
                   $returnValue->last_name          = $userArray->last_name;
                   $returnValue->title               = $userArray->title;
                   $returnValue->photo               = $userArray->photo;
                   $returnValue->token               = $userArray->id;
              return $returnValue;
          * Function used to log people off.
         public function sign_out()
              $authAdapter = Zend_Auth::getInstance();
              $authAdapter->clearIdentity();
    My SignIn FLEX module (the relevant portions):
         <mx:RemoteObject
              id="LoginRemote"
              destination="login"
              source="SignIn"
              showBusyCursor="true"
              fault="parentDocument.handleFault(event)"
         >
               <mx:method name="sign_in" result="signin_handle(event)" />
               <mx:method name="sign_out" result="signout_handle(event)" />
         </mx:RemoteObject>
         <mx:Script>
              <![CDATA[
                   import mx.rpc.events.FaultEvent;
                   import mx.utils.ArrayUtil;
                   import mx.rpc.events.ResultEvent;
                   import mx.controls.Alert;
                   import com.brassworks.ValueObjects.CurrentUserVO;
                   import mx.events.VideoEvent;
                   [Bindable]
                   private var this_user:CurrentUserVO = new CurrentUserVO();
                   private function mdl_init():void
                        focusManager.setFocus(txt_username);
                   private function signin_handle(event:ResultEvent):void
                             this_user = event.result as CurrentUserVO;
                             if (this_user.token == null) {Alert.show("Supplied login credentials are not valid. Please try again.");}
                             else
                                  this.parentApplication.setUser(this.this_user);
                   private function signout_handle(event:ResultEvent):void
                   private function sign_in(event:Event):void
                        try
                             //Alert.show(txt_name.text + "|" + txt_password.text);
                             LoginRemote.sign_in(txt_username.text, txt_password.text);
                        catch (error:Error)
                             this.parentDocument.handleFault(error);
                   private function sign_out(event:Event):void
                   private function show_error(error:Error, s_function:String):void
                        Alert.show("Method:" + s_function + "\nName: " + error.name + "\nID: " + error.errorID + "\nMessage: " + error.message + "\nStack Trace: " + error.getStackTrace() + "\nError: " + error.toString());
                   private function handleFault(event:FaultEvent):void
                        Alert.show(event.fault.faultDetail, event.fault.faultString);
              ]]>
         </mx:Script>
    Now, all this is great and good, as it works with Zend Framework 1.7.6. However, when I try to upgrade to 1.7.8 (to take advantage of session management and other bug-fixes), I get the following error (using Charles):
    #1 /var/web/htdocs/core/library/Zend/Amf/Server.php(390): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
    #2 /var/web/htdocs/core/application/default/controllers/ServicesController.php(73): Zend_Amf_Server->handle()
    #3 /var/web/htdocs/core/library/Zend/Controller/Action.php(503): ServicesController->loginAction()
    #4 /var/web/htdocs/core/library/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('loginAction')
    #5 /var/web/htdocs/core/library/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #6 /var/web/htdocs/core/application/bootstrap.php(39): Zend_Controller_Front->dispatch()
    #7 /var/web/htdocs/core/public/index.php(5): Bootstrap->runApp()
    #8 {main} ?Method "sign_in" does not exist
    I have no idea why this would not work anymore. My assumption is that I am not correctly setting up Zend_Amf (but then again, my counter-argument is that it worked before, so ..... ????)
    Thanks for any help!
    -Mike

    For those that are also fighting this issue:
    The problem appears to be that the RemoteObject needs to specify the class containing the methods as a source parameter. According to this bug report (http://framework.zend.com/issues/browse/ZF-5168) it is supposed to have been addressed, but apparently has re-emerged in Zend_Amf since version 1.7.7.
    Using my example above, I would have to specify the RO as:
    <mx:RemoteObject
              id="LoginRemote"
              destination="login"
              source="LoginAmfService"
              showBusyCursor="true"
              fault="parentDocument.handleFault(event)"
         >
               <mx:method name="sign_in" result="signin_handle(event)" />
               <mx:method name="sign_out" result="signout_handle(event)" />
         </mx:RemoteObjecct>

  • Automatic posting (user-exit, BADI, BTE...)

    Hello, saperos (as we are known in Spain).
    We have a requirement from our customer in order to post automatic documents (with call transaction or BAPI) just after the posting of another. I have doubts about the mechanism to do this, maybe a BADI, BTE...? The full business process is like this:
    1) Post of down payment.
    2) Post of invoice (same vendor). Just after this document is saved, we need to post "automatically" a clearing document to the previous down payment (F-54).
    Do you know about a user-exit, BADI or BTE to do this?
    Thanks in advance.

    Try using BADI 'AC_DOCUMENT'. Trnasaction SE18.
    Regards,
    Vishal Thakur.

  • GR/IR Posting Error CKMLGRIR025 - Purchase Order History Inconsistent

    Hi Everyone.
    We currently have a posting in our GRIR for a Feright Condition Value against a Purchase Order which gets the above error when trying to post in MR11.
    The Diagnosis of the error reads:
    "The purchase order history contains differences between the goods receipt and invoice receipts/Account maintenance for the order item in the field Difference Quantitiy (= 43.804 TO) and Difference Value (= -342.77)
    The purchase order history for this tiem is inconsistent"
    When looking at this Freight Condition information in the Purchase Order I can not see why this item has resulted in this error in MR11.
    Has anyone else seen this error come through in their system, and do you have any ideas on how to fix this.
    Thanks
    Hayley

    We are experiencing the same issue with the GRIR Posting Error CKMLGRIR025 - puchase order history inconsistent.  The actual message that we receive is Puchase Order history already inconsistent -->Quantity 1.00 EA Value 0.65-USD.
    We reviewed SAP Note 708649 which also recommends using transaction MIRO with the corresponding default quantity and value o.  However, we are not able to enter an Invoice for the "default qty & value 0", as SAP gives me error message M8278 "You are not allowed to have zero lines" (just like Haley commented).  In reviewing this thread, I did not find the solution to the error message M8278 "You are not allowed to have zero lines" .  Could someone help me understand?
    Thank you!

  • URGENT - Error 400--Bad Request

    When I run weblogic 6.0 default console I get "Error 400--Bad Request> From RFC
    2068 Hypertext Transfer Protocol -- HTTP/1.1:"What does this mean ? Can u help
    me to fix it !! Other than reinstall the whole WebLogic!!!
    Another things is do you have and recommendation web site, eBook that teach "Using
    Weblogic EJB with JBuider 6". Thank You

    The solution was to switch to Apache's HttpClient. no more problems with SUN's HttpUrlConnection!

Maybe you are looking for

  • How can I change the e-mail address that shows when I try to order from iBooks?

    Hi.  I recently had to change my e-mail address, and successfully changed my Apple ID to reflect the new e-mail.  However, while trying to order a book through iBooks today, I noticed that I was asked for my password and that my old e-mail was showin

  • HTTP(S) Timeout while invoking WebService over HTTPS.

    Hello, I have some stress with my webservice client implementation. I do the following (I can post source code if needed): - As usual: System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol"); Security.addProvider(new

  • IPhone will not restore from backup after upgrading to iOS4

    Hey guys, I updated to iOS4 just fine on my iPhone 3G 16gb model. Unfortunately, what occurred after that is what's giving me a headache. Whenever I try to restore my iPhone from the backup I created, my laptop keeps freezing when it hits about 8-10%

  • Problem with VF04

    Hello everyone, I have a problem. We created a delivery with two items category different: LZN(Stndard Itm w/o Ord) TATX (Text Item) We created the flow: u2022     Delivery - Status: being processed u2022     HU u2013 Status: u2022     Picking Reques

  • Track order of my album out of order

    Hello, I am having issues with my song order on my itunes. Usually when I put my songs of a certain album in my itunes and click the album tab at the top the songs are in order by track number in my album, but for one of my albums its in a completely