Need to create Target substructure if invoice number node has a value.

I only want to create Target substructure if Source node <Invoice Number> has a value and is not blank. Can not use Exists function because <Invoice Number> node is 1..1 so it will always be there but it may be empty. Thank you.

Hi Glenn,
If you are getting the source from idoc and if you dont have invoice number from idoc then you will not at all have the field. So it will not be empty until unless somebody manually sends from we19. So you should not run into those kind of issues.
Anyways you can check both blank and length. So check lenght greater than zero and equal to blank which is a space. It should work.
Regards,
---Satish

Similar Messages

  • Purchased a second iphone need to create an account, however the computer already has an itunes account...How do I create a second  account using one copy of itunes on a computer??

    Purchased a second iphone need to create an account, however the computer already has an itunes account for the first iphone...How do I create a second  account using one copy of itunes on single computer??

    Why do you need a new account?
    Use the same account on both.
    How to use multiple iPods, iPads, or iPhones with one computer

  • Creating  idocs based on invoice number ocurrences

    Hi ,
    I want  to create idocs based on invoice numbers .
    Lets say i have a file coming in from sender system
    Invoice1 material customer value
    Invoice1 materail1 ..........
    imvoice2 material2.....
    invoice2 material1.....
    invoice1 material3..
    Invoice3. material4....
    So for Invoice1 only one Idoc should be created  similarly for invoice 2 which is ocurring twice in the file
    only 1 idoc  should be created
    Let me know how to achieve this ..  by UDF , or by split by value
    please help
    thnx
    Chirdip

    Hi,
      Change the IDOC occurance to 0-unbounded.Export the xsd change the occurance and import it to external definition.
    Map Like below:
    invoice number--removecontext--sort--splitbyvalue(valuechange)--IDOC
    other fields you need to map like below.
    invoice number--removecontext--sortbykey--SplibyValue(Each)---IDOC fields
    source field----removecontext------
    Regards,
    Prakasu.M

  • CIN-Exicse Invoice created but no internal invoice number generated

    Hi all,
    While saving the Excise Invoice, the Excise Duties get updated and  shows that the MODVAT is updated, but no internal invoice number is generated. Hence I am not able to change/display the saved invoice in J1IIN. It shows " No document generated or the document has been archived". Secondly if I check the number range J_1IINTNUM which is for internal number range, it is updated.
    Kindly suggest what may the error be.
    Karthik

    Hi Gautam,
    Thanks for the answer. As I said I have already maintained the number range. Secondly I am being able to issue the output. But I tried changing the number range as you have given, but the outcome is the same. It says 'Document no does not exist or the document must have been archived'
    Is there any way that I can retrive the archived document?
    Note:
    In the T-Code J1IIN when I select the Due List in the Change mode I am being able to see all documents.
    Kindly suggest whether I am getting things jumbled up.
    Karthik.

  • Complex MySQL Query, Grouping By Invoice Number and Adding Multiple Values To Insert Into Database

    I have a table that looks like the above. I need to be able to update values in a database based on an ioID (the invoice number)
    The value I need to add is the hours times the uSalary, however as you will notice above the hours can and well have been added on an ongoing basis. For example:
    smarotti has added 4.5 (0.5 + 4.0) hours for the ioID 14190 (last 2 rows) for a total cost of $143.55
    So what I need is to have the value $143.55 update the record 14190 (ioID) on a new column (userCost)
    So:
    the userID - ddevries did 1 hour worth of work at the rate of $23.20 that needs to be update on the record 8026
    the userID - kmurtha did 20 (.5 + .25 + 6.5 + .25 + 6.5 + 6) hours worth of work $696 (20 * 34.80) that needs to be update on the record 9462
    make sense? anyone have any thoughts on how to go about doing this?
    Thanks
    Vern

    Okay
    assuming you add the column to your table the query would look like the below:
    UPDATE workers
                    INNER JOIN (SELECT
                                                    round(SUM(hours*uSalary),1) AS cost,
                                                    ioID,
                                                    userid
                                            FROM
                                                    workers
                                            GROUP BY ioID, userid ) b
                    ON workers.ioID = b.ioID
            SET workers.userCost=b.cost
    WHERE workers.ioid = b.ioID
    AND     workers.userID = b.userID
    Or if you would just like to query the data:
    SELECT  round(SUM(hours*uSalary),1) AS usercost,ioID,userid
    FROM workers
    GROUP BY ioID, userid

  • Need 2 create the supplementary exc invoice at depots for differential ED

    Dear SAP Experts,
              I've already posted the same issue in SD-Billing forum also. But there are not many views in that forum. So, I'm posting it again in this forum.
             My scenario is our parent Factory will raise a supplementary invoice to Depots for differential rates and create the excise invoice for the same using J1IS. Then, the depot has to capture the same differential duty and the same has to be passed on to the customer during the sales as well as a supplementary excise invoice should be raised for the sales which are already been made from depot in the past through the same mother invoice reference.
    My questions in this regard are:
    1. What could be the Excise Transaction Type at Factory to create supplementary inv using J1IS (I suppose it is OTHR)
    2. How to capture the the same differential excise at depots which needs to be reflected in RG23D entry? (As per my knowledge it is through J1IGA)
    3. If it has to be captured through J1IGA, the problem is system is not allowing to enter the differential duty for which stock has been completed at depot. My requirement is even the stock is finished at depots, we need to capture the differential duty as we would like to raise the supplementary excise inv to the customers who have bought the material.
    4.How to Raise the supplementary excise invoice at depots so that the RG23D entry will be adjusted with the same.
    Please suggest me the right solution for the mentioned requirement asap.
    Thanks in advance,
    BVS.

    Dear Kotesh,
    The process what you are following at Depot is wrong. Imagine, how can you raise excise invoice from depot when stock is not there in RG23D? Or how can you capture supp exc invoice in depot for materials which have alreay been sold.
    The process to raise supp excise inv from factory is via J1IS and your understanding is right.
    Regarding passing on the subsequent excise duty to customer is not possible. And why would you do this.
    As per the excise law, the differential duty is to be paid, when you sell the goods from depot at a higher rate than they were transferred. The government charges this duty because, you transferred at lower cost and paid lower duty but sold the goods to customer at higher rate.
    Considering this case, imagine if you sold the goods from depot at a lower rate than the transfer (means Transferred goods from factory at Higher rate say 20 $ at this you pay excise duty of 0.16 $) If you sell them at 10 $ you still transfer the excise duty of 0.16$ isn't it. In this case wll you collect back the excise duty from the customer???
    The right process is raise a supp exc invoice for differential duty and leave it at this stage. At depot it is not possible to capture and pass duty where the material is sold, and it is not required by law as well.
    Thanks & regards
    Hameed Parvez

  • Creating target field based on input node

    Hi all,
      I'm facing a problem in creating the target node based on input node. See if the input node value is repeated I don't want to create the target field for the second occurrence.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_temp xmlns:ns0="urn:test">
       <row>
          <temp_id>1002</temp_id>
       </row>
       <row>
          <temp_id>1002</temp_id>
       </row>
    </ns0:MT_ItemEvent>
    In the above structure you can see the temp_id is repeated , I want to create only one target node. Plz help me to solve this.

    HI,
    Use the UDF and in that use Vector to create the result list with the values.
    use temp_id as imput and before that remove context
    after the UDF use the Splitbyvalue
    See the below code
    String () a;
    Vector prod = new Vector();
    for (i=0;i<a.length;i++){
    if(!prod.contains(a(i))) prod.add(a(i));
    Collections.sort(prod);
    for(i=0;i<prod.size();i++){
    result.addValue((String) prod.get(i));
    Regards
    Chilla

  • India Localization Invoice Distribution DFF has No Values

    Hi,
    We are implementing India Localization. In AP, while entering Invoices, the Distrbution DFF contains no values.
    This is inspite of creating tax codes, taxes, Threshold setups and selecting the OU.
    Pls suggest why I'm unable to find the Tax ID values in the DFF.
    Thanks in advance
    Regards,
    Satya

    Hi,
    I've figured out what was wrong.
    For some wierd reasons the some of the Triggers relating to India Localisation were disabled.
    Once Enabled , the problem was solved.
    Only then, the Supplier TDS info in Additional Info window (at site level) was populating.
    Thanks
    Satya

  • How to create unique constraint on a col which has duplicate values

    Hi all,
    how can i create a unique constraint on a field which have duplicate vaules with no validate clause.
    My table name is "ACCT"
    Regards
    Message was edited by:
    53637

    Check out following
    SQL>DROP TABLE TEST;
    Table dropped.
    SQL>CREATE TABLE TEST
      2  (
      3     ID          NUMBER
      4    ,NAME        VARCHAR2(30)
      5    ,CITY        VARCHAR2(30)
      6  );
    Table created.
    SQL>INSERT INTO TEST VALUES(1,'Rajesh','Gurgaon');
    1 row created.
    SQL>INSERT INTO TEST VALUES(1,'Rajesh','Gurgaon');
    1 row created.
    SQL>INSERT INTO TEST VALUES(2,'Dinesh','Delhi');
    1 row created.
    SQL>INSERT INTO TEST VALUES(1,'Rajan','Pune');
    1 row created.
    SQL>INSERT INTO TEST VALUES(1,'Rajan','Pune');
    1 row created.
    SQL>COMMIT;
    Commit complete.
    SQL>ALTER TABLE test ADD CONSTRAINTS uk_on_test UNIQUE(ID,NAME,CITY) DEFERRABLE NOVALIDATE ;
    Table altered.
    SQL>ALTER TABLE test
      2  ENABLE NOVALIDATE CONSTRAINT uk_on_test;
    Table altered.
    SQL>INSERT INTO TEST VALUES(1,'Rajesh','Gurgaon');
    INSERT INTO TEST VALUES(1,'Rajesh','Gurgaon')
    ERROR at line 1:
    ORA-00001: unique constraint (AIP.UK_ON_TEST) violatedRegards
    Arun

  • Which BAPI is needed to create an Invoice in SD??

    Hi everyone!
    I hope you all fine. I really need help to find a BAPI that makes the process of creating and registering the invoice number in SD module, also if anyone can tell me how to fill it with information so I can test it, if anybody can help me with this I'll relly appreciate it.
    Thanks for your time.

    HI
    Try with this function module 'BAPI_INCOMINGINVOICE_CREATE' is called to create Invoice.
    For sample code please use the below given link:
    http://www.geocities.com/rmtiwari/Resources/MySolutions/Dev/Integrations.html#7
    Thanks,
    Naga

  • Need exits or badis for populating fax number while creating PO using ME59

    Hi ,
        I need to populate fax number for the OA type vendor in partners tab during PO creation using ME59.
    these  fax numbers are maintained in custom table .
    i was not able to find any exits or badis .
    Please suggest me if there are any exits and badi to populate fax number in purchase order screen
    and also where the fax number is stored after saving PO.
    thanks in advance,
    Srilakshmi

    what is the requirement ?
    Fax number to be entered only for  that particular PO ? or should it be effective for that Vendor's address ?
    In SAP when one enters Vendor number, the address is fetched. When one changes or appends any details in address, new adrnr is created & saved in document header. EKKO-ADRNR
    if it is BDC it will be taken care automatically, but when u r doing it through BAPI then it's bit complecated.  you may have to first see the current address is default vendor address or user has already changed it. it it is default vendor addrnr then you need to create new Address with Fax number & assign in to that PO. if it is modified address for that PO then get ekko-adrnr & modify that address.

  • I need to create a number 0 with / in it but dont see that on my keyboard

    how can I create this code were a number 0 has a / in it don't see it on my keyboard
    forumnotifier

    Provide the name of the program you are using so a Moderator may move this message to the correct program forum
    This Cloud forum is not about help with program problems... a program would be Photoshop or Lighroom or Muse or ???

  • Excise Invoice Number

    Hi Sap Guru
    Can u elobarate explanation regardind  this. I need Can i get the Excise invoice number or Bill Number  in FBL5N open item report without development. If yes/No, Can u guide me how to resolve this.
    Its Urgent,
    Thx in Advance
    Neha

    Hi,
    In Change Layout --> Hidden Fields: Billing Document.
    Best reagrds,
    Amit.
    Note: Also, Column: Document No (Sort it by Type: BL)

  • Creating Target Group from External File

    Hello Experts
    We need to create target group from external file. (That is to say we will have let's say txt file containing BP that belongs to specific target group and we need to assign these BPs to to specific target group in SAP CRM)
    I have searched for it on sdn and found something benefical. I have found BAPI_TARGETGROUP_CREATE, I have checked it but I don't understand how should we use it becuase as far as we understand it just creates target group, we cannot see anything related with Business Partner. How can we relate BPs with the target group we create by this BAPI.
    What should we do, is anyone have previous experience about it? or is there a way to do it without using BAPI.
    thanks it advance
    M.
    Edited by: Mehmet Ergul on Jan 22, 2009 11:19 AM

    Hi,
    You can do this from within the standard Web UI. It's straight out of the box.
    Create a profile set and in there create a target group in the target group assignment block just by entering the description of the target group. Then enter edit mode of this target group and click the button "Import Members". Remeber to mark "Change selected target group" unless you want to create a new target group.
    /Anders

  • Unable to create Target Element error

    Hi Experts,
    I have Source and taget messages as below:
    Target Structure
    MT_Table----
                1:1
    Row--
    0..unbound
    -Field1--
    1.1
    -Field2--
    1.1
    -Field3--
    1.1
    -Field4--
    1.1
    Source is IDOC
    ZMaterial----
    1.1
    IDOC--
    1.1
    -Begin--
    Req
    ---EDIDC40
    Segement---1.1
    Table----
    1.1
    -E1MARAM-1.999
    -SEGMENNT--0..999
    Field1-------0..1
    Field2-------0..1
    I will have multiple IDOCs where I need to generate Multiple rows in a file:
    I am getting an error as below:
    Start of test
    Cannot create target element /ns0:MT_Table/Row[2]/Field1. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD
    I have a condition if SEGMENT-Field1 equals A then substring of SEGMENT-Field2 (first 16 characters).
    Many Thanks
    Rajeev

    I see the Source Message is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <ZMaterial>
    +<IDOC BEGIN = "1">
    +<IDOC BEGIN = "1">
    +<IDOC BEGIN = "1">
    </ZMaterial>
    Dont know how to get multiple rows in a file with multiple IDOCs.
    Any Light please?
    Thanks
    Rajeev

Maybe you are looking for

  • Exchange 2013 SP1 readiness check failing

    Trying to install our first Exchange 2013 SP1 server on Windows 2012 R2 in our datacentre, the readiness check fails with: Error: The Active Directory schema isn't up-to-date, and this user account isn't a member of the 'Schema Admins' and/or 'Enterp

  • How to populate the value of SHUTTLE item from MULTISELECT item

    Hi, I am have following 2 items P1_TEXT1 - multiselect P1_TEXT2 - shuttle I have populated the value of P1_TEXT1(multiselect) and then want to assign the same value to P1_TEXT12 (shuttle) I am using following Javascript function to assign the value o

  • Motion 4 keeps crashing?..

    Just started really getting into the program. I have a barely two-month-old MacBook Pro with lots of memory space on it. Here's what happens: I open the program. I start a new project. I choose what format I want. Then it dies. Any advice?

  • Nikno D300 14 bit RAW files do not open from ACR dialogue

    This may be more of a Photoshop question rather than an ACR question, but has anybody else using the new D300 experienced a problem opening 14 bit RAW images? I can work on them and make adjustments in the ACR 4.3.1 dialogue, but when I click "open i

  • CIE chromacity graph in labview

    Has anyone ever implemented CIE chromacity graph in labview. Please let me know how to approach this problem.