Issue in processing IBAN in FLB2

Hi Experts,
In transaction FLB2 for the lockbox record type 6 record should match the structure of FLB26 which is as given below.
Structure: FLB26 (BAI-II format: lockbox record type 6, new check)
Field
Type
Length
Description
DR001
NUMC
1
Record Type for Lockbox
DR002
NUMC
3
Batch Number for Lockbox (Bundle Number)
DR003
NUMC
3
Batch Item Number for Lockbox
DR004
NUMC
10
Remittance Amount (Payment Amount) for Lockbox
DR005
CHAR
9
Remitter Identifier 1: Transit Routing Number for Lockbox
DR006
CHAR
12
Remitter Identifier 2: Account Number for Lockbox
DR007
NUMC
9
Check Number
DR008
CHAR
35
Data Element Type CHAR Length 35
The program (Transaction: FLB2) uses the value from field DR005 (Bank Key) and DR006 (Account Number) to determine the customer based on bank details (Table: KNBK) and proceed with further processing. Consider below two records with and without IBAN.
DR001
DR002
DR003
DR004
DR005
DR006
DR007
DR008
Without      
IBAN
6
001
001
0000776783
123456789
123456789012
ABC401065
With IBAN
6
001
001
0000080203
987654321
00AB76Z05034
ABC701063
AB76Z0503445110000000000019
In the case of the record without IBAN, DR005 is 123456789(Bank key) and DR006 is 123456789012(Account number). Based on this information, the query on KNBK returns a customer.
In the case where IBAN details are passed, the fields DR005(Bank key) & DR006(Account number) contains the wrong value.Based on these values i dont get customer from table KNBK.
i can get correct Bank account and Bank key for the record with IBAN using FM CONVERT_IBAN_2_BANK_ACCOUNT.
IBAN:AB76Z0503445110000000000019
Bank Account Number
000000000019
Bank Control Key
Z
Bank Country
AB
Bank Key
0503445110
If i use the bank account and bank key received from this FM to get the customer from table KNBK , i have the customer.
but this cannot be corrected in structure FLB26 since the field DR005 in structure FLB26 is 9 characters and the Bank Key received from FM is 10 characters. The possible length of the bank key can be upto 15 characters as well. The processing fails because of this discrepancy.
Can any one tell me for the record types with IBAN how can we process IBAN for posting?

Hi Kevin,
        1. Please check your Archive directory name. You may be ging some wrong name (Spelling mistake).
        2. check you sould have an authorization to read, delete or archive the files from the FTp server
        3.  If you want to archive the files on the FTP server, set the Archive Files on FTP Server indicator(check box) in Sender File Adapter. If you do not set the indicator, the files are archived in the Adapter Engine file system.
Thanks.
Edited by: Jyothi Anagani on Jun 15, 2010 10:19 AM

Similar Messages

  • Date issue in processing billing documents that shipped in a prior period

    Date issue in processing billing documents that shipped in a prior period that is now closed:
    SAP values those deliveries with the current document date in A/R when it should be the original delivery date.  Baseline date needs to stay the delivery date, but is getting copied from the billing date in the new period.  A user exit exists (& needs to be applied) to manipulate the baseline date when the accounting document is being created.
    Any input is appreciated.

    Hi
    Try with Invoice Correction Request concept
    Sale document Type: RK
    Reference Document Type : Billing Number
    for Understanding the Invoice Correction request check below link
    [Creating Invoice Correction Requests|http://help.sap.com/saphelp_46c/helpdata/en/dd/55feeb545a11d1a7020000e829fd11/content.htm]
    Regards,
    Prasanna

  • Issue while Processing the Huge File in BPEL

    Hi,
    We are facing an Issue while Processing a Hige file in BPEL Process (More than 1MB File). When i test the files with more than 1500 transactions (More than 1MB file) then the BPEL Process is automatically goes to OFF Mode or it goes to Perform Manually Recovery Queue.
    Even we are facing this issue in Production also so we are using UNIX Script to Split the file before place the file in BPEL Input directory.Any Pointers to resolve this issue will be helpful.
    Thanks,
    Saravana

    Hi,
    Please find the answers.
    1. Currently we are using SOA 10.1.2 Version and JDev10g
    2. we are using File Adapeter
    3. yes. We used debatching.
    4. Yes. I am able to recover from Manual Recovery Queue
    5. Please find the error message
    <2009-05-21 04:32:38,461> <DEBUG> <ESIBT.collaxa.cube.engine.dispatch> <Dispatcher::adjustThreadPool> Allocating 1 thread(s); pending threads: 1, active threads: 0, total: 83
    <2009-05-21 04:32:44,077> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> File : /harbinger/prod/xlate/Outbound_Input_LDS_810/Input5162009.B2B is ready to be processed.
    <2009-05-21 04:32:44,077> <INFO> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Processing file : /harbinger/prod/xlate/Outbound_Input_LDS_810/Input5162009.B2B
    <2009-05-21 04:32:44,077> <DEBUG> <ESIBT.collaxa.cube.activation> <AdapterFramework::Inbound> onBatchBegin: Batch 'bpel://localhost/ESIBT/BPELProcess_810~1.0//Input5162009.B2B_1242894594000' (/harbinger/prod/xlate/Outbound_Input_LDS_810/Input5162009.B2B) starting...
    <2009-05-21 04:32:44,077> <DEBUG> <ESIBT.collaxa.cube.translation> <TranslatorFactory::log> Inside TranslatorFactory
    <2009-05-21 04:32:44,078> <DEBUG> <ESIBT.collaxa.cube.translation> <TranslatorFactory::log> using version attribute = NXSD
    <2009-05-21 04:32:44,078> <DEBUG> <ESIBT.collaxa.cube.translation> <TranslatorFactory::log> loading xlator class...oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl
    <2009-05-21 04:32:44,081> <DEBUG> <ESIBT.collaxa.cube.translation> <TranslatorFactory::log> class loaded
    <2009-05-21 04:32:44,081> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Created translator : oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl@46908ae8
    <2009-05-21 04:32:44,098> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Setting up Control dir for debatching error recovery
    <2009-05-21 04:32:44,121> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Control dir for debatching error recovery : /opt01/app/ESIBT/oracle/esibt10gR2iAS/BPEL10gR2/iAS/j2ee/home/fileftp/controlFiles/localhost_ESIBT_BPELProcess_810~1.0_/inbound
    <2009-05-21 04:32:44,121> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Invoking inbound translation for : Input5162009.B2B
    <2009-05-21 04:32:44,121> <DEBUG> <ESIBT.collaxa.cube.translation> <NXSDTranslatorImpl::log> Starting translateFromNative
    <2009-05-21 04:32:44,139> <DEBUG> <ESIBT.collaxa.cube.translation> <NXSDTranslatorImpl::log> Done with translateFromNative
    <2009-05-21 04:32:44,139> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Completed inbound translation for : Input5162009.B2B
    <2009-05-21 04:32:44,139> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> isTextFile : true
    <2009-05-21 04:32:44,139> <INFO> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Translated inbound batch index 1 of file {Input5162009.B2B} with corrupted message count = 1
    <2009-05-21 04:32:44,139> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Error Reader created using charset :ASCII
    <2009-05-21 04:32:44,139> <INFO> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Sending message to Adapter Framework for rejection to user-configured rejection handlers : {
    fileName=/harbinger/prod/xlate/Outbound_Input_LDS_810/Input5162009.B2B, startLine=1, startColumn=1, endLine=-1, endCol=-1, Exception=ORABPEL-11167
    Error while reading native data.
    [Line=1, Col=70] Expected "\t" at the specified position in the native data, while trying to read the data for "element with name HDR_STORE_NUM", using "style" as "terminated" and "terminatedBy" as "\t", but not found.
    Ensure that "\t", exists at the specified position in the native data.
    <2009-05-21 04:32:44,139> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Setting batchId in NativeRecord to bpel://localhost/ESIBT/BPELProcess_810~1.0//Input5162009.B2B_1242894594000
    <2009-05-21 04:32:44,139> <WARN> <ESIBT.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_ptt::Read(Object)] - onReject: The resource adapter 'File Adapter' requested handling of a malformed inbound message. However, the following bpel.xml activation property has not been defined: 'rejectedMessageHandlers'. Please define it and redeploy the business process. Will use the default Rejection Directory file:///opt01/app/ESIBT/oracle/esibt10gR2iAS/BPEL10gR2/iAS/integration/orabpel/domains/ESIBT/archive/jca/BPELProcess_810/rejectedMessages for now.
    <2009-05-21 04:32:44,140> <WARN> <ESIBT.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_ptt::Read(Object)] - onReject: Sending invalid inbound message to Exception Handler:
    <2009-05-21 04:32:44,140> <INFO> <ESIBT.collaxa.cube.activation> <AdapterFramework::Inbound> Handing rejected message to DEFAULT rejection handler: file:///opt01/app/ESIBT/oracle/esibt10gR2iAS/BPEL10gR2/iAS/integration/orabpel/domains/ESIBT/archive/jca/BPELProcess_810/rejectedMessages since none of the configured rejection handlers [] succeeded.
    <2009-05-21 04:32:44,140> <DEBUG> <ESIBT.collaxa.cube.activation> <AdapterFramework::Inbound> Finished persisting rejected message to file system under the name: /opt01/app/ESIBT/oracle/esibt10gR2iAS/BPEL10gR2/iAS/integration/orabpel/domains/ESIBT/archive/jca/BPELProcess_810/rejectedMessages/INVALID_MSG_BPELProcess_810_Read_20090521_043244_0140.dat
    <2009-05-21 04:32:44,141> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Setting last error record to : -1
    <2009-05-21 04:32:44,141> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Translator has failed to translate any message from batch number: 1
    <2009-05-21 04:32:44,141> <INFO> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Message not published as translation failed: {
    File=/harbinger/prod/xlate/Outbound_Input_LDS_810/Input5162009.B2B, batchIndex=1, PublishSize=1
    <2009-05-21 04:32:44,141> <ERROR> <ESIBT.collaxa.cube.activation> <AdapterFramework::Inbound> onBatchFailure: Batch 'bpel://localhost/ESIBT/BPELProcess_810~1.0//Input5162009.B2B_1242894594000' (/harbinger/prod/xlate/Outbound_Input_LDS_810/Input5162009.B2B) has failed due to: ORABPEL-11167
    Error while reading native data.
    [Line=1, Col=70] Expected "\t" at the specified position in the native data, while trying to read the data for "element with name HDR_STORE_NUM", using "style" as "terminated" and "terminatedBy" as "\t", but not found.
    Ensure that "\t", exists at the specified position in the native data.
    <2009-05-21 04:32:44,141> <INFO> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Deleting file : /harbinger/prod/xlate/Outbound_Input_LDS_810/Input5162009.B2B after processing.
    <2009-05-21 04:32:44,141> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Deleting file : Input5162009.B2B
    <2009-05-21 04:32:44,141> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Deleted file : true
    <2009-05-21 04:32:44,141> <DEBUG> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Removing file /harbinger/prod/xlate/Outbound_Input_LDS_810/Input5162009.B2B from files to be processed Map.
    <2009-05-21 04:32:44,141> <INFO> <ESIBT.collaxa.cube.activation> <File Adapter::Inbound> Done processing File : /harbinger/prod/xlate/Outbound_Input_LDS_810/Input5162009.B2B
    <2009-05-21 04:33:09,698> <DEBUG> <ESIBT.collaxa.cube.engine.data> <ConnectionFactory::getConnection> GOT CONNECTION 4 Autocommit = false
    For this error message this shows due to some /t its not picking up the file. but even i am facing the same issue for all the files where load is huge.
    Thanks,
    Saravana

  • Issue in process chain with DTP after imported to production

    Hi,
    we have a issue with process chain.
    after transportation DTP technical name is differ in prod and dev. process chain is went inactive.
    i have read some related threads, i'm not find any suitable solution for this.
    we don't have access to change process chain(they are not willing to open prod system)
    could you please provide solution on this issue .
    Thanks,
    EDK....
    Edited by: EdK666 on Oct 21, 2011 2:54 PM

    Hi,
    I have observed the behavior of changing technical name for DTP but still I think your process chain should not become inactive due to this.  I think process chain somehow adjust the new technical name but anyways you should be able to change the DTP in process chain directly in production system.
    If that is not possible you can just try re-transporting it.
    Regards,
    Durgesh.

  • Issues while processing the BOMs using fm ''CSAP_MAT_BOM_MAINTAIN'

    Hi Group,
    we are facing issues while processing the BOMs using the basic type(Z-idoc type) for standard type BOMMAT04.
    thing is that the segment 'E1STPOM' is defined to contain 1 to 99999 records in it.
    when an Idoc is run(say with 150/200 segments of 'E1STPOM'), there was a standard error with error message id PIC01(number : 004) when the Idoc is processed with the Standard function module 'CSAP_MAT_BOM_MAINTAIN'.
    the error says 'Error reading material FING_005 . Exception: 0' and Check whether the material number is blocked. but when checked, the Material seems not blocked.
    kindly advise how to overcome this error and proceed further.
    Regards,
    Vishnu

    Checj the material status, while its transfer from one server to another server the status should be different

  • Issue in Process Controlled workflow for Shopping cart in Quality system.

    Hello All,
    I ahve configured a Process controlled workflow in SRM 7.0  with custom resolver, and I am facing an issue taht the Workflow works well in Development but in Quality the approvers are dropped after SC is ordered in Quality system.
    The SC Workflow drops the approvers picked up from the Interface  method /SAPSRM/IF_EX_WF_RESP_RESOLVERGET_AREA_TO_ITEM_MAP and IF_EX_WF_RESP_RESOLVERGET_APPROVERS_BY_AREA_GUID of BADI /SAPSRM/BD_WF_RESP_RESOLVER. The approvers can be seen in the shopping cart Approval preview Tab until the SC is ordered.
    I have compared the OSS notes relevant for Workflow, all of them have been transported, Also I compared and checked general Workflow settings, BRF Config and  Process level  settings in Dev and Quality, everything is same.
    Also while debugging; the approvers can be seen in the decision set table in the create_process_forecast method of class /SAPSRM/CL_WF_PROCESS_MANAGER.
    Kindly let me know what else i can check to find the root cause.
    Thank you in advance for help!
    Regards
    Prasuna.

    Hello Vinita;
    Thanks for the input and sorry for the not so "ASAP" reply;
    From what I'm seeing in from your 2 screenshot, i strongly believe that the problem is even before the Z implementation /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID (in which the FM i ZSRM_GET_USER_FROM_PGRP is called. I think the problem could be in the process level determination  ZSRM_WF_BRF_0EXP000_SC_APP100. Let me explain:
    In your  cases where not buyer is determined,  in the approval tab there is not even a process level for buyer approval. If the problem were indeed in the implementation  /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID  then the process level would be there, but the system will display, instead of the name of the buyer(if the buyer determination fails) a red label with the message:  "With the strategy "Buyer determination" an approver could not be determined (or something like that..please check the image at the end of the text)".
    I can propose a way to discard this: Implement the method /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS of class ZCL_BADI_SC_WC (in case you didn't know, in this method you can specify an "default" approver in case that the determination of approver in GET_APPROVERS_BY_AREA_GUID fails). The idea is to specify an default approval and see how it behaves:
    If the user you indicated in the method GET_FALLBACK_AGENTS appears as approver, then yes, the problem is arises from implementation GET_APPROVERS_BY_AREA_GUID, in which case it could be a data problem (peharps in pposa_bbp?). You could also check in TX SU53 with the users with this problem to see if there's a missing authorization objetc.
    If, in the other hand, the "default" approver is not shown, it means that the process level buyer determination is not even called, so you should check in more detail ZSRM_WF_BRF_0EXP000_SC_APP100 and /SAPSRM/CL_WF_PROCESS_MANAGER > Determine process restart –method ----- (i have never used this method, so i could not tell if  it could be the source of the problem).
    Also, you could implement the method GET_FALLBACK_AGENTS in this way so the default approver would be the WF administrator indicated in the customizing (or you could just append directly any user you want):
    METHOD /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_FALLBACK_AGENTS.
       DATA: lv_admin_expr TYPE swd_shead-admin_expr,
             lv_admin      TYPE swd_shead-wfi_admin,
             lv_admin_type TYPE sy-input,
             ls_agent      TYPE  /sapsrm/s_wf_approver.
       CALL FUNCTION 'SWD_WF_DEFINITION_ADMIN_GET'
         IMPORTING
           default_admin_expr = lv_admin_expr
           default_admin      = lv_admin
           default_admin_type = lv_admin_type.
       ls_agent-approver_id = lv_admin.
       APPEND ls_agent TO rt_agent.
    ENDMETHOD.
    Error of agent determination:
    Please let me know the result of the test with the implementation of method GET_FALLBACK_AGENT. By doing this we could ensure if really the problem is in method GET_APPROVERS_BY_AREA_GUID or before.  I just made the test in our system and I'm almost sure that you wont get the default approver, but i could be wrong. 
    Any question please let me know.
    Best regards
    Cristian R.

  • Goods Issue on Process Order with BAPI_GOODSMVT_CREATE

    Hi together,
    I want to post a goods issue on an process order (some of them are networks) but I have some problem with filling the structures.
    Could you please help me?
    Book material
        ls_bapi_head-pstng_date = ls_booking-budat.
        ls_bapi_head-doc_date   = sy-datum.
        ls_bapi_head-pr_uname   = sy-uname.
        ls_bapi_item-material   = ls_booking-idnrk.
        ls_bapi_item-plant      = p_werks.
        ls_bapi_item-stge_loc   = ls_booking-lgort.
        ls_bapi_item-entry_qnt  = ls_booking-dmeng.
        ls_bapi_item-entry_uom  = ls_booking-meins.
        ls_bapi_item-orderid    = ls_booking-aufnr.
        ls_bapi_item-mvt_ind    = gc_mvt_ind.
        IF ls_bapi_item-entry_qnt > 0.
          ls_bapi_item-move_type = '261'.
        ELSE.
          ls_bapi_item-move_type = '262'.
        ENDIF.
        APPEND ls_bapi_item TO lt_bapi_item.
        CLEAR: lt_bapi_ret, ls_bapi_item.
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            goodsmvt_header  = ls_bapi_head
            goodsmvt_code    = '03'
            testrun          = p_test
          IMPORTING
            materialdocument = ls_mat_bel
          TABLES
            goodsmvt_item    = lt_bapi_item
            return           = lt_bapi_ret.

    Here send a example:
      DATA: RTR LIKE BAPIRET2.
      DATA: G_HEADER    LIKE BAPI2017_GM_HEAD_01,
            G_CODE      LIKE BAPI2017_GM_CODE,
            TESTRUN     LIKE BAPI2017_GM_GEN-TESTRUN,
            G_HEADRET   LIKE BAPI2017_GM_HEAD_RET,
            MATDOCUMENT TYPE BAPI2017_GM_HEAD_RET-MAT_DOC,
            MATYEAR     TYPE BAPI2017_GM_HEAD_RET-DOC_YEAR,
            G_ITEM      TYPE STANDARD TABLE OF BAPI2017_GM_ITEM_CREATE WITH HEADER LINE,
            RETURN      TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.
    TOMO DATOS DE LA TABLA Z
      SELECT * FROM ZCOTT_ACT_VOLUM
               INTO CORRESPONDING FIELDS OF TABLE TI_VOLUMEN.
      CLEAR: RETURN. REFRESH: RETURN.
      CLEAR: WA_MJES.
      WA_MJES-ICONID = '@DH@'.
      WA_MJES-TYPE   = 'S'.
      WA_MJES-MSGTXT = 'Errores del Proceso Nro 2'.
      APPEND WA_MJES TO TI_MJES.
      LOOP AT TI_VOLUMEN INTO WA_VOL.
        CLEAR: G_HEADER, G_CODE, TESTRUN, G_HEADRET, MATDOCUMENT,
               MATYEAR, G_ITEM.
        REFRESH: G_ITEM.
        G_HEADER-PSTNG_DATE      = WA_VOL-BUDAT. " Fecha de contabilización en el documento
        G_HEADER-DOC_DATE      = WA_VOL-BLDAT. " Fecha de documento en documento
        G_HEADER-REF_DOC_NO      = 'REF NRO:'. " Número de documento de referencia
        G_HEADER-PR_UNAME      = SY-UNAME. " Nombre de usuario
        G_HEADER-HEADER_TXT      = WA_VOL-BKTXT. " Texto de cabecera de documento
        G_CODE  = '04'. " Traspaso
      Emisor
        G_ITEM-MATERIAL   = WA_VOL-DE_MATNR. " Nro de Material
        G_ITEM-PLANT      = WA_VOL-DE_WERKS. " Centro
        G_ITEM-STGE_LOC   = WA_VOL-DE_LGORT. " Almacen
        G_ITEM-MOVE_TYPE  = WA_VOL-BWART.    " Clase de Mov.
      G_ITEM-COSTCENTER = WA_VOL-KOSTL.    " Centro de Costo.
        G_ITEM-ENTRY_QNT      = WA_VOL-MENGE.    " Cantidad en unidad de medida de entrada
        G_ITEM-ENTRY_UOM      = WA_VOL-UNIT.     " Unidad de medida de entrada
        G_ITEM-ENTRY_UOM_ISO = WA_VOL-UNIT.  " Código ISO p.unidad de medida
        G_ITEM-BATCH         = WA_VOL-DE_LGORT. " Lote
      Receptor
        G_ITEM-MOVE_MAT   = WA_VOL-A_MATNR. " Nro de Material.
        G_ITEM-MOVE_PLANT = WA_VOL-A_WERKS. " Centro
        G_ITEM-MOVE_STLOC = WA_VOL-A_LGORT. " Almacen
        G_ITEM-MOVE_BATCH = WA_VOL-A_LGORT. " Lote
        APPEND G_ITEM.
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            GOODSMVT_HEADER  = G_HEADER
            GOODSMVT_CODE    = G_CODE
            TESTRUN          = ' ' "TESTRUN
          IMPORTING
            GOODSMVT_HEADRET = G_HEADRET
            MATERIALDOCUMENT = MATDOCUMENT
            MATDOCUMENTYEAR  = MATYEAR
          TABLES
            GOODSMVT_ITEM    = G_ITEM
            RETURN           = RETURN.
        CLEAR: RTR.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT   = 'X'
          IMPORTING
            RETURN = RTR.
        LOOP AT RETURN.
          CLEAR: WA_MJES.
          WA_MJES-TYPE   = RETURN-TYPE.
          CASE WA_MJES-TYPE.
            WHEN 'S'.
              WA_MJES-ICONID = '@08@'.
            WHEN 'W'.
              WA_MJES-ICONID = '@09@'.
            WHEN 'E'.
              WA_MJES-ICONID = '@0A@'.
          ENDCASE.
          WA_MJES-MSGTXT = RETURN-MESSAGE.
          APPEND WA_MJES TO TI_MJES.
        ENDLOOP.
      ENDLOOP.

  • "Still waiting for replays Issue In process chain please help me"

    Hi Xpertz
    Could any one clarify me in the following aspect .I have a process which is having
    4 infopackages updating to a single ods and then in to a cube I copnverted it in to
    a process chain evry thing seems to be fine how ever one issue is ther .I am not
    getting any repeat option on the failed infopackage .But if the ods activation fails
    then am able to see the repeat option on that activation process.
    How can we get the repeat option on the failuere info package .
    Other than segis weblog is ther any other option to restart the process chain.3
    ITs in BW 3.5
    Thanx in advance
    Regards
    R M K
    No need to say good answers willl get full pointz***

    Hi..
    I have worked on process chains..and I too have seen this..that when chain fails..often repeat option does not appear at infopackage step..
    but then this does not cause an issue..as I simply double click on the step..open the infopackage and run it..
    Siggi's blog is very useful..I havent found another method to kick off a chain from the failed step..(other than repeat)..
    sometimes..u manually correct the failure..but the process chain step remains RED..
    as per the blog..change the field on the table..so that step goes GREEN and kicks off further steps of the chain..
    Vishvesh

  • Issue in Process Level Workflow

    Dear SRM Workflow Experts,
    I have following issue for workflow in SAP SRM 7.0
    We have configured item level shopping cart approval workflow using process level configuration. Total four process Levels are configured for Audit/Deman Challenge/Tax and Financial approval.
    Process Level Config Details
    Level.  Apr.Type  Evval.Id                              Description                               Resp.Resover                            Decision Type
    100     Approval  ZEV_SC_DMCH_LEVEL1   Demand Challenge Workflow  ZRR_DEMAND_CHALLENGE       4
    200     Approval  ZEV_SC_AUDT_LEVEL1   Audit Approval Workflow        ZRR_AUDIT                           4
    300     Approval  ZEV_SC_ITAX_LEVEL1    Tax Approval Workflow           ZRR_TAX                           4
    400     Approval  ZEV_SC_LEVEL3              Financial approval                    ZRR_COSTCENTER_APPROVE      4
    We have a issue for the shopping cart with multiple items, once process level is applicable for first item it becomes mandatory for another items even though BRF expression rule for process level is not valid. It looks like my BRF event is executing only once for Shopping Cart and it's not getting trigerred for each line item.
    Please suggest how I can resolve this issue.
    Thanks & Best Regards,
    Navnath Bondarde

    Thanks for quick response,
    Actually I am using GET_AREA_TO_ITEM_MAP method in the /SAPSRM/BD_WF_RESP_RESOLDER BADI.
    I am not creating the Responsibility Area for the items for which Approver not needed.
    Please refer following code, please note AREA_ID field will be empty for the items for which approver not needed. For these items workflow is getting triggered with error "Strategy ZRR_AUDIT' did not determine any approver.
      LOOP AT lt_item_to_area_map REFERENCE INTO lr_item_to_area_map.
        AT NEW area_id.
        For each area id a new responsibility area is created, this instance can
        later be retrieved  in
        method GET_APPROVERS_BY_AREA_GUID to return the list of responsible
        agents
          IF not lr_item_to_area_map->area_id is initial.
            lo_area = /sapsrm/cl_wf_area=>/sapsrm/if_wf_area~create_instance(
              iv_area_type         = /sapsrm/if_wf_process_c=>GC_AREA_TYPE_ADHOC
              iv_leading_object_id = lr_item_to_area_map->area_id
            ls_area_to_item_map-area_guid = lo_area->get_guid( ).
          ELSE.
            ls_area_to_item_map-area_guid = /sapsrm/if_wf_process_c=>gc_nil_guid.
          ENDIF.
        ENDAT.
        IF NOT ls_area_to_item_map-area_guid EQ /sapsrm/if_wf_process_c=>gc_nil_guid.
            ls_area_to_item_map-item_guid = lr_item_to_area_map->item_guid.
            APPEND ls_area_to_item_map TO rt_item_to_area_map.
        ENDIF.
      ENDLOOP.
    Thanks & Best Regards,
    Navnath Bondarde

  • DTp issue in process chain

    HI guys,
    I have an issue with DTP in process chain.
    Actually we have a process cahin in quality as well as in development and production,the structure of chain in production and development is same but the structure in quality is not matching.we are getting 1 additional DTP in the chain in quality system .when we run the chain it get fail at the additional DTP,and the process cahin get stopped.
    now iam not able to find out wher from this additional DTP came and how to find out wher exactly it is from and how to restart the chain.
    can anybody help me out?Its very urgent for me.
    Regards
    sk

    Hi,
    I have asked u to deschedule the process chain and then Check the Process chain using the Check View..
    I think that this is a dummy process which has got added when u have done the transport.
    Check if u can see the error DTP when u check.. then u can delete this DTP as this is a Dummy one.. and then link the processes if the link breaks bcz of this... and then check the PC again, and activate the same..
    Finally u can use PC after this..
    Thanks
    Assign points if this helps

  • Batch determination issue in process order Material quantity calculation

    Dear Gurus,
    We are facing issue in auto batch determination in process order (Material quantity calculation ).
    eg Material X  is active material 200 KIA used in BOM as
    10  X   200  KIA  
    20  Y   10           Filler
    30  Z
    40  X   200  KIA
    50  Y
    60  Z
    We select line item 10 and 40 and do Batch determination system proposes 2 batches for line item 10 as Batch A and B
    and for line 40 again Batch A (with 0.01 KIA) and batch B proposed which is wrong.
    For line Item 10 Batch A and B
    For line Item 40 Batch B and C or as per FIFO logic.
    As Batch A should be consumed in Line item 10 then it proposed Batch B and so on....
    We have already maintain data in COB1.
    Can any body explain what is wrong in determination.
    Regards,
    J.H.Pert

    Hi Pert,
    Follow the below link you have some idea OK.
    Any questions revert me back.
    Batch search strategy
    Regards,
    Madhu.G

  • Issue with processing time of JDBC receiver adapter

    Hi all,
    We are using PI 7.1 EHP1.
    We have an issue with JDBC receiver adapter taking too much time to process messages.
    We are using XML SQL format message protocol with INSERT_UPDATE as the document format.
    Each message can contain multiple records, i.e. 1 single message can result in many updates/inserts.
    Currently, time taken to process in 6-12 secs which is quite high considering the messages are not very large in size.
    We sent the statements to Oracle DBA to see if anything about the queries being used is causing issues. Awaiting inputs.
    In the mean time, wanted to check if there is anything that can be done from PI side that will help us improving the processing time.
    Thanks in Advance,
    Sailaja.

    Hi,
           i think the main cause is  query taking long time to execute in DataBase.
          -> increase the read time and response time in the JDBC receiver adapter.
      In the advanced mode table section of sender channel and receiver channel configurations, we can set driver properties for each DB connection. Any such property would have to contain prefix 'driver:'(with out quotes).
    For Oracle Database JDBC thin driver 10.2.0.3 version, the property oracle.jdbc.ReadTimeout helps to set read timeout while reading from the socket. Also for setting login time out in Oracle, we use oracle.net.CONNECT_TIMEOUT. To set these two properties use as follows: driver:oracle.jdbc.ReadTimeout 1000 driver:oracle.net.CONNECT_TIMEOUT 1000 The TimeOut Driver properties like ReadTimeout and CONNECT_TIMEOUT are in milliseconds.
    Refer note 1078420 for more details
    please go through this blog i hope it will help you.
        http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
    regards,
      ganesh
    Edited by: ganesh.nijampudi on Oct 25, 2011 12:00 PM

  • Small issue in Process Chain

    Hi Dudes,
    I have small problem in Process chain.
      1)Start
      2)Load  :
      3)activate : Always
    when i ran my PC ,due to some problem my Load Process type got fail.
      But after that i have actiavte Process type(PT) which should run whether Load PT is in success or fails .
    But it got stuck due to message "Status Change of Process LOADING ZPAK_EFAJ6WFZPJPA7MWVSZXETN4PE.
    Save Status and Trigger Events if Appropriate"
    with two option yes and no.
    when i click on yes then only it goes .
    But if i would run and nobody around then i would gets stuck at that point only .
    Is there any solution for that !!
    Hope i m clear toexplain u my problem
    every person will get the point
    Gain Points

    I do understand what u r saying.
    But I have given an example. Why that message box comes.
    Can’t we suppress automatically?
    Suppose had I been have a process type which send a mails after load status whether it fails or success at that point this could be an issue ??.
    So if it would be stuck like this then it could not send a mail.
    Hope u have understood my problem .
    or if u want in detail give me ur id i send u screen shot
    Gain Points

  • Lockbox Issue - Post process

    Hi all !
    Could please someone help me?
    I have done the lockbox config for another company code and tested with a sample file. Here, I am getting a strange error
    “When I executed the file in FLB2 there its showing all the items as applied with an error message (format error in the field COBL_PRCTR  as I got earlier) and even I checked the cleared items in FLB5N and there also its showing as cleared and when I am going to FLB1 to post process there its showing as Unprocessed. and when I am trying to double click payment advice number there , i am getting the message that the payment advice with that number is not created."
    could someone please tell me why is this happenening? and also tell me how to resolve.
    Points will be rewarded.
    Thanks

    Hi,
    Did you check the field status group for the clearing account and Bank account, as Profit Center field may be a mandatory field.
    Thanks
    Murali.

  • RKKBABS0 Performance Issues (Background Processing of CO99) for PM Orders

    We are experiencing extremely long run times when batch processing through program RKKBABS0 in ECC 6.0 (just upgraded). The issue appears to be that the program is using the production order numbers to search against the EXKN table which contains no AUFNR or AUFPL information.
    Has anyone experienced this same issue and how was it resolved?
    Edited by: Ken Lundeen on Apr 9, 2010 9:17 PM
    Edited by: Ken Lundeen on Apr 9, 2010 9:17 PM Table ESKN

    (I'm sorry you've waited over a year for a reply.)
    We also have performance issue. In our case we do not use Service Entry sheets with maintenance or production orders; AUFNR will not be populated in table ESKN.  We are unable to 'complete business' our maintenance and production orders using batch processing because of performance.
    We use Oracle database, which uses full table scan in this situation.  But Secondary index (MANDT and AUFNR) is of no value anyway, we have about 12 million records with client and blank AUFNR field.
    Our solution is a combination of a modification and a new index.  OSS pilot note "1532483 - Performance of RKKBABS0 CHECK_ENTRYSHEET when reading ESKN" is a modification which introduces code improvements especially if running in background and closing several orders.  Because we only have one client, we also created a new index consisting only of AUFNR.  Oracle will not add a row to the secondary index of all fields of the index are null, making our new index very small. We then udpated Oracle stats to ensure Oracle would choose our new index.
    We can now 'complete business' a single order online in under a minute, and the batch program runs much more efficiently.
    This is not a perfect solution, but it has been a useful workaround for us.  I hope this is useful to you.

Maybe you are looking for