ROCANCEL - Reversal Indicator Issue
Hello,
I created a desing using the extractor 2lis_11_vaitm to manage the change documents from R/3.
The documents are flowing in to the DSO correctly except in the cases of Reversal Indicator = X.
All the values for the Characteristics are blank except for the key field, which is ofcourse the normal behaviour of the extractor.
E.g.
CH_ON / DOC_NUM/ITEM # / SOLD_TO / MATERIAL / SUBTOT_2 /CALDAY
10/17/2007 0030000186 000010 -
1,655.00- 00/00/0000
10/17/2007 0030000186 000020 -
4,137.50- 00/00/0000
10/17/2007 0030000186 000010 0010000406 130000000178 1,665.00 10/17/2007
10/17/2007 0030000186 000020 0010000406 130000000179 4,137.50 10/17/2007
You can see that the Calday / Material / Soldto the values are blank except for the Key Fields and the Key Figures.
I know I can handle this using another level of DSO and read the values and populate.
But I would like to get some help from any one to handle this scenario within the update rule or with any other method to handle the Reversal Indicator / ROCANCEL and populate these fields since I have these values in the PSA.
Appreciate your feedback.
Thanks
Sundar
Sundar!!!
I don't understand why the other fields are blank in the DSO but not blank in the PSA, if the issue is with reversal indicator, then the reversal should happen to all the fields instead of specific once, let me know what is happening. May be you are havening more than one update to the DSO from different extractor and reversal is being sent from both and one is deleting the other one.
thanks.
Wond
Similar Messages
-
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
Whats 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
Alicethank 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 dont 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 didnt 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 -
BAPI to reverse Goods Issue for movement type 601
Hi Everyone,
Does anyone know of any BAPI that could be use to reverse Goods Issue for Movement type 601?
I tried using BDC of transaction VL09 and was able to reverse the GI document successfully but the return message type was 'E' with unreadable message -
Tabelle 'E' enth#t keinen Eintrag f# 'Ch 004 &'
When I tried using BAPI_GOODSMVT_CANCEL, I get the error message 'E M7 130 Material document cannot be processed'.
Best Regards,
Junwenhi, Junwen!
the following code works pretty well:
fp_vbeln = vbeln_val.
fp_budat = budat_val.
fp_tcode = 'VL09'.
fp_vbtyp = 'J'.
CALL FUNCTION 'WS_REVERSE_GOODS_ISSUE'
EXPORTING
i_vbeln = fp_vbeln
i_budat = fp_budat
I_COUNT =
I_MBLNR =
i_tcode = fp_tcode
i_vbtyp = fp_vbtyp
TABLES
t_mesg = it_mesg
EXCEPTIONS
error_reverse_goods_issue = 1
OTHERS = 2.
luck. -
GL line item not show reverse indicator
Hi Guru !
I have problem about GL account that assign account management to be line item so when post entry and reverse entry by use this GL account ,when I see report on t.code FBL3N-GL line item ,they did not show indicator of reverse entry so it difficult to check so I would like this report to reverse indicator or there are some report that can show it . thank you very much.
BlueskyHi,
Please check the document type which is used for posting the document. For the document type, the check "Negative posting Allowed" might have been ticked. as a result new line item is not posted. The original line item itself is reversed. May be this is the reason why you are not getting the reversal document.
Thanks,
Aman -
Reversal Indicator Field Not reflecting Correctly In BW
Hi All,
The deletion indicator coming from the DataSource 2LIS_02_ITM is not working properly for few entries and in BW its mapped to Reversal Indicator (Storno)
When we checked, we found that the deletion indicator is not working for the items which are non-statistical in a Purchase Order.
The problem is the Non statistical items when deleted in a PO in R/3, in EKPO table the deletion indicator is set to 'X' for these PO's but when extracted into BW the Reversal Indicator Field is coming as blank but it should be reflected as "R" as per OSS note 578471. But these changes are not getting reflected into BW.
Any suggestions guys?
Thanks.AM,
Also, what is happening is that the record with KF's as negative and Reversal Indicator as "R" is coming in PSA as well as in New Data table, but when activated its disappearing from the new data table.
Finally its displaying in Change Log table with both the records i.e original one and the deleted one but again without Reversal Indicator "R".
--> This behavior very much fine. Datasource:2LIS_02_ITM is to load for CUBE not to ODS.
Please answer below:
--> Are you loading data into an ODS in Additive or Overwrite mode..?
--> 0RECORDMODE mapped to storn(cancel indicator...?)
If you load data into cube, then it works fine
Srini -
Possibility of reversing Goods issue and delivery of one line item
Hi experts,
Is there a possibility of reversing Goods issue for only one line item and also the delviery for that line item so that i can make changes in the sales order for that line item only.
Appreciate your response.
Regards,
krishnaHi Laxmipathi & Rithvika,
Basically the issue is in the sales order there are around 90 line items out of which most of them has been processed the delivery and GI and even invoices has been made for some.
While doing so, there are about 5-6 delivery docs has been created for the 90 line items.
Now, we need to change some data for few line items , for this we dont want to do reversal for all the line items and again do a delivery and PGI as these line items are in various delivery docs.
Let me know , if there is anyother way of doing it or we should follow the normal process of doing it all again.
Regards,
krishna -
How to reverse goods issue for delivery note by using IDoc
Hi all,
I would like to reverse goods issue and picking request for delivery note by using inbound IDoc.
I used message type SHPCON and IDoc type DEVLRY03 for posting goods issue in inbound processing and it's work but I couldn't find solution for posting reverse goods issue.
Pls let me know which IDoc type or any ways for posting goods issue reversal and cancelling picking request.
Thanks for your time.
Su R.Hello,
For this requirements we can actually follow two Approaches that I can think of. Here they are.
Approach 1
Little Complex Approach. What we can do is to make use of the Same Function Module (Posting Program) IDOC_INPUT_DELVRY to do the Delivery Updates (Except reversing the Goods Issue). During this, we can make use of one of the Customer Functions available in the Enhancement V55K0001 and satisfy our Requirement.
Approach 2
We can actually code a Custom Posting Program (Function Module) in which the first part will take care of updating the Delivery & if the PGI is done, then we can make use of the Function Module BAPI_GOODSMVT_CANCEL to reverse the PGI.
I think the later Approach is much easier rather than going for the Standard Function Module (Posting Program), Exits and find a place where we have to find another Enhancement Spot / Enhancement where we can call the above FM to Cancel the Goods Movement.
Hope these inputs were helpful.
Thanks and Regards,
Venkat Phani Prasad Konduri -
Delta load and PSA Reversal Indicator
Background:
After delta loading BW from R/3 Billing I noticed there were more records in the PSA than R/3 billing items. I found that some records had 3 duplicate records. The first was the orginal document from R/3. The second was the same with negative key figures and a reversal indicator. The third is the same record as the first. R/3 has only one record for these three.
Question:
1. Why was this record reversed in BW when there is no reversal in R/3?
2. Will the first occurance of this record post to the ODS load with the unique records option on?
Thanks for any quick answers!
New BW Analyst - AlanHi dear and welcome on board !
What you are seeing in PSA is the normal behaviour of Logistic Cockpit datasources...
In this way, thanks to BW, you can analyze all the history for every single billing item (that, clearly, in R/3 will continue to have only one record in VBRP, with all latest and updated info).
In other words R/3 reversal overwrited the unique record in VBRP, while BW stores this change !
About your second question, you don't have to flag in ODS the "unique records" option, since, clearly, you will receive a lot of records for the same key !!!
Hope now is clearer...
Bye,
Roberto
...and please don't forget to reward the answers...it's THE way to say thanks here !!! -
Reversal Indicator Field in View
Hi All,
I have created a View on VBAK, VBAP,VBKD, VBEP tables.
DO i need to maintain reversal indicator field in This view.
Can any body suggest me on this.
Regards,
SriHi
I dont think you need to indicate.
Regards,
Chama. -
Significance of the field "REVERSAL INDICATOR"
hI gURUS,
I am trying to load data from R/3 source system to BW.
I have a key field where data is positive but when it is getting transferred to BW it is getting zero.
I checked in PSA, data is there but I have a field "REVERSAL INDICATOR" whch shows alternate 'X' values.
Do u know what is the significance of the field "REVERSAL INDICATOR"?
thanks
ViVAThe records which are cancelled in R/3 will be shown with reversal indicator 'X'.
Suppose you have loaded a particular document already into BW.Afterwards when you change the document and push the data into BW the BW server has to cancel the old record and add the modified one.
The extractor then creates 2 records one with 'X' (the old value)and another one with NULL (new value) in reversal indicator.
The reversal indicator is mapped to 0RECORDMODE of the data target and during compression the data will get aggregated.
See the below link for more information
Run RSA3 on 2LIS_02_ITM gets duplicated data!
Regs
Gopi
Assign point if it helps .. -
Hi,
I have added Reversal Indicator(BKPF-XREVERSAL) field to my layout in FBL3N, but this field is not populating the values by default whenever I execute the report. It is populating the values only when I go the change layout option.
Why system is behaving like that?
RgdsDear:
After running the report FBL3N ,1st fetch the Revrsal Reason code from change layout button at its desired place, The go to Menu....Setting--Layout-Save the layout with name starting from /. Now go to same setting menu....Layout---Adminintration. Here check the layout as defualt layout by selectinf the layout and pressing shift+F8. Now every time you will run report you will have the same defualt layout that you saved with reversal reason. Revert in case of confusion. You can also make the layout as user specific while saving it. Furhter make sure before running report that in the List Output the layout has been set the one you made... List output can be found in the main screen of FBL3N.
Regards
Edited by: Atif Farooq on Feb 15, 2011 2:27 PM
Edited by: Atif Farooq on Feb 15, 2011 2:41 PM -
Hi all,
I am not able to reverse good issue, through vl09 even after reversal of Invoice. the message is coming as no document found.
regards,
vandana aroraA: reverse goods issue
1.First step si bu useing the VF11 you have to cancel the invoice
Read other 6 answers
2.VLO9 enter the no and delete the quintity
Goods issue reversal means that you cancel the goods issue posting for a delivery. This function enables you to remove the posting without having to create a returns delivery and then having to post a goods receipt for it (see also Processing Returns After Goods Issue Posting). This function can be especially useful if you have accidentally posted goods issue, for example, and you would like to reverse it. Goods issue reversal usually occurs shortly after goods issue posting.
Integration
The cancellation document is integrated in the document flow of the delivery.
Prerequisites
Goods issue reversal is only possible for movement types for which a reversal movement type is defined in Customizing. Therefore, if you have defined your own movement types for goods issue, you must also define the respective reversal movement types and assign them to the movement types for goods issue.
Range of Functions
When you reverse goods issue for a delivery, the system creates a cancellation document that adopts the quantities and the valuation from the original goods issue document, and also executes the respective value and quantity posting to stock.
Like the goods issue posting, the goods issue reversal is only possible for the entire delivery. You cannot reverse goods issue for only part of a delivery.
After the reversal, the goods movement/goods issue status of the delivery is reset to Not yet started. In this way, the delivery can be processed further as required. The system also resets the delivery requirements.
If the delivery has already been billed partially or fully, the goods issue reversal is only possible after the billing document has been cancelled.
For goods issue reversal, you can only select deliveries that have not yet been billed fully or partially, or whose billing has been cancelled.
Procedure
From shipping, choose Post Goods Issue ® Cancellation/reve... [Show more] -
COPA char, reversal goods issue....
Hi All,
When we do goods issue to a sales order the COPA document has all the characteristics.
However when we do a reversal of goods issue the COPA document generated does not contain all the characteristics especially the sales order.
Does anyone know how do i populate sales order char in COPA doc for a goods issue reversal scenario.
Thanks,
PrashanthPlease use the guide below in doing reversals
Overview
Steps Owner
(1) Reverse invoice through: VF11 Finance group
(2) Delete the shipment costs attached to the shipment: VL02 Warehouse
(3) Reverse goods issue (GI) through: VL09 Warehouse
(4) Detach delivery from shipment using: VT02 Warehouse
(5) Delete shipment document: VT02 Warehouse
(6) Delete delivery document: VL02 Warehouse
(7) Reject the order VA02 by reason code. -
Cancell/reverse goods Issue WA 641 and outbound delivery
Dear All,
i have try to reverse goods issue with mbst, migo and also mb1a but it still can't reverse the material doc created.
Regards,
JennyHi
Ask your FI / MM consultant to do the setting for the same
1.Go to OBYC -T code and select the AUM transaction
2.After selecting the transaction gives PoP up enter the Chart of accounts (check the chart of accounts in OB13 -tcode)
3.then enter the details as below
Valuation modification Valuation class Debit Creditg
0001 maintained in material master G/L account G/L account -
Hello,
I have been encountering a wierd issue with the battery indicator on my 3GS. I charged my phone from a completely depleted battery last week, but after I had left it to charge over night the battery percentage displayed 98% but the battery bar itself showed a completed charge (wall plug over the bar). I usually do a complete drain every other week. I figured oh it must just be a glitch so I pulled the charger out and started my day.
Last night however, I charged my phone from about 30% to what should have been full charge (about 7 hours). But this morning the phone read 100% charge on the percentage indicator and battery bar; as soon as I removed it from the charger it immediatly dropped to 98%.
My settings that drain the battery are below
Wifi-off
Bluetooth-off
3g-On
Auto-Brightness
Have any of you had similar experiences?
Thanks in advancei did see odd battery indicator issues before i did a restore and setup as new phone... but... i have also read that it might indicate a battery issue on your device as well...
if you have not and don't mind loosing sms logs, call logs, and app data you can try a restore and setup as new phone (remember to backup your contacts, calendar and move out any photos/videos you have stored)
if it still jumps around with a restore as new phone then it is most likely a hardware issue (battery issue connection issue etc)
you can just make an apointment with the apple store... they do have a diagnostic tool to see actual battery performance (it might let them see if its a software glitch or hardware) worst case they can restore it and setup as new phone for ya (remember to make sure your contacts, calendar and pics are synced before your trip to the store if you do go)
Maybe you are looking for
-
Could I have purchased an i7 13" MBP non-retina in-store?
Hey everyone! Back in October, I purchased the 13" non-retina display MBP at my nearest Apple Store. I really wanted to get the higher-end i7 version (as it was listed on the website) but, I wasn't asked if I wanted to configure it to higher specs wh
-
Error while activating Account Dimension in BPC 10
Hi All, While trying to activate the Account Dimension, it is giving an error. Please see the screenshot below. Please let me know if someone has faced this issue before and has solved this. Thanks in advance, Best Regards, Venkata
-
hi all , i have a problem printing barcode in my sap script.can anyone help me out in this issue. i have checked it in se 73 and i have tried priinting sample barcode its printing. but when i assign barcode from character format by assigning it in ch
-
Under what condition does SAP populate the Contract number during dunning
Hi, Would anyone possibly know under what condition SAP populates the Contract number in the Dunning history transaction(FPM3). We have seen some examples in our production environment where dunning populated the Contract number(VTREF) in the dunning
-
Hi, how would you solve this problem: - a certain number of webservice clients send one random integer to a server - The server returns the sum of all integers to all clients Restriction: - The clients do not know how many other clients are out there