QM Block not triggered  via EDI orders

Hello All,
Please help me with this problem "QM block not triggered via EDI Orders".
Sales Orders will be created using IDOC. When the sales orders was displayed using VA02, goto >> items >> schedule lines, there's no QM status violated being displayed in the delivery block column.
Kindly help me what logic will I applied regarding this matter.
FM used was IDOC_INPUT_ORDERS.
I need your comments/suggestions ASAP.
Thanks in advance.
Carina

hai,
Just check this it may help tou.
Program Name : YX30_UPLOAD_QUALITY_INFO
Quality Info Record for I30 System *
Original Transport Number : I30K903055 *
SYS id: SYS_30_1502_03_41_Upload Quality Info Records *
TDS id: TD_30_1502_03_41_Upload Quality Info Records *
UT ID: UT_30_1502_03_41_Upload Quality Info Records *
======================================================================
Change History *
Date | Change No | Name | Description *
yyyy/mm/dd | AAAYYYYMMDD | xxxxxxxxxxxx | *
REPORT YX30_UPLOAD_QUALITY_INFO MESSAGE-ID yx30_conversions
no standard page heading line-size 255.
include yx30_upload_quality_info_top. "Include for Variable Declaration & Selection Screen
include yx30_upload_quality_info_data. "Include for File read & Authority Check
*& At Selection Screen Output *
AT SELECTION-SCREEN OUTPUT. "PBO
PERFORM fill_parameters.
*& Start Of Selection Event *
start-of-selection.
Perform Authority_check. "Subroutine for authority check
Perform prepare_file. "Subroutine for preparing file
perform file_read. "Subroutine for File read
perform update_qi01. "Subroutine for Uploading data
perform write_error_log1. "Subroutine for writing error log
*& Form write_error_log
text
--> p1 text
<-- p2 text
*& Include YX30_UPLOAD_QUALITY_INFO_TOP
Type Declaration
Types: Begin of type_qtyinf,
matnr type matnr, "Material No
lieferant type char10, "Vendor
werk type werks_d, "Plant
frei_dat type char10, "Frei_Dat
stsma type char8, "Stsma
anwso_01 type char1, "ANWSO(01)
anwso_02 type char1, "ANWSO(02)
anwso_03 type char1, "ANWSO(03)
end of type_qtyinf.
Internal Table Declaration
Data: itab_qtyinf type standard table of type_qtyinf. "Internal table for QTYINF.
Work Area Declaration
Data: wa_qtyinf type type_qtyinf. "Work Area for QTYINF.
Variable Declaration
Data: v_file_qtyinf type string, "Source File Name
v1 type string,
v2 type string,
v3 type string,
v_file_return type string,
v_lin TYPE n.
*Selection Screen Declaration
selection-screen *
SELECTION-SCREEN BEGIN OF BLOCK blk1
WITH FRAME TITLE text-s01.
PARAMETER:
p_sysid(3) TYPE c OBLIGATORY , "Source System
p_bukrs(4) TYPE c OBLIGATORY , "Source CompCode
p_samshr type char30 lower case obligatory default '/sap_upload/' , "Samba Share Drive
p_object TYPE CHAR10 OBLIGATORY default 'MAT' . "Migration Data Object
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN SKIP 3.
PARAMETER:
cb_pfill TYPE c AS CHECKBOX DEFAULT 'X' . "Prefill values?
SELECTION-SCREEN COMMENT /1(79) text-s1a.
SELECTION-SCREEN BEGIN OF BLOCK blk3
WITH FRAME TITLE text-s03.
PARAMETER:
pa_filn1(500) TYPE c LOWER CASE
VISIBLE LENGTH 50 , "Filename AppServer
pa_dlimt TYPE c DEFAULT ';' . "Field Delimter
SELECTION-SCREEN END OF BLOCK blk3.
include bdcrecx1. "Include for the subroutine
*& Include YX30_UPLOAD_QUALITY_INFO_DATA
*& Form file_read
Subroutine for reading the source file into internal table
--> p1 text
<-- p2 text
FORM file_read .
DATA:
single_line TYPE string .
*-- read file, split lines into fields and put data into table
OPEN DATASET v_file_qtyinf FOR INPUT IN TEXT MODE ENCODING NON-UNICODE. "Opening the files
IF sy-subrc EQ 0.
DO.
READ DATASET v_file_qtyinf INTO single_line. "Reading the content of file into line
IF sy-subrc = 0.
IF sy-index > 1. "skip header-line
SPLIT "Split the content of line into work area
single_line
AT ';'
INTO
wa_qtyinf-matnr "Material No
wa_qtyinf-lieferant "Vendor
wa_qtyinf-werk "Plant
wa_qtyinf-frei_dat "Frei Date
wa_qtyinf-stsma "STSMA
wa_qtyinf-anwso_01 "ANWSO_01
wa_qtyinf-anwso_02 "ANWSO_02
wa_qtyinf-anwso_03. "ANWSO_03
APPEND wa_qtyinf TO itab_qtyinf. "Appending Work Area to internal table
ENDIF.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET v_file_qtyinf. "Closing the files
ELSE.
MESSAGE e015 .
ENDIF.
DESCRIBE TABLE itab_qtyinf LINES v_lin.
IF v_lin LT 0.
MESSAGE e016 .
ENDIF.
ENDFORM. " file_read
*& Form fill_parameters
Subroutine for getting the file name
FORM fill_parameters .
IF cb_pfill = 'X'.
Preparing QTYINF File
CONCATENATE p_sysid '_forward' INTO v3.
CONCATENATE p_sysid '_QTYINF_' p_bukrs '.CSV' INTO v2.
CONCATENATE p_samshr v3 '/' p_object '/' v2 INTO pa_filn1.
ENDIF.
ENDFORM. " fill_parameters
*& Form Authority_check
Authority Check
--> p1 text
<-- p2 text
FORM authority_check .
Authority Check For the Migration
AUTHORITY-CHECK OBJECT 'YX30_MIGR'
ID 'SYSTEM' FIELD p_sysid
ID 'BUKRS' FIELD p_bukrs
ID 'YX30_DMOBJ' FIELD p_object
ID 'ACTVT' FIELD '16'.
IF sy-subrc <> 0.
MESSAGE e010 WITH p_sysid p_bukrs p_object.
ENDIF.
ENDFORM. " Authority_check
*& Form prepare_file
text
--> p1 text
<-- p2 text
FORM prepare_file .
CONCATENATE p_sysid '_forward' INTO v3.
CONCATENATE p_sysid '_QTYINF_' p_bukrs '.CSV' INTO v2.
CONCATENATE p_samshr v3 '/' p_object '/' v2 INTO v_file_qtyinf.
CLEAR v3.
CLEAR v2.
Prepare Return File
CONCATENATE p_sysid '_forward' INTO v3.
CONCATENATE p_sysid '_RETRUN_LOG_' p_bukrs '.CSV' INTO v2.
CONCATENATE '/sap_upload/' v3 '/' 'MAT' '/' v2 INTO v_file_return.
ENDFORM. " prepare_file
*& Form update_qi01
text
FORM update_qi01.
PERFORM open_group. "Opening a session
CLEAR wa_qtyinf.
LOOP AT itab_qtyinf INTO wa_qtyinf.
PERFORM bdc_dynpro USING 'SAPMQBAA' '0100'. "Subroutine for mapping data
PERFORM bdc_field USING 'BDC_CURSOR'
'QINF-MATNR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'QINF-MATNR'
wa_qtyinf-matnr. "Mapping the material
PERFORM bdc_field USING 'QINF-LIEFERANT'
wa_qtyinf-lieferant. "Mapping the vendor
PERFORM bdc_field USING 'QINF-WERK'
wa_qtyinf-werk. "Mapping the plant
PERFORM bdc_dynpro USING 'SAPMQBAA' '0101'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=STAN'.
PERFORM bdc_field USING 'QINF-FREI_DAT'
wa_qtyinf-frei_dat.
PERFORM bdc_field USING 'BDC_CURSOR'
'QINF-STSMA'.
PERFORM bdc_field USING 'QINF-STSMA'
wa_qtyinf-stsma. "Mapping the status
PERFORM bdc_dynpro USING 'SAPLBSVA' '0201'.
PERFORM bdc_field USING 'BDC_CURSOR'
'J_STMAINT-ANWSO(01)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=OKAY'.
IF wa_qtyinf-anwso_01 = 'X'.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
wa_qtyinf-anwso_01. "Mapping the anwso(01)
ELSEIF wa_qtyinf-anwso_02 = 'X'.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
wa_qtyinf-anwso_02. "Mapping the anwso(02)
ELSEIF wa_qtyinf-anwso_03 = 'X'.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
wa_qtyinf-anwso_03. "Mapping the anwso(03)
ELSEIF wa_qtyinf-anwso_01 = 'X' AND wa_qtyinf-anwso_02 = 'X'.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
wa_qtyinf-anwso_01.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
wa_qtyinf-anwso_02.
ELSEIF wa_qtyinf-anwso_01 = 'X' AND wa_qtyinf-anwso_03 = 'X'.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
wa_qtyinf-anwso_01.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
wa_qtyinf-anwso_03.
ELSEIF wa_qtyinf-anwso_02 = 'X' AND wa_qtyinf-anwso_03 = 'X'.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
wa_qtyinf-anwso_02.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
wa_qtyinf-anwso_03.
ELSEIF wa_qtyinf-anwso_01 = 'X' AND wa_qtyinf-anwso_02 = 'X' AND wa_qtyinf-anwso_03 = 'X'.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(01)'
wa_qtyinf-anwso_01.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(02)'
wa_qtyinf-anwso_02.
PERFORM bdc_field USING 'J_STMAINT-ANWSO(03)'
wa_qtyinf-anwso_03.
ENDIF.
PERFORM bdc_dynpro USING 'SAPMQBAA' '0101'.
PERFORM bdc_field USING 'BDC_CURSOR'
'QINF-FREI_DAT'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=QMBU'.
PERFORM bdc_field USING 'QINF-FREI_DAT'
wa_qtyinf-frei_dat.
PERFORM bdc_field USING 'QINF-STSMA'
wa_qtyinf-stsma.
PERFORM bdc_transaction USING 'QI01'.
ENDLOOP.
PERFORM close_group. "Closing the session
ENDFORM. "update_qi01
*& Form write_error_log
text
--> p1 text
<-- p2 text
FORM write_error_log1 .
DATA:
single_line TYPE string,
v_msg TYPE string,
v_msg1 TYPE string.
*-- read file, split lines into fields and put data into table
OPEN DATASET v_file_return FOR INPUT IN TEXT MODE ENCODING NON-UNICODE. "Opening the files
IF sy-subrc EQ 0.
CONCATENATE text-020 v_lin INTO v_msg SEPARATED BY space.
CONCATENATE text-021 v_lin INTO v_msg1 SEPARATED BY space.
TRANSFER: v_msg TO v_file_return.
TRANSFER: v_msg1 TO v_file_return.
WRITE:/ v_msg.
WRITE:/ v_msg1.
ENDIF.
ENDFORM. " write_error_log
with regards.
sowjanya.b.

Similar Messages

  • Tax condition(JVAT) of ship to party is not triggering in Sales order

    Hi,
    Tax condition(JVAT) of ship to party is not triggering in sales order...
    Scenario:
    Tax condition types:
    JCST- CST Payable
    JVAT- VAT Payable GJ
    Customer Tax classification for JVAT in OVK3:
    1-  VAT 4%
    A- VAT 0%
    B- VAT 2%
    Material Tax classification for JVAT in OVK4:
    0-Tax Exempt
    1-Full Tax
    In CMR for
    Sold to Party:1001(Mumbai), In Sales Area Data(Billing Tab),we have
    Country/Name/Tax category/Name/Tax Class./Descrption
    IN / INDIA / JCST  / CST Payable / 1 / CST 3%
    IN / INDIA / JVAT / VAT Pay GJ  / 1 / VAT 4%
    In CMR for
    Ship to Party:2001(Gujarat),In Sales Area Data(Billing Tab),we have
    Country/Name/Tax category/Name/Tax Class./Descrption
    IN / INDIA / JCST  / CST Payable / 1 / CST 3%
    IN / INDIA / JVAT / VAT Pay GJ  / A / VAT 0%
    Access Seq:   JLST
    Condition table : 368(Country/Region of Del Plant/Region/Tax class1-Cust/Tax Class1-Mat)
    Condition record maintained for JVAT as IN/GJ/GJ/1/1 as 4%
    Condition record maintained for JVAT as IN/GJ/GJ/A/1 as 0%
    Now the sale(Shipping to) is happening in Gujarat..
    In sales order
    I entered SP:1001 and SH: 2001
    When i check the pricing in sales order,condition type JVAT is triggering 4% which is not true as it as to pick 0%
    Kindly guide me where i went wrong...
    Regards
    Azeez.Mohd

    Hi Friends.
    I found the solution...
    Its customization mistake..
    Solution:
    When we have 'n' tax categories then we should have 'n' condition tables..
    I have 2 tax categories: JCST and JVAT but i have only one condition table 368 which is wrong.. i should have 2 condition tables.. so i created another con. table 468 and assigned to access aeq JLST.
    then when i create cond. record , we have to select the appropriate table then it will fetch accordingly.. in sales order..
    with regards

  • Approvals are not triggered via DI

    Approvals are still not triggered via DI.
    The only note relevant I was able to find is 915573. Tested with 8.82, still the same behaviour occours.

    Hi,
    You are right. This is still on the schedule that without deadline. Unless you can find this new feature in the roadmap, it will never be available soon.
    Thanks,
    Gordon

  • Workflow is not triggered via program RBDMANI2

    Hi,
    We have a Workflow that triggers when an IDOC ends up in an error. It works fine when the IDOC is posted through XI and also when processed from WE19. When we try to re process through the Program RBDMANI2 the even is not triggered.
    Business Object used: ZIDOCAPPL (Subtype of IDOCAPPL delegated to IDOCAPPL).
    Event: INPUTERROROCCURED
    My doubt here is will an event be triggered when an IDOC is Processed through RBDMANI2 program? If yes then am i missing or is there some settings that needs to be or should i use any specific Business Object for this scenario.
    Please throw some light upon this.
    Thanks,
    Prashanth

    Hi Prashant,
    Best way to find out which event is getting triggered with this report is by using Event Trace, Follow the below steps.
    (1)- Go to Tcode SWELS, (SWITCH ON THE TRACE).
    (2)- Now run this Report .
    (3)- Go to Tcode SWELS again.(SWITCH OFF THE TRACE).
    (4)- Go to Tcode SWEL, Execute it, You'll find the Event name and Business object name that got trigerred.
    Note: If you don't see any event getting trigerred in SWEL, this means that with this report no event is executing.
    The other way around could be to use a BADI or User-exit in that you have to externally trigger the event by using function module.
    'SAP_WAPI_CREATE_EVENT'
    Note: If events are not getting trigerred through transactions, Then you can use this function module to trigger workflow from outside, So use this function module in any badi or exit or enhancement spot that suits your requirement.
    Thanks.

  • Delivery block not updated in sales order after released VKM3

    Hi all,
    I am facing below error
    after released  credit block throuh VKM3 also i am unable to delivery becasue it is not updated still block exist in sales order level.
    i made all nacessary settings for that and also i tried through VKM1 but this tcode through error no poosible entries.
    Thanks in advance
    Srinivasa

    hi,
    check the following steps of assignment you did right or not
    1)first check in  t- code FD32 U  assigned authorization person & each credit limit U shud assign
    an authorization person along with credit limit
    2) check - conditon records with KRML output is there or not
    please read standard SAP config help as a check point doc.[Credit mgmt|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDBFCM/SDBFCM.pdf]
    Let me know if it is soling your issue...
    rgards,
    rajeev

  • PO Failure notification not triggering via Outlook

    Hello Experts,
    We are using SRM 7.O SP05, When PO is created and by mistake user Input the wrong Email address in Header --> Out put. The user is not getting the failure notification Via Out Look. I can able to find the Error message entry in SOST. I have checked the sender Email address also is correct. (in SU01).
    I tried to replicate the same kind of scenario in Q environment. But no failure notification received via Outlook. Is there any setting need to be done.
    Kindly help me to resolved this issue.
    Regards,
    Suneel Kumar

    Hi Rick
    what tcode i'm going to use to check this event container?
    can help me step by step because i'm not fully familiar to this flow..
    i check tcode SO16 under Mail sy.grp i check the send to home addresses of users
    i test it again in SAP inbox i receive notification under workflow for PO release there's also notification coming to outlook the message is:
    Error processing following event linkage:
    BUS2012 RELEASESTEPCREATED WS20000075
    Following error occurred:
    SWF_RUN 594
    Message text:
    Import container contains errors (are any obligatory elements missing?)
    Event container appended as attachment.
    Event linkage not changed.
    Event stored temporarily.
    Events can be redelivered via event queue
    administration (transaction SWEQADM).
    instead of for PO releases, how come different notification sending out?
    thanks.
    Edited by: Marina_25 on Apr 15, 2010 5:16 AM

  • Output type not triggered during Delivery Order - pls help

    Hi,
    Need some help.
    I'm trying to setup output determination for delivery. It's a new output type for delivery.
    There are some checking that I want to build in to determine whether the output type is to be generated. Therefore I have to make sure of requirement (routine). However, after putting in the configuration, coding the requirement and creating the condition record, the output type still cannot be generated. When I go to VL02N to check the Output Determination Analysis it says the requirement " " is not fulfilled. It's not even calling out the requirement number that I assigned in the access sequence.
    Any idea what could be wrong? 
    This is what I've done :
    1. Creating condition tables
    2. Creating access sequence & assigning the condition tables to the access sequence
    3. In the access sequence, assign requirement number 999. The "Exclusive" indicator is not ticked.
    4. Ensure that the requirement 999 is activated in tcode VOFM.
    5. Create output type, assign the access sequence to the condition type.
    6. Assign the condition type to the output determination procedure. Make sure the "Manual" checkbox is not ticked.
    7. Assign the delivery type to the output determination procedure.
    8. Create condition record. 
        Note : when i created the condition record, I am not able to assign a Partner Function (for eg. SH) to the record. However in the config for the output type I've already configured for that Partner Function "SH" to be allowed for that output type.
    Appreciate suggestions & feedback.
    Thanks
    Rgds,
    L

    Hi,
    When I go to VL02N to check the Output Determination Analysis it says the requirement " " is not fulfilled. It's not even calling out the requirement number that I assigned in the access sequence.
    This is because in requirement you put certain conditions should be fulfill then out put should trigered,
    Example - if you maintained condition in requirement that user must maintain loading point
    Now when creating delivery user not maintained loading point then output will not trigered, so user must maintain that then only it will trigered output.
    Same problem just now solved, check which data maintenance conditions in routine and try to maintain that.
    Kapil

  • Update "Delivery Completed" Indicator in PO Item via EDI

    Hello
    We have another challenging task regarding purchase order confirmations that we would like to tackle (SAP Release is ERP 6.0).
    The 2 partner in our scenario are distribution companies (= DC) which order goods and production companies (= PC) which deliver the goods:
    (1) DC sends purchase oder via EDI (ORDERS IDoc)
        -> creates sales order in ERP of PC
    (2) PC splits sales order into multiple deliveries.
       Each delivery is sent as outbound DESADV
       -> creates inbound delivery in ERP of DC.
    (3) At some point the PC has completed the sales order
       yet it is possible that less was delivered than was ordered
          (i.e. we can have under-deliveries).
    Now the question is:
    How can the PC transmit the final information "SalesOrder completed" implying that the "Delivery Completed" indicator in the PO items should be updated (= 'X')?
    My assumption is that we need to look at the sales order (ERP of PC) because this is the document which "collects" the information from all the split deliveries.
    Any help related to understanding how the (standard) business process would look like and how to translate this into a technical solution (EDI / IDoc) is more than welcome.
    Regards
      Uwe

    Hello Uwe,
    As you mentioned, I tried to check with the Workflow solution by tracking the events through Business Object BUS2032 (Order) or LIKP (Outbound Delivery) but failed to get successful results.
    Problem with BUS2032, event CHANGED is that it doesn't get triggered when the Header/Item level status changed during delivery Processing. 
    While using BO- LIKP (Outbound Delivery Processing), Events - Changed,Created, I am successful in triggering the event, but the problem with BO-LIKP is that, it does not have the item level details in the ATTRIBUTES list.  To get the balance quantity available for order line item (mentioned in my earlier reply)Item details are necessary to findout the Reference Sales Order & Line item.  With this, the Option of Triggering of Workflow using LIKP didn't give the required result.

  • PO Release TAB not trigered in Purchase Order

    Dear all,
    We have created a Release strategy in our test system.Its works fine.But when we create the same in our clients development
    system the "Release Strategy "Tab is not triggered in Purchase order.We did the following steps while creation
    1) Created new characteristics and class and when we had assigned it to new user group system gives following error
        "Please check release classes (see long text) Message no. ME492".....
    2) So we used the existing class in clients system and assigned new required values in characteristics (Plant,Purch.Org,
       Company code,total net order value,Purch.Group).
    3) In classification tab we get all the required value and no problem to release strategy.In "CHECK RELEASE STRATEGIES"
         system shows green signal for Release code and release strategy..
    Kindly suggest were we went wrong????
    Regards
    Sachin

    Hi,
    You should use only release class for PO.Hope one release class assigned to release group(TR transported to dev-client) & now you created another  release class and want to assign to release group, so you are getting the error. Now create same release class  which assigned to release group & design release strategy and you will have release TAB in PO.
    Note:Better to keep one release class always for purchasing documents....ie.......one release class for PR, one release class for PO, one release class for Contract & one release class for SES.
    Regards,
    Biju K

  • DELIVERY BLOCK AT HEADER LEVEL FOR ORDERS VIA EDI...

    Hi Experts,
    I have got a situation, My client gets an EDI inbound sales orders from Canada, for those orders he faces delivery block at header level..which they dont want...
    Can someone please guide me exactly where he receives those orders, how he processes it, and whats the background configuration for bloking those orders...how to start the checking  the settings
    Thanks & Regards,
    Srikanth.R

    Hi,
    Get the posted Sales order number # via EDI ie We02. Now got to VA03 and input that sales order.When the sales order is opened.
    Now from the Menu  -->Go to >header>Sales .Note down the order type.
    Now go to the Transaction code:VOV8 for the order type check whether the delivery block is maintained.
    Regards,

  • EDI order on quota block before EDI block

    Hi,
    Order xxxx is received via EDI. Checking the order in VA14L shows that the order is on quota block where it is expected to be on EDI block first. Checking the change log of the order shows there was no release of the order from EDI block.
    Please investigate why this order was not on EDI block initially.

    hi rohit,
    Correct me if i am wrong...
    ur requirement is not to trigger the IDOC message for changes in the PO for certain vendor ?
    if it is so then,to my knowladge it is not avallable in stadard as we can conrol the same by condition record.
    u can apply the logic in such a way the if there is no condition record available for message triggering for change of PO then loop should be ending.thet means no generation of IDOC or error message.
    regards,
    SNB

  • Price conditions on Sales Orders via EDI

    Hi,
    I need to know if there is a way to bring prices over on the IDOC while posting a sales order via EDI. I have a situation where the price does not have to be determined based on condition records setup within SAP but rather update the price sent on the IDOC itself.
    Thanks
    MR

    Hi,
    Let the inbound Idoc have the price field and the price of the material. And keep the price condition type open/manual entry allowed. Once this is done the system will not do it from the condition record and will populate the data that is there in the Idoc.
    Hope this helps.
    Kind Regards
    Chakradhar

  • Blocking an item in SO created by a PO via EDI

    Hello experts,
    i am in a SAP R/3 Release 4.6C, working with EDIs and there is this problem i can't fix.
    We create a PO via Edi and the system creates a SO from it. The ORDCHG is also configured properly and the changes go fine.
    The problem is when we try to block or cancel an item in the PO and nothing is reflected in the SO. Do you have any suggestions to do this? I've seen in BD87 that the ORDCHG message arrives perfectly to the system with action 005, blocked item, but nothing is changed in the SO.
    Another doubt is about the difference between idoc types ORDERS01..05?Are they the same??  Can't see any difference between them...
    thanks

    Diogo,
    I think (but am not sure), that the item action codes are only used outbound, as standard. However, it should be quite easy to add some custom code to the include in EXIT_SAPLVEDB_001, something along the lines of :
    WHEN 'E1EDP01'.
    IF E1EDP01-ACTION = '005'
    XVBAP-ABGRU = 'Z1'                    *Set your rejection code here
    I am a functional analyst, not an ABAPer, so take the above with a large pinch of salt. You may want to check with your ABAP people first. For example, I'm not sure if you set XVBAP-ABGRU to your rejection code, or perhaps E1EDP01-ABGRU.
    Good luck,
    Paul.

  • Exit for delivery Date check in Sales order [Via EDI]

    Hi Friends ,
    We have a requirement in which if the Sales Order is created Via EDI with INVALID delivery date then I have to set a flag in some Z Table . I have tried searching for exits and debugging the code but was unable to find a place where SAP checks for delivery date validity . Please help me with possible exits/Badis?Enhancement Pts etc where I can mark this flag .
    Thanks & Regards
    Gaurav Deep

    @Vinod Thanks  for your reply , the delivery date is there in EXIT_SAPLVEDA_009 .
    But how will i check if the delivery date is valid or not , If you go to VA01 and give a invalid delivery date a warning message is issued , here if the warning message is issued then I want to set my flag , this might save my from  coding redundant delivery date check logic , can someone please help me how can i track if this warning message is issued .
    Thanks & Regards
    Gaurav Deep

  • Problem in sending purchase order via EDI

    Hello Experts ,
    I want to send purchase order via EDI , for this i have refer the below link for configurations.
    link :
    http://help.sap.com/saphelp_nw04/helpdata/EN/dc/6b7c9f43d711d1893e0000e8323c4f/content.htm
    I have created purchase order (ME21N)and saved it.
    Then i went to ME22N , Goto -> Messages, i am getting below error .....
    Maintain outgoing EDI connection data for partner 8888(this is the partner number i have created in partner profile)
    please suggest the possible cause of the error and how could i rectify it.
    Thanks
    Sonal

    Ensure that you have the relevant message type in outbound parameters for this partner profile

Maybe you are looking for

  • Help! Message app deleted can't access it atall?

    My message app has gone and my camera and facebook. It won't let me take pictures and everytime I click on a message it comes up with file://.com.apple.MobileSMS/SMSSearch/message_guid=C41BEAB7-CD7F-4AF9-9F88-9DF4 E904BAA3&query=messa I'm wondering i

  • Default File Selection while Running Data Manager Package

    Hi BPC Experts, What i wanted to know is that is possible to make a file selection as "Default" for running a data manager package.Say for example i wanted to run a simple DMP "Load Transaction data from from BW InfoProvider UI" and the file that i a

  • Bar code scanner

    How to integrate Barcode scanner with java application?

  • Macbook Pro i7 Won't Sleep When Plugged In

    I have a macbook pro 15in i7 model 6,2 that will no longer sleep when plugged in anymore. It seems to have started after I applied the latest firmware updates the other day. I have tried two different power adapters and still have the same problem. I

  • Making a movie into a picture

    Hello everyone, I am working on a school project that has me analyzing a film and describing how the film's color grading effects the overall tone and emotion of the film. I saw a post by outside-hollywood where it showed an image of a film, Black Ha