Script for importing item categories

HELLO,
Can anyone help me with a script that I can use to import item categories and inventory items into their various interface table.
Thanks in advance.

It is one of the simpler interfaces. All you need to do is insert records into the mtl_item_categories_interface and run the Import Item Category Assignment program.
insert into mtl_item_Categories_interface
(process_flag, category_set_name,ORGANIZATION_CODE,ITEM_NUMBER,TRANSACTION_TYPE,SET_PROCESS_ID
--,category_id
,category_name
) values
(1,'PFPL','999','SG-PUR1','CREATE',67890
--,582
,'9999'
)Hope this helps,
Sandeep Gandhi

Similar Messages

  • GR for imported items

    Hi,
    How to make make GR for imported items? Is it the same process as it is done in MIGO for domestic consignments or it does have some other aspects also??
    Regards,

    Hi,
    The process of making GR for Imported material is same as the process of domestic material GR (that is through transaction MIGO). The only difference is that you have to post the clearing agent's bill (before posting GRN) in the system through transaction MIRO. Here, enter your import PO number & select option Planned Delivery Cost. Book the invoice of the Clearing Agent. Then post the GRN with reference to the invoice you booked in the system for the planned delivery cost.
    Regards,
    Prashant
    - Reward Points if answer is helpful

  • Automate script for import data

    automate script for importing data to the cube from txt files.
    Ex: - I have below 2 files for import
    aaaa.txt
    bbbb.txt
    For the above simply i can write esscmd or Maxl script for importing files .
    Esscmd :
    IMPORT 3 "\aaaa.txt" 4 "N";
    IMPORT 3 "\bbbb.txt" 4 "N"
    my question , suppose if some more files added to the existing files, for example cccc.txt got added ,how can i write a code for this?

    Well I guess this will do
    dataDir=" " # Give the data directory path here
    maxlFile="maxl1.msh"
    cd $dataDir
    for file in `ls *` ;
    do
    maxlStmt="import database sample.basic data from data_file '$file' using rules_file 'xxx.rul'
    on error write to 'xxx.log';";
    printf $maxlStmt >> $maxlFile
    done
    ls * is lists all the files in the directory. If you want to be more specific and if you yhink tat your data folder may contain more files then you can use "ls *.txt" if your file extension to load is txt.
    Well I haven't tested this as I am on vacation...So you can just follow the similar way.
    This is only for the 3rd point which you said

  • J1iex for imported item

    Hi friend,
    i am having a problem while posting the excise invoice for imported item.
    previously the entry was correct. and cenvat clearing account (CVD) (2401009) was being picked up at the time of J1iex .
    then somebody interfered in the system and change d to other G/l (2401004). as a result last month all entry went wrong in other G/l.
    again i corrected the settings for ETT-GRPO and Subtran type IP. again system is picking the same G/l 2401004.
    can any body tell me any reason for that, or some other ETT is responsible for that.

    Hello,
    Check CVD G/L account in Company code settings and the same G/L account is available in "G/L accounts per excise transaction"
    Here if you set the correct G/L account then system will take correct G/L account while J1IEX if subtransaction type IP
    Regards
    Mahesh Naik

  • Ability to modify Account Assignment Category for Service Item Categories

    Dear experts,
    Our customer has a requirement to modify the account assignment category when the item category is set to "D" services on a PR and PO line item. This scenario is specific to indirect procurement scenarios in SAP ECC 6.0 MM.
    End users may potentially create a PR against a service item category with an incorrect account assignment category. These PRs are created using free form text. No service master exists in these scenarios. During the approval process or during PO creation, an approver or the buyer may need to correct the account assignment category. The account assignment category is "display" only and cannot be modified when the item category is set to "D". The user must delete the line item and create a new line item with the correct account assignment category. The copy function cannot be used because the account assignment copies from the existing line and cannot be modified.
    Any recommendations to this issue using standard SAP configuration solutions?
    Thanks,
    Jennifer

    Item Category to Account Assignment Category combination is already configured. For Service Item Category, we have three account assignment categories configured. All three categories are valid in different scenarios. Sometimes the user selects the incorrect account assignment category (out of the three available) depending on the business scenario. PT9F configuration is already set to Account Assignment category "optional". However, the account assignment category still cannot be modified on the PR when the item category is "D" service.
    Any other recommendations?

  • Making condition type unmandatory for free item categories

    Hi all,
    I've created a form routine in RV64ANNN the requirement is when we create or change sales order....we have few item categories were in we need to make a concern condition type unmandtory if items with those item category is created...else if make the condition type mandatory.........example...............this is done for only one pricing procedure......in V/08 tcode and there i've assinged our routine number for that condition type which needs to be changed dynamically.
    say we have Sales doc type ZXXX for this sales doc type lets say we have item category ZITE1 and ZITE2.......and lets say the Condition type is ZCOND(whether the condition type is required or not is done by checking in tcode V/08 and this is always checked).now when the user enters creates a item 1 with item category ZITE1 and leaves the amount field blank it will however ask to enter the amount.......now here is the problem............if user creates second line item with item category ZITE2 its againing asking to enter the amount for that condition type.............this is happing even after i've desinged the below code.............
    DATA: l_kobli TYPE kobli.
    IF komk-kalsm = 'ZINFAM'.
    *Sale Doc ZORA
    IF komk-auart = 'ZORA'.
    IF komp-pstyv = 'ZTAN'.
    l_kobli = 'X'.
    ELSEIF komp-pstyv = 'ZZNN' OR
    komp-pstyv = 'REN'.
    l_kobli = ' '.
    ENDIF.
    *Sale Doc ZORB
    ELSEIF komk-auart = 'ZORB'.
    IF komp-pstyv = 'TAN'.
    l_kobli = 'X'.
    ELSEIF komp-pstyv = 'REN' OR
    komp-pstyv = 'TANN'.
    l_kobli = ' '.
    ENDIF.
    *Sale Doc ZRE
    ELSEIF komk-auart = 'ZRE'.
    IF komp-pstyv = 'REN' OR
    komp-pstyv = 'RENN'.
    l_kobli = ' '.
    ENDIF.
    *Sales Doc ZCOR
    ELSEIF komk-auart = 'ZCOR'.
    IF komp-pstyv = 'KRN' OR
    komp-pstyv = 'RENN'.
    l_kobli = ' '.
    ENDIF.
    *Sales Doc ZCI
    ELSEIF komk-auart = 'ZCI'.
    IF komp-pstyv = 'KEN'
    l_kobli = 'X'.
    ELSEIF komp-pstyv = 'TANN'.
    l_kobli = ' '.
    ENDIF.
    ENDIF. "Sales Doc Check
    READ TABLE xt683s WITH KEY kvewe = 'A'
    kappl = 'V'
    kalsm = 'ZINFAM'
    kschl = 'ZPOR'.
    IF sy-subrc = 0 .
    xt683s-kobli = l_kobli.
    MODIFY xt683s INDEX sy-tabix.
    UPDATE t683s SET kobli = l_kobli WHERE
    kvewe = 'A' AND
    kappl = 'V' AND
    kalsm = 'ZINFAM' AND
    kschl = 'ZPOR'.
    ENDIF.
    ENDIF. "Pricing Procedure check
    CLEAR: l_kobli.
    The table which has this mandatory checked is T683S and the field is KOBLI........i've debugged it the routine come up well with item category ZITE1 and the table gets updated with KOBLI = 'X' but when i navigate the screen in VA02 or in VA01 to second item created with item category ZITE2...the table logic does'nt goes and updates the above table............Suggest me with some solution........
    Thanks in Advance.....

    I've resolved it by myself

  • Sap script for Delivery(item wise)

    Dear ABAPer's ,
        I am working on a SAP Script for Delivery(<b>Item wise</b>).The requirement is I need a print out for each line item in a delivery.I am using tcode VL71 for taking prinout.
    I have modified the routine <b>RVADDN01</b> according to my requirements.But the problem is i am not able to capture
    which line item is selected.Whichever lineitem i select it is giving the details of all the line items.
    Am I using the correct routine or someother routine is available for item wise details.
    Please clarify.

    hi SAP ,
    u have selected right one , Just Debug the script from which text Element u are getting the data into Form, then check ur Logic.
    Regards
    Prabhu

  • Play count for imported items

    Here's a new one for me...
    Starting with this latest version, when I burn a CD, it automatically marks the Play Count for those items at 1. Anyone else encounter this? Is there a fix?

    i've noticed that sometimes the play count does not increase for songs, and the only workaround i've seen that works is to do a second sync after the first one completes.

  • Capturing 4% SAD for imported items cleared from factory

    Experts please suggest a solution.
    In case of inputs and capital goods cleared as such to vendors or on sale, ED is required to be paid equal to cenvat claimed. In case of imported items, the 4% SAD claimed needs also to be reversed.

    Hello,
    In such scenarios the process to be followed would be as follows.
    Sales Order, Delivery, Proforma  Invoice (VF01), Excise Invoice (J1IIN), and Finally Commercial Invoice (VF01).
    Here while creating Excise Invoice select item s one by one and execute the option of Get Excise Invoice. now you can select the appropriate Incoming Excise invoice.
    Finally the Excise values would flow to the commercial invoice created.
    By this approach your requirement might get fulfilled.
    regards
    Gowri Shankar

  • Using Echo Command in PowerShell Script for Configuration Item

    Hello All,
    Before you tell me to post my PowerShell question to the PowerShell Forum, please know that the PowerShell portion of my task works just fine. It is the SCCM portion of my task that keeps failing, so that is why I am here. To give some background...
    There are two servers in our SCCM test environment. Both the SCCM server and SQL DB server are 2012, patched and updated.
    Test servers in my Device Collection being used for running Baselines and Reports against are 2008R2 and 2012, patched and updated.
    I have created a Configuration Item that checks to see if the FTP Server Role Feature has been installed on a 2008 or 2012 server. To do the check, I am using the following PowerShell script:
    (get-windowsfeature -Name Web-Ftp-Server).Installed
    When I log into my 2008R2 and 2012 test servers, and run this command directly on the server, it will return a "True" if the FTP Server Role Feature is installed on either server, and a "False" if it is not installed. Basically,
    it works as advertised.
    When I setup my Configuration Item and then deploy my Baseline, or run a report against my device collection of test servers, SCCM will return a correct response (True or False) for the 2012 test server, but throws the following error for the 2008R2
    server:
    0x87df00329 application requirement evaluation or detection failed
    Google searches for this have not been very helpful.
    Now, when I created the Configuration Item and referenced PowerShell, the configuration screen has the following note:
    "Specify the script to find and return the value to be assessed for compliance on client devices. Use the echo command to return the script value to Configuration Manager."
    Since I did not include an echo command in my PowerShell script above, I figured that was my problem, so I did the following:
    Logging onto both of my test servers (2008R2 & 2012) I was able to successfully run the following PowerShell commands and get the expected responses of True or False:
    (get-windowsfeature -Name Web-Ftp-Server).Installed | echo
    (get-windowsfeature -Name Web-Ftp-Server).Installed | write-output (http://technet.microsoft.com/en-us/library/hh849921.aspx)
    (get-windowsfeature -Name Web-Ftp-Server).Installed | write-host (http://technet.microsoft.com/en-us/library/ee177031.aspx)
    However, when I use any of these PowerShell commands in my Configuration Item, NEITHER of my test servers returns a response to the SCCM server.
    When I check the report, both servers show as "Unknown" and when I click on the number 2 (as in 2 servers unknown), the following report page (List of unknown assets for a configuration baseline) has absolutely no data/information at all.
    So...I am at a loss.
    SCCM tells me to use an echo command to return a script value to Configuration Manager. The PowerShell scripts above, with the various echo related commands, work just fine on the servers themselves, but they return no information when run via SCCM.
    What am I missing?
    Any help will be appreciated.
    Thanks in advance for your time.

    Sorry for my ignorance, but I don't understand. (I forgot to mention that I am new at both PowerShell and SCCM.)
    After I change the PowerShell script to add the echo/write-output/write-host cmdlet, I open the ConFig Item and "Clear" the PowerShell script and then re-add it. When I do that, it correctly shows the change in the ConFig Item.
    Next I open the Baseline, then open the ConFig Item within the Baseline to make sure the change is reflected there as well, which it is.
    I then deploy the Baseline to my Device Collection. After that, I run a report against the Baseline and Device Collection and it returns the "Unknown" result.
    If I open the PowerShell script and remove the echo/write-output/write-host cmdlet, then go through the rest of the process of updating and reporting, the result it returns changes, showing one server in compliance and the other server out of compliance,
    which leads me to think that all changes have taken correctly.
    Does that sound right? If I manually deploy the Baseline, is that the same as the client retrieving policies from the management point?
    Sorry to be so thick but I'm learning as I go.
    Thanks again for your help.

  • I need a script for importing a PDF into IDCS3

    I used the script that came with InDesign... specifically PlaceMultipagePDF.jsx...
    And that worked well.. except for the fact that we just found out that this large PDF has oversize pages (larger than 8.5 x 11) and that plugin is not shrinking to fit. I had a plugin for IDCS2 that would give me import options.. but this PlaceMultipagePDF.jsx doesnt seem to have any options...

    There's a script in the InDesign Interchange site called PDF Multipage Import MAC that will do it, if you know the percentage that you want the PDF scaled to.
    It's my Martin Sretr. It's written for CS, but I think you know how to deal with that, Chris.

  • Script for importing files, distributing them to layers, and cutting length?

    Hi, is it possible to import a sequentially numbered set of .psd files and then automatically distribute them to their individual layers and cut them each to a specified length of say 4 seconds, timing them to be visible one after another?
    I'm working with a series of storyboard panels and would just like to lay them out in After Effects' timeline sequentially, so they would be visible one after the other...is there a script or action to automate this?  Thanks

    I'm working with a series of storyboard panels and would just like to lay them out in After Effects' timeline sequentially, so they would be visible one after the other...is there a script or action to automate this?  Thanks
    hi
    try >Animation>keyframe assistant>sequence layers in AE.
    and cut them each to a specified length of say 4 seconds, timing them to be visible one after another?
    this script might help http://www.redefinery.com/ae/view.php?item=rd_CompSetter

  • Schedule Task within script for import module

    Hi,
    Unable to powershell script in Scheduled task. I have added the import AD module in the powershell script.Every time I need to login into Windows 2008 R2 server and then the script runs successfully.. if I log off the server it doesn't runs..
    Do you have any solutions for without login on server the script runs sucessfully
    Regards
    KunalR

    Hi,
    We can't help you without seeing your script.
    Also, post exactly how you have the scheduled task set up.
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Needed:  Script for importing Photoshop layers, converting to shape layers

    I've uncovered what seems to be a "bug" in After Effects CS5.  When I import photoshop artwork in layers, and then try to apply effects to an individual layer, such as a color change, a drop shadow, or pretty much anything including puppets, when I later try to render the movie, it crashes.
    My solution has been to laborously go through and convert any layer where I need to apply effects into an AE shape layer, copy the mask over, etc.  Its not much fun, but it does solve the bug.
    I know this could be done with a script, but I don't have the chops or the time to write it.
    Has anybody else written such a script?
    In essence, it needs to:
    1.  import a Photoshop file in layers.
    2.  select each layer in the file and
    3. create an AE layer
    4.copy the mask from the PS layer and
    5. paste it onto the AE layer.
    6. keeping the same registration and
    7. keeping the color of the PS layer.
    Easy, huh?  For somebody who knows what they're doing, which doesn't include me.....
    :<)McFrisco

    Wouldn't it be just more efficient if you provided one of your crashing PSDs along with the AE project so we can check and verify? If you contact me off-forum I can assure you confidentiality and even provide you with an upload location. I even looked up your otehr threads, but I feel we never really reached a point where we could make out something definite, so rather than trying to fix things the hard way, it may make more sense to let someone take a look. This may be something trivial, after all and be perfectly fixable by doing something differently...
    Mylenium

  • Automated scripts for importing & sharing on Mobileme?

    How would I go about writing a script to automate the following process :
    1) (Trigger for script): I insert my SDHC card from my camcorder into my iMac card reader.
    2) Launches iMovie and imports all clips as new event.
    3) Creates a single project by including all of the events just imported.
    4) Shares the project on Mobileme.
    Currently I'm only managing to view, compile and share movies of the kids when I get (a very rare!) few hours at the weekend. If I could just pop the card into the reader on my way out to work in the morning it would transform my usability of iMovie and mobile me, as I could then view and share the 10-15mins of precious footage I took the night before.
    Many thanks,
    D

    Thanks for info.
    The work around I'm using at the moment is to plug in the card in the morning, then access my Mac remotely using Jaadu VNC via my iPhone to do the import and publishing.
    Does the job, although a little more cumbersome and need reliable 3G / WIFI connection.

Maybe you are looking for

  • Acrobat 9 Pro Extended crashes when trying to distribute form

    Hi. I am experiencing an issue with Adobe Acrobat 9 Pro Extended on Windows XP Pro SP3 32-bit. I have created a pdf file derived from an html and css file. The pdf file comes out perfectly with form fields automatically detected, etc. However, when I

  • How to use opus codec in pjsip in ios ?

    how to use opus codec in pjsip in ios ?

  • FM for download in ECC

    Hi Experts, Is there any FM available for downloading from desktop to internal table <b>which takes filename in the runtime?</b> i don't want to give value for filename parameter...Just like 'DOWNLOAD' in lower versions Regards

  • ODI10g to ODI11g migration

    Hi, I want to migrate ODI10g to ODI11g. I am using ODI 10.1.3.5 version & database 11.1.0.6. I want to migrate this with ODI 11.1.1.3 and DB 11.1.0.7 version. I tried to migrate with the help provided by oracle. But i am facing issue. I have followed

  • LSMW - Error in Inventory - Create batch input session

    Hello good day. I'm trying to create a batch input session for inventory upload (Standard Batch Input program - RM07MMBL) and when I select the Name of logical file = "MM_INVENTORY_MANAGEMENT_GOODS_MOVEMENT" and press F8, the following error occurs: