How to define WE20 partner for all outb deliveries

Hello, I would like to create an outbound delivery DELVRY05 IDoc for every delivery.   When the warehouse (LIKP-LGNUM) is a certain value, and the packing status is 'C', we'd like to produce the IDoc and save to a file port.   I have setup most of this, but am stuck on the partner function settings.   In NACE, I have defined a new output type 'ZAWB' under V2.  I have select 'EDI' for the medium.  But on the Default Values tab, what should the partner function be?   I want this for all customers.  I can't go and create a WE20 entry under 'KU' for every single customer.  Also in NACE, does an entry need to exist in the Partner Functions screen?  And how would the WE20 partner be defined?

Requirement:
Produce an outbound IDoc containing delivery data.  When the delivery
header packing status = 'C' AND the warehouse is 'SHN' 'SRV' or 'OCE',
the output should appear in the Extras -> Delivery Output -> Header screen
as a new entry.  The output will produce a DELVRY05 IDoc, message type DESADV.
It will be saved as a file on the SAP server, formatted in XML format.
Setup to get this to work:
Since the warehouse number LIKP-LGNUM was not available in the standard
communication structure KOMKBV2, the field needed to be added so we can
use it in an output condition record.
1.  Structure ZAKOMKBZ4, added field ZZLGNUM for warehouse number.
    This structure is an include in communication structure KOMKBV2.
2.  Added field ZZLGNUM to structure ZAKOMBZ, which is included in
    structures KOMB and KOMBZ.  Needed to update the Field Catalog.
3.  Edited program RVCOMFZZ, Form USEREXIT_KOMKBV2_FILL
    to move the warehouse value from LIKP into the communication structure.
    Insert the code:   COM_KBV2-ZZLGNUM = COM_LIKP-LGNUM.
4.  Add field ZZLGNUM to Field Catalog, table V_T681F.  Use SM30
    Usage: B    Appl: V2    Field Group: 001
    This will also add an entry to table T681F
5.  v/59   V/60   v/61   Create/Change/Display Condition Table (Output Shipping)
    With SE11, see what table number is avail, put B9* and hit F4. 923 wasn't being used yet.
    Used v/59 to create new condition table 923.   
    Warehouse should appear on the right side now if you did steps above.
    Add field to the left side: Warehouse  (just dbl-click Warehouse on the right side and it should
appear on the left)
    Pressed 'Generate' button and it created table B923
6.  Txn NACE.  Select row V2, then click  Access Sequence button.
    Created new Access Sequence Z005 'Warehouse'
    Select row Z005 and dbl-click Access, Add new row: Access Nbr: 10  Table: 923   Hit Save.
    Hit Back once and select row Z005 again and dbl-click Fields, which should
    automatically fill in a new row showing the new ZZLGNUM field.  Hit Save.
7.  Txn NACE.  Select row V2, then click  Output Types  button
    Created new output type ZAWB which will be used to produce the DELVRY05 IDoc
    Tabs:                    Field:                Value:
      General Data             Access Sequence       Z005
                               Access to Conditions  checked
      Default Values           Dispatch time         Send immediately                   
                               Transmission Medium   EDI
                               Partner Function      SH    (Ship-To Party)
    Processing Routines:
      Program:       RSNASTED
      Form Routine:  EDI_PROCESSING
    Partner functions:  (1 entry)
      Medium   : EDI      Function:  SH  
8.  Txn BD54.  Created new Logical System 'IEDHL'  for Ireland DHL 3PL Warehouse (Non-SAP)
    This is not really a 'system'.  The plan is to save the IDoc files to a folder on the
    SAP filesystem.
9. VV21  VV22  VV23   Output - Condition Records : Shipping
    But we can get to this as well via txn NACE.
    Create 3 new entries in the condition table.
    Output type     :  ZAWB   (our new output type)
    Key Combination :  Warehouse  (is the only selection)
    Warehouse number:  SHN   (do same for SRV and OCE)
    Function        :  LS
    Partner         :  IEDHL  (this will be populated in the output screen in VL02N)
    Medium          :  6  - EDI
    Date/time       :  4  - Immediate
    Language        :  EN
    Notice the entries appears in the table B923 now, created in step 5.
10.  Output the IDoc in XML format.  In WE21, define a port under XML file.  I will
     call it DEV_XML.  On the Outbound file tab, you can specify a function module
     that is used to create the filename.  For example, EDI_PATH_CREATE_CLIENT_DOCNUM.
11. Txn WE20.  Under Partner Type  'LS', Add partner 'IEDHL'.
    Then create an outbound parameter for DESADV as follows:
    Partner No.   :  IEDHL
    Partner Type  :  LS
    Partner Role  :  LS
    Message Type  :  DESADV
    Tabs:                    Field:                 Value:
      Outbound Options         Receiver Port          DEV_XML  (Define with WE21)
                               Transfer IDoc Immed.   (selected)
                               Do not start subsys    (selected)
                               Basic Type             DELVRY05
                               Canc Proc after Err    (checked)
                               Segm. Release in IDoc  700
      Message Control          Application            V2
                               Message Type           ZAWB
                               Process Code           DELV
      Perm. Agent              Type                   O         (or US)
                               Agent                  50000079  (or your username)
                               Language               EN

Similar Messages

  • How Can I Defined Amount Limit For All Invoices For A Supplier ?

    Hi ,
    I Want To Define Amount Limit For All Invoices For Supplier When all Invoices Amounts Be Specify Amount It Make hold For It
    Thanks,
    Mohamed Gamal

    Hi.
    At Suppliers site:
    Invoice Amount Limit. If you enter an invoice for a supplier site that exceeds the invoice amount limit you specify, Payables applies an Amount hold to the invoice during Invoice Validation. You cannot pay the invoice until you release the hold. You can release the hold by adjusting the invoice amount, changing the Invoice Amount Limit for the supplier site, or you can manually release the hold in the Holds tab of the Invoice Workbench.
    Octavio

  • How to define Approval Hirearchy for Fixed Assets?

    Hello All,
    Couls someone please tell me How to define Approval Hirearchy for Fixed Assets which should be different as compared to normal item purchase.Reply me ASAP
    Regards
    Aditya

    Hi,
    The AP invoice approval used AME rules for finding the approver. You can base you AME rules on virutally anything.
    In this particular case, you can base your AME rules on one of the followings:
    1. If any of the Distribution Accounts contain Fixed Assets natural account
    2. You can define a separate document category which should be used with invoices for FA Purchase and use the category in AME rules to find approver
    3. You can have a DFF at the Invoice Header level to indicate that this is a fixed asset purchase invoice and have this DFF to be used in AME rules.
    Gajendra

  • How to query opening balance for all customer or Vendor for an speci. date

    Hi,
    How to query opening balance for all customer or Vendor for an specific date?
    Example:
    put any date and query will show all customer/ Vendor  that date opening/current balance.
    Regards,
    Mizan

    Hi mizan700 ,
    Try this
    SELECT T0.[DocNum] As 'Doc No.', T0.[CardCode] As 'Customer Code',
    T0.[CardName] As 'Customer Name',(T0.[DocTotal]-T0.[PaidSys]) As 'O/S Balance'
    FROM OINV T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    INNER JOIN OCRG T2 on T1.GroupCode = T2.GroupCode
    INNER JOIN INV1 T3 ON T0.DocEntry = T3.DocEntry
    WHERE T0.[DocStatus] ='O'
    AND
    (T0.[DocDate] >='[%0]' AND T0.[DocDate] <='[%1]')
    Regards:
    Balaji.S

  • How to define a Value for an Attribute of an Class

    Hi,
    How to define a Value for an Attribute of a Class ...
    ( I need to change the value of an Attribute of a class in standard program ....
    Ex...
       cl_hrce_masterswitches=>infotype_framework_is_active
    Here infotype_framework_is_active is the attribute .. its value in standard program is 'X'... Now i need to change it as '  '.
    How to define it and set value as ' '.

    Hello Surendar
    The static attribute INFOTYPE_FRAMEWORK_IS_ACTIVE is read-only and there is not SETTER method to manipulate its value.
    However, the attribute is filled in the CLASS_CONSTRUCTOR:
    METHOD class_constructor.
        IF ce_is_active                 = true OR
           global_payroll_is_active     = true OR
           mngmt_global_empls_is_active = true.
          infotype_framework_is_active = true.
          perid_infotype_is_active     = true.
        ELSE.
          infotype_framework_is_active = false.
          perid_infotype_is_active     = false.
        ENDIF.
    ENDMETHOD.
    Thus, you need to analyze how attribute CE_IS_ACTIVE, GLOBAL_PAYROLL_IS_ACTIVE and MNGMT_GLOBAL_EMPLS_IS_ACTIVE are filled in the CLASS_CONSTRUCTOR.
    For sure you will find customizing settings that are responsible for this.
    Regards
      Uwe

  • HT201304 How do I set password for all in app purchases?

    How do I set password for all in app purchases? xx

    In-App purchases cannot be made without entering your iTunes store account password.

  • In mdx how to get max date for all employees is it posible shall we use group by in mdx

    in mdx how to get max date for all employees is it posible shall we use group by in mdx
    example
    empno  ename date
    1         hari        12-01-1982
    1         hari        13-06-2000
    by using above data i want to get max data

    Hi Hari3109,
    According to your description, you want to get the max date for the employees, right?
    In your scenario, do you want to get the max date for all the employees or for each employee? In MDX, we have the Max function to achieve your requirement. You can refer to Naveen's link or the link below to see the details.
    http://www.sqldbpros.com/2013/08/get-the-max-date-from-a-cube-using-mdx/
    If this is not what you want, please provide us more information about the structure of you cube, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SNR License Issue. How Can I Disable SNR for all Users?

    Hi,
    I Have an issue with SNR on CUCM 10.5 and with assignement of license type
    I have a cluster with 400 users.
    200 users use ip phone 3905 and should be use an Essential License.
    When system check for assignement of license type , itassign a Basic License instead of an Essential License, because it see that users have SNR Enabled.
    All users in my system have SNR enabled, and I can not disable it. All my user have Enable Mobility unchecked, and all my phone have Device Mobility Off, but system however see SNR enable.
    How can i disable SNR for all users? This is a feature that client don't need.
    I dont' have a sufficent number of licenses for support all 3905 in Basic License.
    thanks for help.
    Andrea

    Well actually, Mobile Identity wouldn't apply to a 3905 unless those phones had another line on a Dual-Mode device like an iPhone or Android phone.  So unless you have either of those in your system you can scratch that idea.  Someone else may chime in here and try to help a bit more as RD/RDP are the main SNR culprits.

  • How to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header 20 for detail and 30 for footer

    how to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header ,20 for detail and 30 for footer.
    here is the sample file
    DDWTYBILL13092502572 1000000112\\NHLSFS\ORACLE\ORACLE\BILLING\VERIFY\            2013/09/25 01:19:08 BILLEND     
    DDWTYBILL13092502572 2000000212PRIVATE             PRIVATE             STY5572142     010700         INV                              12STYD000789                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNM    DIMPHANA,CN,CELESTE NERINA                                                                                                        09-JAN-1964                              TYG       A2        DR DU PREEZ                                                                                         5602181             63301345       TB731543                                           Suspect TB ?CA, (L) EMPIEEM                                           Ward A2                                           TYGERBERG HOSPITAL                                                                                  Z03.0                                                       Z03.9                                                          05-AUG-201305-AUG-201324-SEP-2013FEND    113.60
    DDWTYBILL13092502572 2000000312PRIVATE             PRIVATE             STY5572149     010700         INV                              12STYD000789                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNM    DIMPHANA,CN,CELESTE NERINA                                                                                                        09-JAN-1964                              TYG       A2        DR DU PREEZ                                                                                         5602181             63301345       TB731548                                           Empyema BPF                                                           Ward A2                                           TYGERBERG HOSPITAL                                                                                  Z03.9                                                       Z03.9                                                          05-AUG-201305-AUG-201324-SEP-2013FEND    113.60
    DDWTYBILL13092502572 2000000412PRIVATE             PRIVATE             STY5572351     010700         INV                              12STYD000789                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNM    DIMPHANA,CN,CELESTE NERINA                                                                                                        09-JAN-1964                              TYG       A2        DR DU PREEZ                                                                                         5602181             63301345       TB731584                                           Suspect TB ?EMPIEEM, ?CA                                              Ward A2                                           TYGERBERG HOSPITAL                                                                                  Z03.0                                                       Z03.9                                                          05-AUG-201305-AUG-201324-SEP-2013FEND    113.60
    DDWTYBILL13092502572 2000000512PRIVATE             PRIVATE             STY5572352     010700         INV                              12STYD000789                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNM    DIMPHANA,CN,CELESTE NERINA                                                                                                        09-JAN-1964                              TYG       A2        DR DU PREEZ                                                                                         5602181             63301345       TB731585                                           Suspect TB ?EMPIEEM, ?CA                                              Ward A2                                           TYGERBERG HOSPITAL                                                                                  Z03.0                                                       Z03.9                                                          05-AUG-201305-AUG-201324-SEP-2013FEND    113.60
    DDWTYBILL13092502572 2000000612MAJOR               MAJOR               STY5577530     010700         INV                              12ZTYG000009                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNS    ZOZI,S,SIYAMBONGA                                                                                                                 27-MAR-2010                              TYG       D3        DR MAHOMED                                                                                          5602181             113799662      TB731663                                           Lymphadenitis                                                         Ward D3                                           TYGERBERG HOSPITAL                                                                                  I88.9                                                       Z03.9                                                       H1 07-AUG-201307-AUG-201324-SEP-2013MEND     58.52
    DDWTYBILL13092502572 2000000712MAJOR               MAJOR               STY5577537     010700         INV                              12ZTYG000009                  06-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNS    DLAMINI,N,NTLANTLA                                                                                                                09-OCT-1976                              TYG       F1        DR WZESE                                                                                            5602181             135524676      TB731666                                           Suspect TB                                                            Ward F1                                           TYGERBERG HOSPITAL                                                                                  Z03.0                                                       Z03.9                                                       H1 07-AUG-201314-AUG-201324-SEP-2013MEND     58.52
    DDWTYBILL13092502572 30003034120000003032END

    You can create an nXSD using Native Format Builder and use lookAhead attribute to read values at specific position and use that as the choice. You can find an example here
    http://docs.oracle.com/cd/E11036_01/integrate.1013/b28994/nfb.htm#BGBBAJFD

  • How to define Substitution rule for Businee area

    Hi experts,
    Could you please guide me to define substitution rule for Business are.
    Below is the requiremnt :
    I want to assign different business area for this cost centre.
    While posting document in FB01, we are entering cost centre in line itme. Businee area is picking from cost centre master.
    Example : Cost centre 11310 and businee area Y020.
    Businee area Y020 is picking from cost centre 11310 while posting document.
    I want to assign different business area for this cost centre.
    For that I want to define substitution rule.
    I have defined substitution rule and activated in comapany code but it is not working. Please guide me how to define Substitution rule for the same.
    I have defined prerequisit as Comapny code = 2053 and Cost centre =11310 and transaction code = FB01 then
    Substitute business area with Y045.
    It is not working .
    Please guide me where I did mistake and how to rectify the same.
    Thanks in advance for your quick response and points will also assign for helpfull answer.
    Regards,
    Amar

    Hi Paul,
    Thaks for your reply.
    Yes, you are correct. SAP is changing this back to BA from Cost centre.
    Why can't we use Substitition for the above issue.
    Then what is solution for my issue.Please suggest any alternative solution.
    Thanks in advance for your help.
    Regards,
    Amar.

  • How to create delivery device for all users ?

    hi
    help needed ...
    i activated delivery tool
    but i dont know how to create email devices for all users
    is there any api / manual action
    obiee version : Oracle Business Intelligence 10.1.3.4.1
    thanks
    yuval

    Yuval..u need to setup SA System in RPD..
    refer http://oraclebizint.wordpress.com/2008/04/25/oracle-bi-ee-101332-sa-system-subject-area-autoloading-profiles-and-bursting/

  • I want to make a CD that is NOT in alphabetical order, not in artist alphabetical order and not in album alphabetical order... I want to make it the order I want.  Can this be done? How?  thanks in advance for all your help.  Mona

    I want to make a CD that is NOT in alphabetical order, not in artist alphabetical order and not in album alphabetical order... I want to make it the order I want.  Can this be done? How?  thanks in advance for all your help.  Mona

    cjam732 wrote:
    Ed - by sequence of numbers, are you talking about the rectangle with the arrow that sorts by track number?  I've tried to follow your directions to Mona but my playlist still gets burned to CD in alpha order.  driving me crazy.  any other suggestions?   thanks, Chris
    Chris, The sequence number is the first column of numbers, to the left of the Name column.  It always goes 1, 2,3  etc.  It is not the same as the Track Number, which has its own column.
    As a precaution before burning, make sure that Shuffle is tunred off, and that you right-click the playlist name and choose 'Copy to Play Order"  (although technically they should not affect the burn).

  • How to define new colors for the form?(Finish)

    Hello! Everyone!
    I want to define new colors for the new form.
    But I don't find where I can define it.
    How to define new color for the form?
    Thanks in advance!

    You have to set the Canvas color or as I said earlier you need to use one of the available color schemas on the OAS or Builder runtime.
    If you want to use user defined colors in the builder, then you need to create a new color palette and use it.
    I personally haven't tried it, but there is a section in the online help that describes how to do this.
    Tony

  • Please tell me how can I put Bookmarks for all pages opened in Firefox.There was an option ("bookmark all pages") which vanished.

    Please tell me how can I put Bookmarks for all pages opened in Firefox.There was an option ("bookmark all pages") which vanished.

    It moved to tab contextual menu :
    Right-click on any tab -> Mark all tabs (or something close, my FF is not in english).

  • How to install plugin globaly (for all users) in Firefox13?

    How to install plugin globaly (for all users) in Firefox13?

    See also:
    *https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_Development_Overview#Installing_Plug-ins

Maybe you are looking for

  • Unexpected restart link with airport and keychain

    HI, I experience some unexpected restart of my Mac book pro when it's inactive (and only when it's inactive). There is not a single line in the system.log or console.log that match the time of reboot. I didn't find a reproducible way of making it hap

  • Mac mini and 5.1 surround

    Hi i'm changing my complete computer-parc from PC to mac. I will start with an imac 27" for my work and a mac-mini that will be attached to my HDTV and 5.1 sound-system. I have enough of windows and PC-stuff and want to switch as soon as possible. I'

  • Re-establish synchronization with a new computer/i-tunes

    How can I reestablish synchronization with a new computer and new i-tunes version after my old computer crashed? My new computer and i-tunes recognizes my i-touch but thinks it is synchronized with another i-tunes version. And it is technically corre

  • Bootcamp on mid 2009

    What is better to run on bootcamp on a MBA 2.13GHz 128GB solidstate 2gb ram (mid 2009) air? Windows xp or Windows 7?

  • How to create a IDOC program

    Hi All i have a requirement where i have to design a screen program to provide the user with a input screen. The user will input data on this screen, after the user enters the data and clicks on execute or some button on the module screen the system