According to  saleorder create purchaseorder

Dear all:
I'm some requirement .if anyone can resolve it ,I  appreciate you very much.
Detail demand as follow:
1.the itemcode in sale order  is combo item that is comprises 2 components itemcode.
For example:
itemcode                           qty
19001  comboitem               1
19001R componentitem        1
NT-200 componentitem         1
this is a BOM ,whose product type must be  production,can't be sale ,because it really take place a production .
Can I create a salseorder itemlist is 19001 meanwhile create a purchase order item list is 19001R and NT-200.?
procedure as  follow
No: SO- 1
itemcoode    qty
19001             1
create :NO:PO-1
itemcoode    qty
19001R             1
NT-200              1
Edited by: Helen Zhang on Oct 20, 2008 4:50 AM

Helen,
I would like to propose the following work around which might help.
Create a Formatted Search and set it on the PO row Item Code field.   The formatted search would ask the user to enter the Sales Order Number and it will display all the child items of the BOM parents on the Sales Order.  The user simply needs to select the item and no need to enter manually.
The FMS Query would be something like
SELECT  DISTINCT T0.Code AS 'Component Item', T0.Father AS 'Parent Item', T2.DocNum
FROM  [dbo].[ITT1] T0 INNER JOIN [dbo].[RDR1] T1 ON T1.ItemCode = T0.Father
INNER JOIN [dbo].[ORDR] T2 ON T2.DocEntry = T1.DocEntry
WHERE T2.DocNum = '[%0]'

Similar Messages

  • BAPI or IDOC to create the Delivery in R/3 for the SaleOrder created in CRM

    Dear All,
    When ever I create a sales order and save the sales order in the crm system, an outbound delivery is created in the R/3 system.
    I have added some new fields in the tables LIKP and LIPS.(related to delivery)
    Now I have to populate data into these new fields with the CRM data.
    So can any one tell me when I create a sales order in CRM, does the system uses any BAPI or IDOC to create the Delivery in R/3.
    The BAPI name or Idoc information will be very useful.so that I can extend them
    In crm the BDOC ‘BUS_TRANSACTION_MESSAGE’ is used.
    Thanks in advance.
    Regards
    Shafath

    Hi All,
    I found a solution to my problem.
    The BAPI ‘BAPI_DELIVERYPROCESSING_EXEC’ will be enhanced to add the new fields into the BAPI structure.
    The BADI ‘/SPE/BAPI_DLVEXEC_EX’ and the user exit ‘EXIT_SAPLV50R_CREA_001’ will be used to populate the data into the new fields created in the BAPI structure and the new fields added into the tables LIKP and LIPS.
    Regards
    Shafath

  • How to create a variant in ecatt?

    Hi all,
    I am new to Ecatt scripting. I hav a requirement from the user, that one ecatt is used for two sales org using two variants.
    I recorded as per the requirement ( first i created one basic script and called it in a master script ). Now I need to create two variants for the master script for the sales org.
    So could any one suggest how to create a variant in ecatt?
    Thanks in advance.
    Vijayakumar.G

    Hello Vijay,
    After recording parameterize everything whatever you want.
    In parameterization table leave the value field as empty, I mean don't give any value.
    Select the following in the menu,
    Utilities>Test configuration>Create
    Now, test configuration name will have the same of the test script name.
    Provide the details in the configuration tab. Then in the variants tab select the second radio button "Internal variants".
    In the variant table you can see the default variant "ECATTDEFAULT". You can make use of  this also. Otherwise you can also create your own variants by clicking "Insert variant" button.
    The variables whatever you have created in the test script will be there in the table. Now, Create variant and provide values for each variables.
    You can also select the variants which need to be executed.
    Now you can run the test configuration. It will be running number of times according to the created number of the variants.
    You can also create Test data for your test script and configuration.
    Try this, I hope it will help.
    Feel free to reward if it helps.
    Regards,
    Gopi
    Edited by: Gopinath K S on Oct 7, 2008 7:37 AM

  • Display records according month

    hi all.
    i want to display records according months.
    i created view something like this.
    create or replace view month_timer (item1, amount,item_date) as
    select item1,sum(amount),item_date
    from table
    where trunc(item_date) between to_date('01-jan-2010') and trunc(sysdate)
    AND item_TYPE!=4
    group by item1,item_date
    ORDER BY item_dateany suggestions?
    sarah

    create or replace view month_timer (item1, amount,item_date) as here in this statement you are using item1 and only tree columns.
    select pcd_plt_id,pcd_cbr_id ,sum(amount),item_date And here in this statement there are four columns. So which column is for item1
    group by item1,item_dateHere you can use only selected columns in group by. But you are using item1 which you used above for view.
    And in select there are three columns without aggregate function. And you are using only two here.
    If you could post the table data and desired output. Then it will be easier to find better way.
    -Ammad

  • Samba create mask not working

    Hi all,
    I'm setting up a file server for my college. The biggest problem I've had so far is that in samba, the create mask options do nothing! Files create with default permissions of rw for the owner, then r for everyone else. That's system wide though, and I'm pretty sure that's normal. Here's my smb.conf:
    #Global Parameters
    [global]
    workgroup = MSHOME
    netbios name = temp
    server string = TSR file server
    encrypt passwords = yes
    wins support = yes
    security = user
    guest account = user
    map to guest = Bad Password
    log file = /var/log/samba/%m.log
    invalid users = root bin daemon adm sync shutdown halt mail news uucp operator
    admin users = admin
    valid users = admin user
    create mask = 777
    directory mask = 777
    [movies]
    path = /mnt/shared/movies
    read only = No
    guest ok = Yes
    public = Yes
    browseable = Yes
    [music]
    path = /mnt/shared/music
    read only = No
    guest ok = Yes
    public = Yes
    browseable = Yes
    [games]
    path = /mnt/shared/games
    read only = No
    guest ok = Yes
    browseable = Yes
    [tv]
    path = /mnt/shared/tv
    read only = No
    guest ok = Yes
    browseable = Yes
    [essentials]
    path = /mnt/shared/essentials
    read only = No
    guest ok = Yes
    browseable = Yes
    read list = student
    According to the create/directory mask options, any file should create with 777 (rwx for all). Yet it does nothing and creates with the standard as discussed above. 'User' owns all the folders that samba hosts. I've been tearing my hair out over this one; if anyone can help, it would be much appreciated.

    Hi Abecedarian,
    try to move "create mask" and "directory mask" options in the share section and change permissions from
    777 to 0777
    Last edited by luca (2008-03-14 09:56:33)

  • Groupin report according to Month

    Hi Everyone
    I'm creating a report where it list out the PO value according to the created date from a ODS
    How could i change the report format to display the total PO value acording to the created month rather than created date?
    Could anyone help me
    Thank you in advance !

    Hi,
    Do you have 0calmonth in your ODS? if not, please add it and write a formula/ small abap routine in update rules to populate it with values.
    Reload the data, and then you should be able to use it for drilling down to the month level.
    Regards,
    Gili

  • Redesign database - Create or copy existed forms

    Hello all,
    My company redesign the database. I have about 20 forms that work with the old database. what is the best way for me to make all my forms work with the new database? Create all the forms or just copy what I need for the forms?
    Thank you for answering the question
    Jenny

    Hi,
    As you said the database is redesigned, if you copy the forms in such situation, the forms will refer to the old schema.
    So according to me creating forms would be better option in this case.
    Regards,
    Neha

  • Time evaluation_quota generation

    We are using -ve time mgmt for time evaluation. The requirement, EL would generate if employee completed 240 days (Attendace day + previous year availed EL). If an employee complete the eligibility i.e. 240 days, so quota would be generated, calculation method:  total attendance day / 20.
    For example, total attend. is 220 days + previous year availed e/l is 35 = total day 255 days, so quota would be generated on 220 days / 20 on last day of year i.e. 31.12.
    please advise!

    Hi ERP & Joseph,
    I request both of you to please go thru the below and advise accordingly.
    Actually the requirement is to entitle EL benefit an employee has to attend (employee attendance) + previous year no. of availed leave ) should be 240 days or more,
    Calculation of EL will be on Employee attendance (suppose ee attendance is 220 and availed leave is 25 = 245) so employee entitle will be (220 / 20) = 11 days.
    Accordingly, I have created 2 time type, one for attendance cumulation and another to assign in base entitlement.
    Time Type xxxx : Attendance cumulation, checked on day, period, month and no transfer on transfer prev. year
    2nd time type assign in base entitlement of EL quota.
    As per valuable advised by ERP, created below PCRs.
    a) Attendance cumulation
    ZTE1 Personnel Calculation Rule  ZTE1
            VARSTPRSNT Employee at work
              N
                COLOP*     TIP  >TOP curr.TType
              Y
                HRS=1      Set
                ADDMBXXXX  Add to month balance
                COLOP*     TIP  >TOP curr.TType
    and assigned below function, P2002
    b) EL move to Attendance
    ZTE2 Personnel Calculation Rule  ZTE1
            VARSTABSCE Employee absent
              N
                COLOP*     TIP  >TOP curr.TType
              Y
                OUTTPABTYP Absence type
                  ERND (EL leave)
                    HRS=1      Set
                    ADDMBxxxxZ Set month bal. = 0
                    COLOP*     TIP  >TOP curr.TType
    and assigned below function P2001
    c) to check 240 days eligibility
    ZTE3 Personnel Calculation Rule  ZTE1
            VARSTCURMO Current period
                COLOP*     TIP  >TOP curr.TType
              10
                VARSTREDAY Rel. day of period
                    COLOP*     TIP  >TOP curr.TType
                  01
                    HRS=Oxxxx  Set   ->>>>>>>>>> (atten. time type)
                    HRS?KZ240E Decision op.     HRS
                      <
                        COLOP*     TIP  >TOP curr.TType
                      =
                        HRS/20     Division
                        ADDMBYYYYZ Set month bal. = 0
                      >
                        HRS/20     Division
                        ADDMBYYYYZ Set month bal. = 0 ->>>>> (base entitlement time type)
    and assigned after function LIMIT
    By doing this, Im able to generate quota but no 01Jan but at last day of year i.e. 31.12, wherein quota should generate 01.01 every year.
    Since Joseph has advised to write two more rules
    a) Current year unused quota
    varstcurmo= 12
    hrs=FR01C --->>>>>>> (EL quota)
    Adddb -
    >>>>>>>>>>>>>>>>>>>>>(absence time type)
    b) Carry forward the quota to next year
    varstcurmo = 01
    HRS=LXXXX   -
    >>>>>>>>>>>>>(ATTENDANCE TIME TYPE i.e 240/20)
    ADDDB           -
    >>>>>>>>>>>>>(NEW TTYPE for Current Year)Z
      HRS=L        -
    >>>>>>>>>>>>>>(absence time type)
    Adddb         -
    >>>>>>>>>>>>>>>(NEW TTYPE for Current Year)
    Plz advise do I need to create new time types both for Absence & Attn.*** (or use same that was created for Base entitlement & Attn. cumuluation i.e. YYYY & XXXX)
    One more query arise in my mind is previously we have created PCR to move EL to attendance based on that calculation would be made, where the requirement is Attn + EL = but calculation will only be on Attendance / 20.
    Plz Plz advice your valuable comments
    Regards,
    Supriya

  • Can input controls be used to change sections?

    Hi,
    I am trying to figure out a way to use the value of an Input Control to change the section dimension without having to create multiple copies of objects and hide/display them.  I have a table with multiple measures and dimensions, including multiple dates (fiscal year, India fiscal year and calendar year).  I want to section the report based on the input control selection so for ex, if the user selects fiscal year on the input control, the report sections are each fiscal year, if they select calendar year, the sections are each calendar year.  I created a variable that uses a simple If statement to select the object based on the input control so for ex, if the input control selection is fiscal year, then the variable is equal to the fiscal year object. If I set the section header equal to the variable, it displays the different values in the header when I change the input control selection but it isn't really creating section blocks based on the object.  Is this possible?  It seems like it should be. 

    Let me share a PoC:
    I have a block like:
    Dim A 
    Dim B
    Dim C
    A1
    B1
    C1
    A1
    B2
    C2
    A2
    B2
    C1
    A2
    B2
    C2
    A2
    B3
    C1
    A3
    B1
    C1
    A3
    B4
    C1
    A3
    B5
    C2
    In Input Control I would like to have A/B/C option. Accordingly it will create section by Dim A/Dim B/Dim C.
    Create two variables:
    Input ="A"
    Section =If([Input]="A";[Dim A];If([Input]="B";[Dim B];[Dim C]))
    Now, I create a section on [Section] object.
    Now, I create an Input Control on [Input] object:
    Let us add custom list of values as below:
    We are done !!!

  • How to develope application with multiple schema

    Hi,
    In my application, there is 3 schema, forms are from different schema, but the database is one. How should I manage it, When i open the form with different schema I am not getting the expected result,
    I am using Oracle 10g Forms & Database
    Thanks in advance
    Rizly

    hi,
    what database-user is the user connected with, when executing the forms ? Is it one of the three schemaowners or has each logical user his own database-user?
    About your db-objects:
    I would create 3 roles, one for each schema, and grant the needed privileges for one schema to the according role
    Example:
    CREATE ROLE RL_SCHEMA1;
    GRANT SELECT, INSERT, UPDATE, DELETE ON SCHEMA1.TABLE RO RL_SCHEMA1;
    ...Then you can grant the roles to the databaseuser you are connected with at runtime.
    If you use named users (each logical user has it's own database-user) then you assign each user only those roles he needs.

  • Substituting a set of AD groups in NTFS permissions for another across multiple folders

    Okay, here's a good one.
    On a file server at one of our branch offices we have a set of folders that have permissions set for a particular set of groups in AD. For the purposes of this question the name of that office is "Sparta."
    We are setting up another branch office that is going to have that same set of folders. We'll call that office "Athens." It has its own set of AD groups. So for example, if Sparta has a group called 'Sparta Admin,' then Athens has an analogous
    group called 'Athens Admin.' The only difference in the name of the group is that it has the name of the branch office attached to it.
    The permissions get rather complex, with multiple sets applied to the same group to get the desired effect. Whenever a new branch office goes up (which is often), they get a server with this same set of folders, with the same set of permissions applied to
    groups that contain the branch office name as a prefix.
    I hope that makes sense so far.
    So my question is, since it takes quite a while to go through each permission one by one and change the name of the group, for example from 'Sparta Admin' to 'Athens Admin,' can anyone help me come up with a script or something similar I can run that would
    simply ask for the name of the branch office and automatically change the names accordingly, or even create the needed groups with the Branch Office's name if they don't already exist?
    Thanks in advance for any help, and please let me know if this is incredibly confusing and I need to be more clear.

    Hi Stephen,
    Based on your description, I am not sure that we can achieve what we want, but for script, in order to get better help, it's recommended that we ask advice in the following scripting forum.
    The Official Scripting Guys Forum
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Best regards,
    Frank Shen

  • Calling a third-party library from JNI-enabled C++ code

    Hi everyone,
    I have some existing C++ application code that extracts data from a file in a special format (HDF5). This code uses a static library (third party) to decode the file format. I would like to wrap this application code in a JNI wrapper so that I can call the code from Java. So I have a situation like this:
    Java front end -> application code (C++) -> static library (C++)
    I have compiled JNI headers and modified the application code accordingly. I created a shared library by bundling the application code together with the static library (using gcc 3.2.2 on Red Hat Linux 9):
    g++ -shared hdf5_jni.cc -o libhdf5_jni.so -I<include path> -L<static library path> -lhdf5
    (the <static library path> contains the static library libhdf5.a). This creates a shared library which contains the application code and the relevant bits of the static library.
    When I call the Java front end, the shared library (libhdf5_jni.so) is correctly found and accessed. However, I get an UnsatisfiedLinkError which I don't understand:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: <blah>/lib/libhdf5_jni.so: <blah>/lib/libhdf5_jni.so: undefined symbol: _Z4formPKcz
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
    ... etc
    I have no idea what the undefined symbol "_Z4formPKcz" represents. It's not part of the application code or the static library.
    Here's some more info that might help diagnosis:
    1) The problem seems to be due to the approach of having a three-step process (Java code calling bespoke shared library which includes unmodified 3rd-party code). I get an identical error (including the mysterious "_Z4formPKcz" symbol) when trying to do something similar with a different 3rd-party static library.
    2) When I simply have Java code calling C++ code which I have written myself (no calls to static library methods), I have no problems, i.e. there doesn't seem to be a problem with the way I set up the JNI wrappers or the application code, or in the way I create the shared library.
    3) When I simply have C++ code calling the static libraries (i.e. no Java wrapper) I have no problems, i.e. there doesn't seem to be a problem with the application code or the static libraries.
    4) The static libraries were compiled from source using the same compiler that I used to compile the application code.
    5) I'm using J2SDK 1.4.2 on Red Hat Linux 9, although I've tried other versions of the SDK and had the same problem.
    I've done a lot of web searches on the "_Z4formPKcz" symbol and have turned up absolutely nothing (zero Google hits!).
    Any help would be very much appreciated.
    Thanks, Jon

    Thanks chrisswhite,
    I should have mentioned that I tried this too and it didn't solve the problem. You're right though, I should be compiling with -fPIC anyway.
    Jon

  • Kerberos based authentication from AS 10.1.2 to Active Directory 2008

    Hello,
    just a short question: Has anyone achieved to authenticate via kerberos to a Windows 2008 domain?
    Info: We like to continue to use the SSO and Windows Native Authentication feature. It worked with our Windows 2003 domain. But our domainserver was updated and we cannot make a connection from our Oracle application server (10.1.2.0.2) to the new domain via kerberos. The ktpass shows errors (according pType) while creating the sso.keytab. The keytab file is created. The kinit-tool (for testing the keytab file) shows errors again. Also the OPMN log shows during startup an error.
    Any hint would be appreciated,
    regards
    Joerg

    unzip in a new folder and start jdev, it'll ask if you want to copy the configurations from an earlier version. after that you only need to install custom extensions:
    copy all files from old_version_jdev\jdev\lib\ext to new_version_jdev\jdev\lib\ext which are in old_version_jdev\jdev\lib\ext but not in new_version_jdev\jdev\lib\ext
    better to first shut down jdev!
    if everything works in the new version you can delete the old one.
    if you are using an OC4J standalone or ias remember to update the adf version there too!

  • Fiscal Year Variant for non calendar year

    Dear Experts,
    The fiscal year for my client is as follows:
         Start Date     -
         End Date
    Month 1     -
         21-Mar     -
         20-Apr
    Month 2     -
         21-Apr     -
         21-May
    Month 3     -
         22-May     -
         21-Jun
    Month 4     -
         22-Jun     -
         22-Jul
    Month 5     -
         23-Jul     -
         22-Aug
    Month 6     -
         23-Aug     -
         22-Sep
    Month 7     -
         23-Sep     -
         22-Oct
    Month 8     -
         23-Oct     -
         21-Nov
    Month 9     -
         22-Nov     -
         21-Dec
    Month 10     -
         22-Dec     -
         20-Jan
    Month 11     -
         21-Jan     -
         19-Feb
    Month 12     -
         20-Feb     -
         20-Mar
    Accordingly i have created a fiscal year variant with following details:
    Month     -
         Date     -
         Period     -
         Year Shift
    4     -
         20     -
         1     -
         0
    5     -
         21     -
         2     -
         0
    6     -
         21     -
         3     -
         0
    7     -
         22     -
         4     -
         0
    8     -
         22     -
         5     -
         0
    9     -
         22     -
         6     -
         0
    10     -
         22     -
         7     -
         0
    11     -
         21     -
         8     -
         0
    12     -
         21     -
         9     -
         0
    1     -
         31     -
         10     -
         -1
    1     -
         20     -
         10     -
         -1
    2     -
         21     -
         11     -
         -1
    3     -
         20     -
         12     -
         -1
    But when i try to save the above periods for the variant it gives an error as
    "Financial year variant periods T1 incomplete (31.12 missing)".
    Can you help me know where am I going wrong in this?
    Regards
    Amar
    Edited by: Z_Amarendra on Dec 7, 2009 9:52 AM

    Dear Experts,
    Solved the problem myself. Thank you
    Regards
    Amar

  • Control through routine-sales

    Hi,
    Can I control field like VBAK-AUGRU through condition type reqiurement in pricing ?
    My scenario is if one particular condtion type (say ZCM1) is using in credit memo Sales Doc. then a particular order reason should be accepted by system & for anyother it should throw error.
    thanks in advance
    Regrds
    San

    Hi san
    You can use a routine for the condition type for  which the customization is being done.
    You can use the routine and assign to that condition type .
    So you need to give the inputs and the logic to the ABAP'ers and accordingly they will create the routine .
    Regards
    Srinath

Maybe you are looking for

  • Activate Classic PCA

    Hi Gurus, How to Deactivate PCA accounting in ECC6 (the menu path). Need to activate Document splitting Gowsi

  • Difn Betn synchronous and asynchronous procsesing an update

    Hi gurus. Can any body tell me Difn Betn synchronous and asynchronous procsesing an update . Regards , Mahesh

  • Test: NEW soundblaster z DRIVER ( SBZ_CD_L13_1_00_28 )

    creative has launched new SBZ_CD_L13_1_00_28 driver for soundblaster z seris in december 2014..i installed it immedialty with hope more performance improvements.. but testing the new driver was a huge dissapointment for me. my advise is DO NOT INSTAL

  • NO Part1 Exists

    HI For one of Purchase order created EI using J1IEX_C - Capture Incoming Excise , While posting the same in J1EX_P getting below Information message "No Part1 Exists for availing credit in excise invoice BE#889699 2007" Can some one suggest me what's

  • Can external disk added to time capsule be used with time machine?

    I have a 2011 Apple Time Capsule with 2 TB of storage, which I use for Time Machine backups. I would like to add storage, or alternately just use a higher capacity hard drive for Time Machine backups. Can I attach a 3 TB external backup drive to the