2LIS_02_ITM (When BW receive value " ", "X", "R" Reversal indicator

Hi !
    I Have an issue (I think is issue)...with extractor 2LIS_02_ITM about reversal or deleted indicator….
Some PO are created on R/3 and mark for deleted some line items… I try or I hope  received a “R” indicator…. But I didn´t receive the indicator…..
     I only receive “X” on this field.. (delete indicator). or in other examples  blank on this field
    What’s the difference between “X” , “R” and blank indicator?... when is posible receive X, R or blank value??
    I was thinking that when on R/3 some lines of PO orders were deleted.. I receive "R" indicator when I extract to  BW (on the PSA)... but I didn't...
   If you know how work this kind of cases or examples, please explain me more.. or let me know where can I find more information please.
    I will assign points to all the answer.
   Thank you
Alice

thank you for your help.
I understand now how work.. before and after image Arjun, and I would like to know why in my example I can´t receive de deleted mark for the record that was deleted on sorce system.
Let me explain you the details:
We have an issue on extractor 2LIS_02_ITM.
We have one PO with some positions… for this example I will explain about position 30 and 40.
The position 30 has movement related and position 40 just was created and then mark for deleted.
I hope that in BW we will receive a indicator for position 40 for deleted and then later on BW. The same for position 30, but I don’t see after I process this information that this position are deleted on BW… this mean that position 30 and 40 continue like active.
PO: 6500378341 exist on R/3 and the position 30 is mark for deleted and the position 40 too...
The difference between these two position are that: position 3 has an history…this mean movement related, and the position 40 has not movement or history…
Position 30..with history.....
Position 40… without history..
On RSA3 on R/3, you can see that position 40 on Annulations field its blank “ ” … instead of on position 30 this field contain “X”
When we extract to BW.. position 40… Blank on field Reversal indicator
When we extract to BW.. position 30… “X”  on field Reversal indicator:
After process into BW this package… we have this:
You can see that position 30 and 40 exist and these didn’t deleted.
This is the ABAP code for start routine
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line  -
INCLUDE RS_BCT_MM_UPDATE_RULES.
DATA G_PRICE_UNIT TYPE REF TO DATA.
FIELD-SYMBOLS  TYPE ANY.
CONSTANTS C_PRICE_UNIT TYPE STRING VALUE
  '/BIC/CS2LIS_02_ITM-price_unit'.
$$ end of global - insert your declaration only before this line   -
The follow definition is new in the BW3.x
TYPES:
  BEGIN OF DATA_PACKAGE_STRUCTURE.
     INCLUDE STRUCTURE /BIC/CS2LIS_02_ITM.
TYPES:
     RECNO   LIKE sy-tabix,
  END OF DATA_PACKAGE_STRUCTURE.
DATA:
  DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
       WITH HEADER LINE
       WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
FORM startup
  TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
           MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
           DATA_PACKAGE STRUCTURE DATA_PACKAGE
  USING    RECORD_ALL LIKE SY-TABIX
           SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
  CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line        -
fill the internal table "MONITOR", to make monitor entries
see OSS note 627498
  DATA: V_MATERIAL   TYPE /BIC/OIZMATERIAL,
        V_UMB        TYPE /BI0/OIBASE_UOM,
        V_NUMER      TYPE /BIC/AZGTO_O0200-UOMZ1D,
        V_DENOM      TYPE /BIC/AZGTO_O0200-UOMN1D,
        V_CANTUMB    TYPE /BIC/OIZCANTUMB,
        V_ZPRODUCT   TYPE /BIC/OIZPRODUCT,
        WA_DATA_PACK LIKE DATA_PACKAGE,
        IDX        TYPE SY-INDEX.
see OSS note 627498
  LOOP AT DATA_PACKAGE INTO WA_DATA_PACK.
    IDX = SY-TABIX.
    IF ( WA_DATA_PACK-PROCESSKEY NE '001' AND
         WA_DATA_PACK-PROCESSKEY NE '011' AND
         WA_DATA_PACK-PROCESSKEY NE '021' AND
         WA_DATA_PACK-PROCESSKEY NE '002' AND
         WA_DATA_PACK-PROCESSKEY NE '012' AND
         WA_DATA_PACK-PROCESSKEY NE '022'
       ) OR
see OSS note 636914
       WA_DATA_PACK-ORDER_QUAN EQ 0 OR
       WA_DATA_PACK-NUMERATOR EQ 0 OR
       WA_DATA_PACK-DENOMINTR EQ 0.
      DELETE DATA_PACKAGE INDEX IDX.
see OSS note 690106
   ELSEIF DATA_PACKAGE-recordmode EQ 'R'.
     DATA_PACKAGE-recordmode = 'X'.
*Note 530706 - Deleting records in 0SD_O01, 0SD_O03. 0PUR_O01, 0PUR_O02
      DATA_PACKAGE-storno = 'X'.
*Note 791334 - 0PUR_O02/0PUR_C07/0PUR_C08: value key figures are wrong
      DATA_PACKAGE-NET_PO_VAL = 0.
     Note 791334
*Note 530706
    ENDIF.
**---  CALCULO DE UNIDAD DE MEDIDA BASE
       (Lógica Copiada de transformación del Gasto)
    CLEAR: V_UMB,       " Unidad de Medida Base
           V_MATERIAL,  " Material en Homologado
           V_NUMER,     "
           V_DENOM,
           V_CANTUMB,   "Cantidad en UMB
           V_ZPRODUCT.
  Si la posición del pedido no tiene material no aplica el calculo
    IF NOT WA_DATA_PACK-MATERIAL IS INITIAL.
      CONCATENATE WA_DATA_PACK-/BIC/ZSOURCE WA_DATA_PACK-MATERIAL
             INTO V_ZPRODUCT.
      Buscar unidad de medida
      SELECT SINGLE BASE_UOM /BIC/ZMATERIAL
              INTO (V_UMB, V_MATERIAL)
              FROM /BIC/PZPRODUCT
             WHERE /BIC/ZPRODUCT = V_ZPRODUCT
               AND OBJVERS       = 'A'.
          Si encontro el zproduct
          IF SY-SUBRC = 0 AND WA_DATA_PACK-ORDER_QUAN NE ' '.
            Comparar las unidades
            IF V_UMB = WA_DATA_PACK-PO_UNIT.
              Si son iguales pasan igual
                WA_DATA_PACK-/BIC/ZCANTUMB = WA_DATA_PACK-ORDER_QUAN.
                WA_DATA_PACK-BASE_UOM = WA_DATA_PACK-PO_UNIT.
            ELSE.
              Buscar UMB en ODS
                SELECT SINGLE UOMZ1D UOMN1D
                  INTO (V_NUMER, V_DENOM)
                  FROM /BIC/AZGTO_O0200
                 WHERE /BIC/ZSOURCE   = WA_DATA_PACK-/BIC/ZSOURCE
                   AND /BIC/ZMATERIAL = V_MATERIAL
                   AND UNIT           = WA_DATA_PACK-PO_UNIT
                   AND BASE_UOM       = V_UMB .
                  IF SY-SUBRC = 0.
                    IF  V_DENOM IS INITIAL.
                        V_CANTUMB = 0.
                        WA_DATA_PACK-/BIC/ZCANTUMB = V_CANTUMB.
                        WA_DATA_PACK-BASE_UOM =  V_UMB.
                    ELSE.
                        V_CANTUMB = ( WA_DATA_PACK-ORDER_QUAN * V_NUMER
                        ) / V_DENOM.
                        WA_DATA_PACK-/BIC/ZCANTUMB = V_CANTUMB.
                        WA_DATA_PACK-BASE_UOM = V_UMB.
                    ENDIF.
                  ELSE.
                      WA_DATA_PACK-/BIC/ZCANTUMB =
                      WA_DATA_PACK-ORDER_QUAN.
                      WA_DATA_PACK-BASE_UOM = V_UMB.
                  ENDIF.
            ENDIF.
          Si NO encontro el zproduct
          ELSE.
            WA_DATA_PACK-/BIC/ZCANTUMB = WA_DATA_PACK-ORDER_QUAN.
            WA_DATA_PACK-BASE_UOM = WA_DATA_PACK-PO_UNIT.
          ENDIF.
    ENDIF.
    IF WA_DATA_PACK-LOC_CURRCY CS 'MXP'.
      MOVE 'MXN' TO WA_DATA_PACK-LOC_CURRCY.
    ENDIF.
    IF WA_DATA_PACK-ORDER_CURR CS 'MXP'.
      MOVE 'MXN' TO WA_DATA_PACK-ORDER_CURR.
    ENDIF.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT  = WA_DATA_PACK-COMP_CODE
      IMPORTING
        OUTPUT = WA_DATA_PACK-COMP_CODE.
---  ASIGNAR los cambios al registro actual
    MODIFY DATA_PACKAGE INDEX IDX
          FROM WA_DATA_PACK
          TRANSPORTING ORDER_CURR COMP_CODE LOC_CURRCY
                       /BIC/ZCANTUMB  BASE_UOM .
  ENDLOOP.
if abort is not equal zero, the update process will be canceled
  ABORT = 0.
$$ end of routine - insert your code only before this line         -
I really appreciate your help or comments
Thank you.
Alice

Similar Messages

  • Different values in GR reversal !

    Hi All,
    I ahve done a GR receipt with value 1 and then posted an invoice of value 33000. Now when I try to do the reversal of the GR document using MBST I get the reversal document with value -33000 from the invoice.
    Again I changed the PO value to 33000 and posted a GR. GR had value 33000. After that I changed the PO value to 1 and then reversed the earlier GR. But I get the reversal document value as -33000 and not as 1 from the PO.
    Is this behavior right?
    Regards,
    V S

    Sorry, this is the worng forum!!

  • T.code/Report for calculate received values for a subcontract

    Hi Experts,
    Can you any one help on this issue.
    u201CIs there a T-code/report that will calculate the received values for a subcontract  broken out by code - or remaining values per code - even when the contract has non-valuated GR lines?
    MATDOCS does not capture the dollar value of non-VAL GR lines - only the qty. It captures the dollar values of valuated GRs only.
    ME2N - captures the total remaining value at the Item level only - not at the code level; the codes are all listed but as in the initial account assignment tab ME23N with the original percent assignment.  It does not determine remaining value per code.u201D
    Thanks in advance.
    Mohammad Jeelan

    hi
    try MBLB

  • Starting BPEL when email received - Oracle 11g

    I'm trying to start a BPEL Process with the reception of an email.
    - I'm working with Oracle 11g
    - Usermessagingserver is installed and configured to the correct server and it's working, at least it shows received emails and it's able to send emails from a BPEL process
    In the BPEL that has been done to start with the reception of an email I have the following:
    <partnerLink myRole="Consume_Message_role" name="Inbound" partnerLinkType="ns1:Consume_Message_plt"/>
    Inbound_jms.jca has the following configuration:
    <adapter-config name="Inbound" adapter="Jms Adapter" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/wls/Queue" UIConnectionName="soa-server" UIJmsProvider="WLSJMS" adapterRef=""/>
    <endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
    <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
    <property name="DestinationName" value="OraSDPM/Queues/OraSDPMEngineRcvQ1"/>
    <property name="UseMessageListener" value="true"/>
    <property name="PayloadType" value="BytesMessage"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    When usermessagingserver receives an email message, the BPEL doesn’t start and I get this message in the log:
    PM oracle.sdpinternal.messaging.EngineReceivingCoreBean processMessageCommon
    WARNING: There is no application that has registered this address as an access point. Message will not be delivered.
    I have no idea how to configure an access point, I've only found how to De-register from Messaging Client Applications in the usermessagingserver.
    Found this documentation about registering access points, from an sample application of usermessaingserver in [http://download.oracle.com/docs/cd/E12839_01/doc.1111/e13807/ns_java_api.htm|http://download.oracle.com/docs/cd/E12839_01/doc.1111/e13807/ns_java_api.htm]
    but I cannot find where to download the example from the documentation.
    Any help appreciated.

    Does anyone has some input on this issue?
    I want to do the same thing, but I don't know how to...
    Thanks

  • Settlement Receiver Value not Saved in Table Control Program

    Hi,
    I have Table control program regarding to Equipment Log, where in output it show the Equipment details with Account assignment category, General settlement receiver, Shift Hours, Work Hours, Idle Hrs, Maint. Hrs., Production Hours etc...
    In report, we have a formula i.e.
    Shift Hrs. = Work Hours + Idle Hrs + Maint. Hrs. + Production Hours.
    and all those fields are linked to each other.
    If we want that Work Hours should be 0, then msg showing - Working Hrs. should be entered. , means without enter Working Hrs. value we cann't save it.
    Now we removed the link of Working Hrs to others, means if we insert value 0 of Working Hrs., no msg showing. BUT Problem is this after remove this link, General settlement receiver value should not be saved.
    We want Work Hrs. as 0 value and General settlement receiver value must not be BLANK. It should be Saved.
    Plz guide..

    hi
    write a if statement after the Shift Hrs. = Work Hours + Idle Hrs + Maint. Hrs. + Production Hours.
    if work hours = 0, message i000 with 'Working Hrs. should be entered'.
    else ,write:/ shift hrs.end if. try to create a button for save when you click data will be saved or create a subrountine perform shift hrs than use if loop and select form end form inside keep Shift Hrs. = Work Hours + Idle Hrs + Maint. Hrs. + Production Hours.
    thanking you

  • Invoice Date needs to be date when Customer receives goods

    Client when shipping by sea would like the Invoice Date to be the same day the customer received the goods, basically the Pick Up Date even though the delivery might have been 'shipped' from the jetty.
    How can this be done? Would the Invoice Date be the Pick Up date?
    Sanjib

    Hi,
    I guess you're asking about OM shipping and AR invoices. If you have invoicing at line level, as soon as you ship a line, OM insert a line into AR interface and this line is ready to be imported into AR. If you ship from USA to Europe by sea it will take about 10-15 days to goods be delivered. As invoice date is defined when you import it into AR, in order to achieve your requirement, you will not be able to import your invoice into AR and will not have info on Receivables. Or do you want to import your invoice into AR as soon as goods are shiped and change the invoice date when customer receives them?
    In the first option, you could do the following: define two AR batch sources: AIR and OTHER, for example. The first one will be used to sea shipping and the second one to ground or air shipping. In the first AR batch source, uncheck derive date. In OM, define two order types: OT_AIR and OT_OTHER, one to sea shipping and other one to ground/air shipping. In order type AIR, define AIR as batch source, and in OT_OTHER define OTHER as batch source.
    Normally import your transaction with batch source OTHER into AR. For the orders shipped by sea, you will have to import them one by one. As soon as you receive the customer acks, go to ar autoinvoice and import the order received by the customer and define as default transaction date the date informed by the customer.
    I know it is not a good solution, so I think you will need some custom to have it done.
    Hope it helps,
    Ketter Ohnes

  • When i receive emails they are deleted and i do not know why

    I have an IPad Air version 7.1.2 and model MD787LL/A and it has 56.6 gb. When i receive emails the automatically delete themselves and i cannot figure out how to stop this. Can anyone help me with this please.
    Richard

    If you're using an IMAP account, also check your other devices to be sure you don't have some filters or rules set up that either delete or move emails to subfolders. You can see all Emails on your iPad, but displaying the sidebar showing Mailboxes, tapping the email account you are having trouble with (NOT the Inbox, but the section below), then tapping All Mail or something similar depending on your provider.
    If the mails are there, they are somehow being moved by one of your mail clients or by a rule you set up with your provider.

  • HT4623 My Ipad is saying that i need to type in a Sim code to unlock, but i do not know what it is...I have tried every code i could think of and also the one that it originally was when i received my Sim. How do i unlock my ipad or change my sim pin?

    My Ipad is saying that i need to type in a Sim code to unlock, but i do not know what it is...I have tried every code i could think of and also the one that it originally was when i received my Sim. How do i unlock my ipad or change my sim pin?

    Hi Mikki.J.H,
    Thanks for using Apple Support Communities.  This article has some information regarding SIM PINs that may help:
    iOS: Understanding the SIM PIN
    http://support.apple.com/kb/ht1316
    Cheers,
    - Ari

  • When I receive appointments by email and accept them they go into the enourage "on my mac" ical calendar which is not synced with mobileme.  How do I change where appointments are put ?

    When I receive appointments by email and accept them they go into the enourage "on my mac" ical calendar which is not synced with mobileme.  How do I change where appointments are put ?
    Or how can I choose where the appointment is put ?
    I use the mobileme sync services so the ical calendars that are synced are those in the "[email protected]" group.
    Please help !
    Nick

    Actually you can't drag the appointment to ano calendar - its says "You can’t make changes to this invitation., Only the organiser can change this event"
    Also if you double click on the received appointment and open the window the only calendars shown that you can select are the 'on my mac" ones, and not the sync'd ones.
    Any ideas welcome !!
    Nick

  • The names of my contacts are not showing up when I receive text messages

    The names of my contacts are not showing up when I receive text messages, only the number is showing up. How can I fix this?

    This is a HUGE iOS bug.. Following a tip from another poster, I was able to fix the issue (temporarily).
    This worked for me on Verizon.
    I dialed *228 on my Verizon phone. I pressed "1" to activate it over the air. I then went into task manager and killed all the running apps.. Waited a few minutes.
    The next text I got displayed the number correctly!.. Until I rebooted, that is.
    PLEASE, call Apple and speak with a senior engineer on this. They can't fix it if they don't know it's a problem! (800) MY-IPHONE

  • When I receive and answer e-mail, the correspondence is usually "nested" with the original message, and the number of replies, etc. are indicated with a number next to the original message.  How can I change the mail settings so that every reply is listed

    When I receive and answer e-mail, the correspondence is usually "nested" "behind"  the original message, and the number of replies, etc. are indicated with a number next to the original message in the inbox.  How can I change the mail settings so that every reply is listed individually in the inbox instead of having them "stacked" behind the original message.  I'm afraid I might accidentially overlook messages the way they are handled now.

    Somebody here will correct me if I'm wrong, but what you have to do is go into Settings, Mail/Contacts/Calendars and under Mail, turn off "Organize by Thread".  I think that will make each message show individually.

  • When I click on a link in an email, it does not automatically open the site page? When I receive an email with a link in it, if I click on the link to open the page, nothing happens. It does not open the internet to that page.

    When I click on a link in an email, it does not automatically open the site page?
    When I receive an email with a link in it, if I click on the link to open the page, nothing happens. It does not open the internet to that page.

    I don't appear to have a toolbar either.

  • I think i hit some important key accidentally. something changed.  now when i receive photos, they only appear in the message and i have no thumbnails nor a way to download.  those same e-mails with photos do fine on the iPad/iPhone, so it is my computer.

    something changed on my computer after i accidentally hit some key.  when i receive e-mails now with photos the images appear in the message
    but no thumbnails nor way to download.  these same messages are fine on the iPad and iPhone.  so, it is my computer that is awry.  any keyboard
    way to have the computer show thumbnails and to be a able to click and download these images?  i've tried everything i can think of. 

    Using the Title to post the full question... ;-)
    Snow Leopard Mail
    iPhone
    iPad
    http://www.apple.com/support/mail
    (This is Mac workstation community.)

  • HT204387 How can I get my bluetooth headset to ring in my ear when I receive a text?? It works just fine when I get a call because I set it up that way when I went to settings

    I connected my iPhone 4S to a bluetooth headset, and I went to setting/general/access ability/ and whatever else to set it up to where when I receive a call it goes to my headset automatically, but when I receive a text it doesn't come through to my headset. How can I make my text ringtone go to my headset??

    The headset must support A2DP audio streaming and the notification sound has to be long enough that it actually kicks in and plays it.

  • Is there any way to keep the flash from going off when you receive a text or other notification?

    I have an iphone 4s.  Is there any way to keep the flash from going off when you receive a text or other notification?  I keep it next to my bed at night and keep thinking there is lightning when something comes thru.  LOL

    Go to Settings>General>Accessibility and turn LED Flas for Alerts to Off.

Maybe you are looking for

  • Addition of New Column name "Qty" in user defined layout for CJR2

    Hi Friends, I am going thorugh variurs posts but could not a fetch correct answer. If that was available and missed, sorry about that. My requirement is, wanted to have new user defined layout which would be copied from 1-701 (CJR2). The layout shoul

  • Meet The Expert Session 1 With Pat Smith Now Closed...Session 2 Starts at 8:00 PM EST

    Thank you for all the great questions and feedback. Pat Smith is off to go work on making self-service even easier and will be back at 8:00 PM EST to answer some more of your self-service questions. We'll leave this board open so you can post your qu

  • XSD Namespace and WSDL Namespaces

    Hi, I have a wsdl in which I'm defining a xsd schema in the <wsdl:types> element. Can we have same targetnamespace for both (wsdl) and (xsd that is defined in wsdl <types> element) ?? Please clarify. Thanks Edited by: bpeltechie on Jul 5, 2012 2:17 P

  • SCENARIO IN ID AND INTEGRATION SCEANARIO IN IR

    Hi experts,                     Pl let me know   "What is the difference between SCENARIO  in ID and INTEGRATION SCENARIO in IR.  When and where we opt one among them.   How they r not same."

  • Padded Spaces

    I have a set of flat files that I am loading into oracle through OWB, I need to be able to convert the char character to a varchar and to delete the 'white spaces in every field'. I have tried using a trim function but receive the following error:- S